Corrected issue with OpenAL being 'keg only' on OSX

Also reviewed issue with stdbool when compiling with clang
This commit is contained in:
raysan5
2017-02-11 23:34:41 +01:00
parent afcd748fdf
commit 05f039f85f
4 changed files with 14 additions and 14 deletions

View File

@@ -296,13 +296,9 @@
//----------------------------------------------------------------------------------
#ifndef __cplusplus
// Boolean type
#ifndef __APPLE__
#if !defined(_STDBOOL_H)
typedef enum { false, true } bool;
#define _STDBOOL_H
#endif
#else
#include <stdbool.h>
#if !defined(_STDBOOL_H)
typedef enum { false, true } bool;
#define _STDBOOL_H
#endif
#endif