PATCH: more vm86.h condiditionals
Marcus Meissner
meissner at suse.de
Wed Nov 13 06:47:09 CST 2002
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
More information about the wine-patches
mailing list