PATCH: more vm86.h condiditionals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This should only happen on x86_64 when compiling with -m32.

Ciao, Marcus

Changelog:
	Do not defined MZ_SUPPORTED if we do not have sys/vm86.h for all
	the struct definitions.

Index: dlls/winedos/dosexe.h
===================================================================
RCS file: /home/wine/wine/dlls/winedos/dosexe.h,v
retrieving revision 1.13
diff -u -r1.13 dosexe.h
--- dlls/winedos/dosexe.h	12 Nov 2002 23:29:48 -0000	1.13
+++ dlls/winedos/dosexe.h	13 Nov 2002 12:46:16 -0000
@@ -43,8 +43,8 @@
 extern DWORD DOS_LOLSeg;
 extern const struct DPMI_segments *DOSVM_dpmi_segments;
 
-#if defined(linux) && defined(__i386__)
-#define MZ_SUPPORTED
+#if defined(linux) && defined(__i386__) && defined(HAVE_SYS_VM86_H)
+# define MZ_SUPPORTED
 #endif /* linux-i386 */
 
 #define V86_FLAG 0x00020000


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux