Parcourir la source

Some setups need _GNU_SOURCE to make LLONG_MAX available (thanks, Ozkan!).

Fixes Bugzilla #2721.
Ryan C. Gordon il y a 10 ans
Parent
commit
2e2b84fb32
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/test/SDL_test_fuzzer.c

+ 1 - 0
src/test/SDL_test_fuzzer.c

@@ -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>