Fixed compilation on OSX/Windows/iOS

This commit is contained in:
Alex Szpakowski
2015-03-23 00:24:06 -03:00
parent 37f04a7f3d
commit 4d92d00aff
+2 -3
View File
@@ -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.