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 9635564b57497f2b
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
     1.1 --- a/src/test/SDL_test_fuzzer.c	Tue May 26 16:25:22 2015 -0400
     1.2 +++ b/src/test/SDL_test_fuzzer.c	Tue May 26 16:31:11 2015 -0400
     1.3 @@ -34,6 +34,7 @@
     1.4  #define UINT32_MAX  ~(Uint32)0
     1.5  #define UINT64_MAX  ~(Uint64)0
     1.6  #else
     1.7 +#define _GNU_SOURCE
     1.8  #include <stdint.h>
     1.9  #endif
    1.10  #include <stdio.h>