diff osdep/priority.c @ 32676:db882cd69776

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.
author diego
date Thu, 06 Jan 2011 12:42:59 +0000
parents 24c1cedb1de2
children 3d7ee643b110
line wrap: on
line diff
--- a/osdep/priority.c	Thu Jan 06 12:25:33 2011 +0000
+++ b/osdep/priority.c	Thu Jan 06 12:42:59 2011 +0000
@@ -22,7 +22,7 @@
 
 #include "osdep.h"
 
-#ifdef _WIN32
+#if defined(__MINGW32__) || defined(__CYGWIN__)
 #include <windows.h>
 #endif