Skip to content

Commit

Permalink
Fixed build on various platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 11, 2016
1 parent 77000ff commit 3769615
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/SDL_internal.h
Expand Up @@ -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"
Expand Down

0 comments on commit 3769615

Please sign in to comment.