aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 63a2b21f..bd624d9d 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;