Only enable VM86 mode if we have the <sys/vm86.h> include file.

This commit is contained in:
Marcus Meissner 2002-11-08 18:53:32 +00:00 committed by Alexandre Julliard
parent d0a58e218a
commit 727c31d7a0
1 changed files with 3 additions and 1 deletions

View File

@ -168,7 +168,9 @@ __ASM_GLOBAL_FUNC(vm86_enter,
__ASM_NAME("vm86_return_end") ":\n\t"
"ret" );
#define __HAVE_VM86
#ifdef HAVE_SYS_VM86_H
# define __HAVE_VM86
#endif
#endif /* linux */