mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 22:38:14 +00:00
OS X comaptiblity changes and compiled library
This commit is contained in:
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
|
||||
|
||||
|
Reference in New Issue
Block a user