aboutsummaryrefslogtreecommitdiff
path: root/src/raylib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 456f427d..59266a0c 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -261,8 +261,9 @@
//----------------------------------------------------------------------------------
#ifndef __cplusplus
// Boolean type
- #ifndef true
+ #if !defined(_STDBOOL_H)
typedef enum { false, true } bool;
+ #define _STDBOOL_H
#endif
#endif