src/stdafx.h
changeset 9997 d858e88e871a
parent 9470 08424e2e79e4
child 10308 72ffe5505a38
equal deleted inserted replaced
9996:fceaf224b2f0 9997:d858e88e871a
   143 
   143 
   144 #if defined(__MINGW32__) || defined(__CYGWIN__)
   144 #if defined(__MINGW32__) || defined(__CYGWIN__)
   145 	#include <malloc.h> // alloca()
   145 	#include <malloc.h> // alloca()
   146 #endif
   146 #endif
   147 
   147 
       
   148 #if defined(__MINGW32__) && defined(_GNU_SOURCE)
       
   149 	/* For some weird reasons, SDL defines _GNU_SOURCE */
       
   150 	#undef _GNU_SOURCE
       
   151 #endif
       
   152 
   148 #if defined(WIN32)
   153 #if defined(WIN32)
   149 	#define WIN32_LEAN_AND_MEAN     // Exclude rarely-used stuff from Windows headers
   154 	#define WIN32_LEAN_AND_MEAN     // Exclude rarely-used stuff from Windows headers
   150 #endif
   155 #endif
   151 
   156 
   152 /* Stuff for MSVC */
   157 /* Stuff for MSVC */