aboutsummaryrefslogtreecommitdiff
path: root/src/raylib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 19c67712..fee6aa91 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -268,9 +268,13 @@
//----------------------------------------------------------------------------------
#ifndef __cplusplus
// Boolean type
- #if !defined(_STDBOOL_H)
- typedef enum { false, true } bool;
- #define _STDBOOL_H
+ #ifndef __APPLE__
+ #if !defined(_STDBOOL_H)
+ typedef enum { false, true } bool;
+ #define _STDBOOL_H
+ #endif
+ #else
+ #include <stdbool.h>
#endif
#endif