summaryrefslogtreecommitdiff
path: root/include/SDL_platform.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2013-07-21 23:01:01 -0700
committerSam Lantinga <slouken@libsdl.org>2013-07-21 23:01:01 -0700
commita55ab1aa6e9676d661a03e303bd1f91730b0b21d (patch)
treea2a82f0b6529bfd2eee0ee38e4ab9dc1964d3c5b /include/SDL_platform.h
parentf7aa2b7d997d1c4505311b16ea45b84347e841ef (diff)
downloadsdl-a55ab1aa6e9676d661a03e303bd1f91730b0b21d.tar.gz
Fixed building with cygwin
Note that building with cygwin gcc results in a DLL that depends on cygwin1.dll
Diffstat (limited to 'include/SDL_platform.h')
-rw-r--r--include/SDL_platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_platform.h b/include/SDL_platform.h
index 77ee437cb..f4f23c41a 100644
--- a/include/SDL_platform.h
+++ b/include/SDL_platform.h
@@ -114,7 +114,7 @@
#undef __SOLARIS__
#define __SOLARIS__ 1
#endif
-#if defined(WIN32) || defined(_WIN32)
+#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
#undef __WIN32__
#define __WIN32__ 1
#endif