]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/asm.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / i386 / asm.h
index 50905a62e69503076ab975b11945312fbbfc137f..17b28bc9994e7a8d48166d2a347184613b3ef7e7 100644 (file)
@@ -91,9 +91,9 @@
 #endif
 
 /* There is another definition of ALIGN for .c sources */
-#ifdef ASSEMBLER
+#ifdef __ASSEMBLER__
 #define ALIGN 4,0x90
-#endif /* ASSEMBLER */
+#endif /* __ASSEMBLER__ */
 
 #ifndef FALIGN
 #define FALIGN ALIGN
 #define Lgmemload(lab,reg)     movl Lgotoff(lab),reg
 #define Lgmemstore(reg,lab,tmp)        movl reg,Lgotoff(lab)
 
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 /* These defines are here for .c files that wish to reference global symbols
  * within __asm__ statements. 
  */
 #else
 #define CC_SYM_PREFIX ""
 #endif /* __NO_UNDERSCORES__ */
-#endif /* ASSEMBLER */
+#endif /* __ASSEMBLER__ */
 
 /*
  * The following macros make calls into C code.