mirror of https://github.com/encounter/SDL.git
Some setups need _GNU_SOURCE to make LLONG_MAX available (thanks, Ozkan!).
Fixes Bugzilla #2721.
This commit is contained in:
parent
a21672c893
commit
2e2b84fb32
|
@ -34,6 +34,7 @@
|
||||||
#define UINT32_MAX ~(Uint32)0
|
#define UINT32_MAX ~(Uint32)0
|
||||||
#define UINT64_MAX ~(Uint64)0
|
#define UINT64_MAX ~(Uint64)0
|
||||||
#else
|
#else
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in New Issue