summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/bits
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 15:03:04 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 15:03:04 +0000
commitd29b097fa02445982818fa714903fb6595262305 (patch)
treef801746f5691cb257cf8c4f856e0e43b7a3025dc /libc/sysdeps/linux/m68k/bits
parent6dd2cdf4036aa0426cbf0a2066a2435fe18927db (diff)
undefine stupid defines from the kernel
Diffstat (limited to 'libc/sysdeps/linux/m68k/bits')
-rw-r--r--libc/sysdeps/linux/m68k/bits/syscalls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/syscalls.h b/libc/sysdeps/linux/m68k/bits/syscalls.h
index bccecbc61..284112e31 100644
--- a/libc/sysdeps/linux/m68k/bits/syscalls.h
+++ b/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: