mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 12:35:27 +00:00
On non-Windows platforms, #define _M_IX86 for 32-bit platforms and _M_X64 for 64-bit platforms. Until now, 64-bit was always selected, which broke Dolphin on 32-bit Linux and OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@273 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
31c0bc4508
commit
cb5aa5435b
@ -46,12 +46,12 @@ extern "C" {
|
|||||||
#define MAX_PATH 260
|
#define MAX_PATH 260
|
||||||
#define WEAK_SYMBOL __attribute__((weak))
|
#define WEAK_SYMBOL __attribute__((weak))
|
||||||
#define stricmp strcasecmp
|
#define stricmp strcasecmp
|
||||||
#define Crash() {asm ("int $3");}
|
#define Crash() {asm ("int $3");}
|
||||||
// #ifdef 64bit
|
#ifdef _LP64
|
||||||
// #define _M_IX86
|
#define _M_X64 1
|
||||||
// #else
|
#else
|
||||||
#define _M_X64
|
#define _M_IX86 1
|
||||||
// #endf
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
|
Loading…
x
Reference in New Issue
Block a user