(svn r15275) -Fix: SDL adds _GNU_SOURCE to the defined macros even when the compiler doesn't provide the functions promised when that define exists...
This commit is contained in:
@@ -145,11 +145,6 @@
|
||||
#include <malloc.h> // alloca()
|
||||
#endif
|
||||
|
||||
#if defined(__MINGW32__) && defined(_GNU_SOURCE)
|
||||
/* For some weird reasons, SDL defines _GNU_SOURCE */
|
||||
#undef _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#if defined(WIN32)
|
||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user