mirror of https://github.com/libsdl-org/SDL
define SDL_DEFINE_STDBOOL for gcc < 3
This commit is contained in:
parent
95c3ee77c1
commit
ff90570a3c
|
@ -38,6 +38,10 @@
|
|||
#if defined(_MSC_VER) && (_MSC_VER < 1910)
|
||||
#define SDL_DEFINE_STDBOOL
|
||||
#endif
|
||||
/* gcc-2.95 had non-standard stdbool.h */
|
||||
#if defined(__GNUC__) && (__GNUC__ < 3)
|
||||
#define SDL_DEFINE_STDBOOL
|
||||
#endif
|
||||
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
#include <inttypes.h>
|
||||
|
|
Loading…
Reference in New Issue