summaryrefslogtreecommitdiff
path: root/i386/include
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 /i386/include
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 'i386/include')
-rw-r--r--i386/include/mach/i386/kern_return.h4
-rw-r--r--i386/include/mach/i386/vm_types.h6
2 files changed, 5 insertions, 5 deletions
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)