[packages] xorg-server: define IF_MASK and IF_IOPL if required (closes #4473)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14429 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ca45fb3e42
commit
ce01dfdf12
16
Xorg/xorg/xserver/xorg-server/patches/003-vm86-IFMASK.patch
Normal file
16
Xorg/xorg/xserver/xorg-server/patches/003-vm86-IFMASK.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- xorg-server-1.5.1.orig/hw/kdrive/vesa/vm86.h 2008-09-09 17:24:59.000000000 +0200
|
||||
+++ xorg-server-1.5.1/hw/kdrive/vesa/vm86.h 2008-09-09 18:01:53.000000000 +0200
|
||||
@@ -67,6 +67,13 @@
|
||||
#include "os.h"
|
||||
#endif
|
||||
|
||||
+#ifndef IF_MASK
|
||||
+#define IF_MASK X86_EFLAGS_IF
|
||||
+#endif
|
||||
+#ifndef IOPL_MASK
|
||||
+#define IOPL_MASK X86_EFLAGS_IOPL
|
||||
+#endif
|
||||
+
|
||||
typedef unsigned char U8;
|
||||
typedef unsigned short U16;
|
||||
typedef unsigned int U32;
|
Loading…
x
Reference in New Issue
Block a user