Only enable VM86 mode if we have the <sys/vm86.h> include file.
This commit is contained in:
parent
d0a58e218a
commit
727c31d7a0
|
@ -168,7 +168,9 @@ __ASM_GLOBAL_FUNC(vm86_enter,
|
||||||
__ASM_NAME("vm86_return_end") ":\n\t"
|
__ASM_NAME("vm86_return_end") ":\n\t"
|
||||||
"ret" );
|
"ret" );
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_VM86_H
|
||||||
# define __HAVE_VM86
|
# define __HAVE_VM86
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* linux */
|
#endif /* linux */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue