PATCH: vm86.h check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This is to fix biarch compile on x86_64, which does not have sys/vm86.h 
and does not support virtual 8086 anyway.

(Basically the struct vm86plus_struct is missing.)

Ciao, Marcus

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

Index: dlls/ntdll/signal_i386.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/signal_i386.c,v
retrieving revision 1.47
diff -u -r1.47 signal_i386.c
--- dlls/ntdll/signal_i386.c	28 Oct 2002 23:56:58 -0000	1.47
+++ dlls/ntdll/signal_i386.c	7 Nov 2002 16:27:52 -0000
@@ -168,7 +168,9 @@
                   __ASM_NAME("vm86_return_end") ":\n\t"
                   "ret" );
 
-#define __HAVE_VM86
+#ifdef HAVE_SYS_VM86_H
+# define __HAVE_VM86
+#endif
 
 #endif  /* linux */
 


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux