Commit 37696150e2dfab68c62dd3ca0c85de2fe8cb604c

Sam Lantinga 2016-11-11T13:47:40

Fixed build on various platforms

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/SDL_internal.h b/src/SDL_internal.h
index e3083fe..026ebb0 100644
--- a/src/SDL_internal.h
+++ b/src/SDL_internal.h
@@ -21,13 +21,9 @@
 #ifndef _SDL_internal_h
 #define _SDL_internal_h
 
-/* Many of SDL's features require _GNU_SOURCE on various platforms
-   You can turn this off if necessary by using -D_GNU_SOURCE=0
- */
+/* Many of SDL's features require _GNU_SOURCE on various platforms */
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
-#elif !_GNU_SOURCE
-#undef _GNU_SOURCE
 #endif
 
 #include "dynapi/SDL_dynapi.h"