From e0b9f47ef2218dcefd5c53055cf3dd9fde6e4dff Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 13 Oct 2006 14:32:32 +0000 Subject: 2006-10-13 Thomas Schwinge * 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. --- i386/include/mach/i386/kern_return.h | 4 ++-- i386/include/mach/i386/vm_types.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'i386/include') diff --git a/i386/include/mach/i386/kern_return.h b/i386/include/mach/i386/kern_return.h index c51915d..8df41ca 100644 --- a/i386/include/mach/i386/kern_return.h +++ b/i386/include/mach/i386/kern_return.h @@ -34,7 +34,7 @@ #ifndef _MACH_I386_KERN_RETURN_H_ #define _MACH_I386_KERN_RETURN_H_ -#ifndef ASSEMBLER +#ifndef __ASSEMBLER__ typedef int kern_return_t; -#endif /* ASSEMBLER */ +#endif /* __ASSEMBLER__ */ #endif /* _MACH_I386_KERN_RETURN_H_ */ diff --git a/i386/include/mach/i386/vm_types.h b/i386/include/mach/i386/vm_types.h index 603bf0c..7fb1bcb 100644 --- a/i386/include/mach/i386/vm_types.h +++ b/i386/include/mach/i386/vm_types.h @@ -34,8 +34,8 @@ #ifndef _MACHINE_VM_TYPES_H_ #define _MACHINE_VM_TYPES_H_ 1 -#ifdef ASSEMBLER -#else /* ASSEMBLER */ +#ifdef __ASSEMBLER__ +#else /* __ASSEMBLER__ */ /* * A natural_t is the type for the native @@ -96,7 +96,7 @@ typedef unsigned long long unsigned64_t; typedef float float32_t; typedef double float64_t; -#endif /* ASSEMBLER */ +#endif /* __ASSEMBLER__ */ /* * If composing messages by hand (please dont) -- cgit v1.2.3