diff options
author | Richard Braun <rbraun@sceen.net> | 2012-10-19 01:37:30 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-10-19 01:37:30 +0200 |
commit | a1c9df7506a33f2d9b102575a484667c3bdc24ad (patch) | |
tree | 7bc47199a955ffc4967f5a208dba419ac083d679 /lib/macros.h | |
parent | a81799079229c991c1295df45e68334b39ccdc76 (diff) |
Use the standard __ASSEMBLER__ macro
Diffstat (limited to 'lib/macros.h')
-rw-r--r-- | lib/macros.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/macros.h b/lib/macros.h index aec24e1b..99837147 100644 --- a/lib/macros.h +++ b/lib/macros.h @@ -21,9 +21,9 @@ #ifndef _LIB_MACROS_H #define _LIB_MACROS_H -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #include <lib/stddef.h> -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #define MACRO_BEGIN ({ #define MACRO_END }) @@ -31,12 +31,12 @@ #define __QUOTE(x) #x #define QUOTE(x) __QUOTE(x) -#ifdef __ASSEMBLY__ +#ifdef __ASSEMBLER__ #define DECL_CONST(x, s) x -#else /* __ASSEMBLY__ */ +#else /* __ASSEMBLER__ */ #define __DECL_CONST(x, s) x##s #define DECL_CONST(x, s) __DECL_CONST(x, s) -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #define STRLEN(x) (sizeof(x) - 1) #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) |