[MPlayer-cvslog] r18935 - trunk/Gui/win32/gui.c

reimar subversion at mplayerhq.hu
Fri Jul 7 13:22:25 CEST 2006


Author: reimar
Date: Fri Jul  7 13:22:24 2006
New Revision: 18935

Modified:
   trunk/Gui/win32/gui.c

Log:
Some older MinGW versions have a broken INVALID_FILE_ATTRIBUTES, so hack around that for now.


Modified: trunk/Gui/win32/gui.c
==============================================================================
--- trunk/Gui/win32/gui.c	(original)
+++ trunk/Gui/win32/gui.c	Fri Jul  7 13:22:24 2006
@@ -41,6 +41,10 @@
 #include "wincfg.h"
 #include "dialogs.h"
 
+// HACK around bug in old mingw
+#undef INVALID_FILE_ATTRIBUTES
+#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
+
 #ifndef WM_XBUTTONDOWN
 # define WM_XBUTTONDOWN    0x020B
 # define WM_XBUTTONUP      0x020C



More information about the MPlayer-cvslog mailing list