src/SDL_internal.h
changeset 10607 264f6495d712
parent 10604 27d0fb08d755
child 10638 d11daa346140
equal deleted inserted replaced
10606:c7209688838b 10607:264f6495d712
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #ifndef _SDL_internal_h
    21 #ifndef _SDL_internal_h
    22 #define _SDL_internal_h
    22 #define _SDL_internal_h
    23 
    23 
    24 /* Many of SDL's features require _GNU_SOURCE on various platforms
    24 /* Many of SDL's features require _GNU_SOURCE on various platforms */
    25    You can turn this off if necessary by using -D_GNU_SOURCE=0
       
    26  */
       
    27 #ifndef _GNU_SOURCE
    25 #ifndef _GNU_SOURCE
    28 #define _GNU_SOURCE
    26 #define _GNU_SOURCE
    29 #elif !_GNU_SOURCE
       
    30 #undef _GNU_SOURCE
       
    31 #endif
    27 #endif
    32 
    28 
    33 #include "dynapi/SDL_dynapi.h"
    29 #include "dynapi/SDL_dynapi.h"
    34 
    30 
    35 #if SDL_DYNAMIC_API
    31 #if SDL_DYNAMIC_API