소스 검색

Fixed build on various platforms

Sam Lantinga 9 년 전
부모
커밋
37696150e2
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      src/SDL_internal.h

+ 1 - 5
src/SDL_internal.h

@@ -21,13 +21,9 @@
 #ifndef _SDL_internal_h
 #ifndef _SDL_internal_h
 #define _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
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #define _GNU_SOURCE
-#elif !_GNU_SOURCE
-#undef _GNU_SOURCE
 #endif
 #endif
 
 
 #include "dynapi/SDL_dynapi.h"
 #include "dynapi/SDL_dynapi.h"