Andrei Pelinescu-Onciul 17 years ago
parent
commit
0d4dc9a987
1 changed files with 2 additions and 2 deletions
  1. 2 2
      endianness.h

+ 2 - 2
endianness.h

@@ -106,7 +106,7 @@ extern int endianness_sanity_check();
 /* OSes that don't define BYTE_ORDER (sanity check above makes sure
 /* OSes that don't define BYTE_ORDER (sanity check above makes sure
  *   little & big endian are not defined in the same time )*/
  *   little & big endian are not defined in the same time )*/
 /* solaris */
 /* solaris */
-#if defined _LITTLE_ENDIAN && !defined __IS_LITLE_ENDIAN
+#if defined _LITTLE_ENDIAN && !defined __IS_LITTLE_ENDIAN
 	#define __IS_LITTLE_ENDIAN 0x01020304
 	#define __IS_LITTLE_ENDIAN 0x01020304
 #endif
 #endif
 #if defined _BIG_ENDIAN && !defined __IS_BIG_ENDIAN
 #if defined _BIG_ENDIAN && !defined __IS_BIG_ENDIAN
@@ -116,7 +116,7 @@ extern int endianness_sanity_check();
 		(defined LITTLE_ENDIAN || defined BIG_ENDIAN)
 		(defined LITTLE_ENDIAN || defined BIG_ENDIAN)
 /* OSes that don't define BYTE_ORDER (sanity check above makes sure
 /* OSes that don't define BYTE_ORDER (sanity check above makes sure
  *   little & big endian are not defined in the same time )*/
  *   little & big endian are not defined in the same time )*/
-#if defined LITTLE_ENDIAN && !defined __IS_LITLE_ENDIAN
+#if defined LITTLE_ENDIAN && !defined __IS_LITTLE_ENDIAN
 	#define __IS_LITTLE_ENDIAN 0x01020304
 	#define __IS_LITTLE_ENDIAN 0x01020304
 #endif
 #endif
 #if defined BIG_ENDIAN && !defined __IS_BIG_ENDIAN
 #if defined BIG_ENDIAN && !defined __IS_BIG_ENDIAN