From 4d92d00affac856f2f1f98fe94d615d61ccd5704 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Mon, 23 Mar 2015 00:24:06 -0300 Subject: [PATCH] Fixed compilation on OSX/Windows/iOS --- src/common/config.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/config.h b/src/common/config.h index e1b5bb86c..18f37ac4c 100644 --- a/src/common/config.h +++ b/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.