From 94c7fa702d36b402c6643799d51c2578658a1397 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 13 Nov 2002 19:37:24 +0000 Subject: [PATCH] Do not define MZ_SUPPORTED if we do not have sys/vm86.h for all the struct definitions. --- dlls/winedos/dosexe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winedos/dosexe.h b/dlls/winedos/dosexe.h index eef39e3bf9..a0ea29c0a0 100644 --- a/dlls/winedos/dosexe.h +++ b/dlls/winedos/dosexe.h @@ -43,8 +43,8 @@ extern WORD DOSVM_retval; /* return value of previous DOS task */ 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