Browse Source

Use '#ifdef __linux__' not '#ifdef linux'

Eric Andersen 21 years ago
parent
commit
30d427bcd2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      ldso/util/bswap.h

+ 3 - 3
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>