mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed build on various platforms
This commit is contained in:
parent
77000ff8cb
commit
37696150e2
@ -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
|
/* Many of SDL's features require _GNU_SOURCE on various platforms */
|
||||||
You can turn this off if necessary by using -D_GNU_SOURCE=0
|
|
||||||
*/
|
|
||||||
#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"
|
||||||
|
Loading…
Reference in New Issue
Block a user