Browse Source

Detect 64bit builds using proper macros

David Wimsey 11 years ago
parent
commit
c968c81e04
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Include/Rocket/Core/Platform.h

+ 1 - 1
Include/Rocket/Core/Platform.h

@@ -48,7 +48,7 @@
 	#define ROCKET_DEBUG
 	#define ROCKET_DEBUG
 #endif
 #endif
 
 
-#if defined __x86_64__ || defined _M_X64 || defined __powerpc64__ || defined __alpha__ || defined __ia64__ || defined __s390__ || defined __s390x__
+#if defined __LP64__ || defined _M_X64 || defined __MING64__
     #define ROCKET_ARCH_64
     #define ROCKET_ARCH_64
 #else
 #else
     #define ROCKET_ARCH_32
     #define ROCKET_ARCH_32