OS X comaptiblity changes and compiled library

This commit is contained in:
sol-prog
2016-07-22 11:55:04 -04:00
parent ab0d19f356
commit 32a671b9da
5 changed files with 24 additions and 14 deletions

View File

@@ -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