summaryrefslogtreecommitdiff
path: root/kern/syscall_emulation.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-10-13 14:32:32 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:45 +0200
commite0b9f47ef2218dcefd5c53055cf3dd9fde6e4dff (patch)
tree2dddde5a350fa8ee577f2b9ed2974d1385f2f719 /kern/syscall_emulation.h
parent8a44559ad7b3248526707b4af9b04c160aed2d7b (diff)
2006-10-13 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in (ASFLAGS): Don't define `ASSEMBLER'. * i386/i386/cpu_number.h: Check for `__ASSEMBLER__' instead of `ASSEMBLER'. * i386/i386/debug.h: Likewise. * i386/i386/ipl.h: Likewise. * i386/i386/ldt.h: Likewise. * i386/i386/proc_reg.h: Likewise. * i386/i386/seg.h: Likewise. * i386/i386/trap.h: Likewise. * i386/include/mach/i386/kern_return.h: Likewise. * i386/include/mach/i386/vm_types.h: Likewise. * i386/intel/pmap.h: Likewise. * include/mach/boolean.h: Likewise. * include/mach/boot.h: Likewise. * include/mach/error.h: Likewise. * kern/syscall_emulation.h: Likewise.
Diffstat (limited to 'kern/syscall_emulation.h')
-rw-r--r--kern/syscall_emulation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/syscall_emulation.h b/kern/syscall_emulation.h
index 5ebe2e1f..501b0a83 100644
--- a/kern/syscall_emulation.h
+++ b/kern/syscall_emulation.h
@@ -30,7 +30,7 @@
#ifndef _KERN_SYSCALL_EMULATION_H_
#define _KERN_SYSCALL_EMULATION_H_
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
#include <mach/machine/vm_types.h>
#include <kern/lock.h>
@@ -56,6 +56,6 @@ typedef vm_offset_t *emulation_vector_t; /* Variable-length array */
#define EML_MOD (err_kern|err_sub(2))
#define EML_BAD_TASK (EML_MOD|0x0001)
#define EML_BAD_CNT (EML_MOD|0x0002)
-#endif /* ASSEMBLER */
+#endif /* __ASSEMBLER__ */
#endif /* _KERN_SYSCALL_EMULATION_H_ */