summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-25 22:51:59 +0000
committerrubidium <rubidium@openttd.org>2009-01-25 22:51:59 +0000
commit450b9b79009014c108afb633a207b444ccb3600b (patch)
tree8b41877895ee11ade1af2ca4bf09d5060aad47b0 /src
parent562299d8094d760858c817fb0a122bbb2beda50d (diff)
downloadopenttd-450b9b79009014c108afb633a207b444ccb3600b.tar.xz
(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...
Diffstat (limited to 'src')
-rw-r--r--src/stdafx.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 99595ffd7..97785e0be 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -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