Browse Source

Fixed compilation on OSX/Windows/iOS

Alex Szpakowski 10 years ago
parent
commit
4d92d00aff
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/common/config.h

+ 2 - 3
src/common/config.h

@@ -42,11 +42,10 @@
 #endif
 
 // Endianness.
-#if defined(__i386__) || defined(__i386)
-#	define LOVE_LITTLE_ENDIAN 1
-#endif
 #if defined(__ppc__) || defined(__ppc) || defined(__powerpc__) || defined(__powerpc)
 #	define LOVE_BIG_ENDIAN 1
+#else
+#	define LOVE_LITTLE_ENDIAN 1
 #endif
 
 // Warnings.