Do not define MZ_SUPPORTED if we do not have sys/vm86.h for all the

struct definitions.
This commit is contained in:
Marcus Meissner 2002-11-13 19:37:24 +00:00 committed by Alexandre Julliard
parent d5ea547d80
commit 94c7fa702d
1 changed files with 2 additions and 2 deletions

View File

@ -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