summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-12-19 22:02:52 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-29 04:04:53 +0200
commitc46bd9a252d8363c0c88e84f29d2095795481c35 (patch)
tree253c36ffc245ca3ce5a6c486e99d3b5dc2df434f /osdep
parentb11e69b22a23116f795e5dbb8b5d63bbef1047c5 (diff)
downloadmpv-c46bd9a252d8363c0c88e84f29d2095795481c35.tar.bz2
mpv-c46bd9a252d8363c0c88e84f29d2095795481c35.tar.xz
build: cygwin: don't rely on _WIN32 being defined
configure: Compilation fixes for current Cygwin git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32724 b3059339-0415-0410-9bf9-f77b7e298cf2 Do not #define _WIN32 on the command line for Cygwin. Newer Cygwin versions no longer do this and hopefully we should be able to survive without this hack as well. This change necessitates adapting two #ifdefs in the MPlayer codebase. It is committed untested as I do not have access to a Cygwin system. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32763 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-rw-r--r--osdep/priority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/priority.c b/osdep/priority.c
index c7c5a1f797..0803a3299e 100644
--- a/osdep/priority.c
+++ b/osdep/priority.c
@@ -22,7 +22,7 @@
#include "osdep.h"
-#ifdef _WIN32
+#if defined(__MINGW32__) || defined(__CYGWIN__)
#include <windows.h>
#endif