aboutsummaryrefslogtreecommitdiff
path: root/src/raylib.h
diff options
context:
space:
mode:
authorConstantine Tarasenkov <iamvfx@gmail.com>2015-02-03 00:06:50 +0300
committerConstantine Tarasenkov <iamvfx@gmail.com>2015-02-03 00:06:50 +0300
commitab12193f10575d8375839eed35c9bc51ce6054b7 (patch)
tree2651db35d17b0991e67460dbb5f302bb8556ebf7 /src/raylib.h
parentb926765ce009e102cad7c597a3cbae9a9bc15b47 (diff)
downloadraylib-ab12193f10575d8375839eed35c9bc51ce6054b7.tar.gz
raylib-ab12193f10575d8375839eed35c9bc51ce6054b7.zip
Fixes for C++
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 6ee78226..1be3f9a6 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -178,8 +178,10 @@
// Types and Structures Definition
//----------------------------------------------------------------------------------
+#ifndef __cplusplus
// Boolean type
typedef enum { false, true } bool;
+#endif
// byte type
typedef unsigned char byte;