summaryrefslogtreecommitdiff
path: root/ldso/util/bswap.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-30 20:53:18 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-30 20:53:18 +0000
commit30d427bcd2127a30b6d3301e6d391e8c528a85f2 (patch)
tree4a5a2f318285bfbf82220ca7977b6976a5d6f7b8 /ldso/util/bswap.h
parentefe794763c983c4079409c90ce7780999024d4ad (diff)
Use '#ifdef __linux__' not '#ifdef linux'
Diffstat (limited to 'ldso/util/bswap.h')
-rw-r--r--ldso/util/bswap.h6
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>