Pārlūkot izejas kodu

undefine stupid defines from the kernel

Mike Frysinger 18 gadi atpakaļ
vecāks
revīzija
d29b097fa0
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      libc/sysdeps/linux/m68k/bits/syscalls.h

+ 7 - 0
libc/sysdeps/linux/m68k/bits/syscalls.h

@@ -11,6 +11,13 @@
  * programs.  */
 #include <bits/sysnum.h>
 
+/* m68k headers does stupid stuff with __NR_iopl / __NR_vm86:
+ * #define __NR_iopl   not supported
+ * #define __NR_vm86   not supported
+ */
+#undef __NR_iopl
+#undef __NR_vm86
+
 #ifndef __ASSEMBLER__
 
 /* Linux takes system call arguments in registers: