[Mplayer-cvslog] CVS: main/loader/wine windef.h,1.8,1.9

Alex Beregszaszi alex at mplayerhq.hu
Thu Apr 24 20:48:33 CEST 2003


Update of /cvsroot/mplayer/main/loader/wine
In directory mail:/var/tmp.root/cvs-serv29181/wine

Modified Files:
	windef.h 
Log Message:
last mingw32 support patch by Sascha Sommer

Index: windef.h
===================================================================
RCS file: /cvsroot/mplayer/main/loader/wine/windef.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- windef.h	31 Aug 2002 01:44:54 -0000	1.8
+++ windef.h	24 Apr 2003 18:48:30 -0000	1.9
@@ -127,7 +127,7 @@
 #define PASCAL      __stdcall
 #define pascal      __stdcall
 #define _pascal     __stdcall
-#if !defined(__CYGWIN__)
+#if !defined(__CYGWIN__) && !defined(__MINGW32__)
 #define _stdcall    __stdcall
 #define _fastcall   __stdcall
 #define __fastcall  __stdcall
@@ -136,13 +136,13 @@
 #define CDECL       __cdecl
 #define _CDECL      __cdecl
 #define cdecl       __cdecl
-#if !defined(__CYGWIN__)
+#if !defined(__CYGWIN__) && !defined(__MINGW32__)
 #define _cdecl      __cdecl
 #endif
 #define WINAPIV     __cdecl
 #define APIENTRY    WINAPI
 
-#if !defined(__CYGWIN__)
+#if !defined(__CYGWIN__) && !defined(__MINGW32__)
 #define __declspec(x)
 #endif
 #define dllimport
@@ -570,12 +570,24 @@
 #define min(a,b)   (((a) < (b)) ? (a) : (b))
 #endif
 
+#ifndef _MAX_PATH
 #define _MAX_PATH  260
+#endif
+#ifndef MAX_PATH
 #define MAX_PATH   260
+#endif
+#ifndef _MAX_DRIVE
 #define _MAX_DRIVE 3
+#endif
+#ifndef _MAX_DIR
 #define _MAX_DIR   256
+#endif
+#ifndef _MAX_FNAME
 #define _MAX_FNAME 255
+#endif
+#ifndef _MAX_EXT
 #define _MAX_EXT   256
+#endif
 
 #define HFILE_ERROR16   ((HFILE16)-1)
 #define HFILE_ERROR     ((HFILE)-1)



More information about the MPlayer-cvslog mailing list