diff options
-rw-r--r-- | ldso/util/bswap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/util/bswap.h b/ldso/util/bswap.h index 5388c11c6..1742d2507 100644 --- a/ldso/util/bswap.h +++ b/ldso/util/bswap.h @@ -6,7 +6,7 @@ #endif #ifndef __BYTE_ORDER -#ifdef linux +#ifdef __linux__ #include <endian.h> #else #define __LITTLE_ENDIAN 1234 /* least-significant byte first (vax, pc) */ @@ -21,7 +21,7 @@ #define __BYTE_ORDER __BIG_ENDIAN #endif -#endif /* linux */ +#endif /* __linux__ */ #endif /* __BYTE_ORDER */ @@ -29,7 +29,7 @@ # error "Undefined __BYTE_ORDER" #endif -#ifdef linux +#ifdef __linux__ #include <byteswap.h> #else #include <string.h> |