Some setups need _GNU_SOURCE to make LLONG_MAX available (thanks, Ozkan!).
authorRyan C. Gordon <icculus@icculus.org>
Tue, 26 May 2015 16:31:11 -0400
changeset 9635 564b57497f2b
parent 9634 7e843b8b8301
child 9636 ac8cd6c6d966
Some setups need _GNU_SOURCE to make LLONG_MAX available (thanks, Ozkan!). Fixes Bugzilla #2721.
src/test/SDL_test_fuzzer.c
--- a/src/test/SDL_test_fuzzer.c	Tue May 26 16:25:22 2015 -0400
+++ b/src/test/SDL_test_fuzzer.c	Tue May 26 16:31:11 2015 -0400
@@ -34,6 +34,7 @@
 #define UINT32_MAX  ~(Uint32)0
 #define UINT64_MAX  ~(Uint64)0
 #else
+#define _GNU_SOURCE
 #include <stdint.h>
 #endif
 #include <stdio.h>