OS X comaptiblity changes and compiled library
This commit is contained in:
parent
ab0d19f356
commit
32a671b9da
5 changed files with 24 additions and 14 deletions
10
src/raylib.h
10
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue