diff options
| author | Ray <raysan5@gmail.com> | 2016-07-22 18:31:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-22 18:31:36 +0200 |
| commit | ab5d1df7cb2b932b0eeb0d6c478d75e9412881bd (patch) | |
| tree | 438e6c7a9c9a6082029a283937ded012cdf77a54 /src/raylib.h | |
| parent | c482f37dfde9343ee1cc315153dcef80254c7a0b (diff) | |
| parent | 7921d85dc83483f039813b58366c9ea4b5db3d75 (diff) | |
| download | raylib-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.h | 10 |
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 |
