diff options
| author | Ray <raysan5@gmail.com> | 2016-07-22 18:30:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-22 18:30:23 +0200 |
| commit | 7921d85dc83483f039813b58366c9ea4b5db3d75 (patch) | |
| tree | 438e6c7a9c9a6082029a283937ded012cdf77a54 /src/raylib.h | |
| parent | ab0d19f356dc6aadff11ab4034880c8759315000 (diff) | |
| parent | 32a671b9da172a5e8405bf6da916c53fc748c126 (diff) | |
| download | raylib-7921d85dc83483f039813b58366c9ea4b5db3d75.tar.gz raylib-7921d85dc83483f039813b58366c9ea4b5db3d75.zip | |
Merge pull request #148 from sol-prog/master
OS X compatiblity changes and compiled library
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 |
