From d29b097fa02445982818fa714903fb6595262305 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 29 Jan 2006 15:03:04 +0000 Subject: undefine stupid defines from the kernel --- libc/sysdeps/linux/m68k/bits/syscalls.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libc/sysdeps/linux/m68k/bits') 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 +/* 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: -- cgit v1.2.3