aboutsummaryrefslogtreecommitdiff
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-07-22 18:31:36 +0200
committerGitHub <noreply@github.com>2016-07-22 18:31:36 +0200
commitab5d1df7cb2b932b0eeb0d6c478d75e9412881bd (patch)
tree438e6c7a9c9a6082029a283937ded012cdf77a54 /src/raylib.h
parentc482f37dfde9343ee1cc315153dcef80254c7a0b (diff)
parent7921d85dc83483f039813b58366c9ea4b5db3d75 (diff)
downloadraylib-ab5d1df7cb2b932b0eeb0d6c478d75e9412881bd.tar.gz
raylib-ab5d1df7cb2b932b0eeb0d6c478d75e9412881bd.zip
Merge pull request #149 from raysan5/master
Merge OSX changes into develop branch
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