diff options
author | Eugene Sandulenko | 2017-02-07 21:20:31 +0100 |
---|---|---|
committer | GitHub | 2017-02-07 21:20:31 +0100 |
commit | c1edd6166907a332dca0f4037f934e56e0ab61f0 (patch) | |
tree | c8dafb82d4b696f81af9e96dda8f845003f0bfd9 /common | |
parent | b3784db8d55bde5db17aeebfd526e24b7ede54f2 (diff) | |
parent | 2f4d14aba50ef437c24af905aeec6e95437eb8fa (diff) | |
download | scummvm-rg350-c1edd6166907a332dca0f4037f934e56e0ab61f0.tar.gz scummvm-rg350-c1edd6166907a332dca0f4037f934e56e0ab61f0.tar.bz2 scummvm-rg350-c1edd6166907a332dca0f4037f934e56e0ab61f0.zip |
Merge pull request #896 from criezy/create-project-fixes
DEVTOOLS: Create project fixes
Diffstat (limited to 'common')
-rw-r--r-- | common/scummsys.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index 27fcb84505..938770baa6 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -309,6 +309,23 @@ #endif #endif +// +// Determine 64 bitness +// Reference: http://nadeausoftware.com/articles/2012/02/c_c_tip_how_detect_processor_type_using_compiler_predefined_macros +// +#if !defined(HAVE_CONFIG_H) + + #if defined(__x86_64__) || \ + defined(_M_X64) || \ + defined(__ppc64__) || \ + defined(__powerpc64__) || \ + defined(__LP64__) + + #define SCUMM_64BITS + + #endif + +#endif // // Some more system specific settings. |