mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
Remove a few unused HAVE_FOO's and make the SDL check global.
ulong is not a standard type. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5649 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b7c2e523b3
commit
e7f7eff2b6
6 changed files with 9 additions and 22 deletions
|
@ -26,7 +26,7 @@
|
|||
#define CREG_RIP(ctx) (ctx)->gregs[REG_RIP]
|
||||
#define CREG_EAX(ctx) (ctx)->gregs[REG_EAX]
|
||||
#define CREG_EIP(ctx) (ctx)->gregs[REG_EIP]
|
||||
#else
|
||||
#elif defined(__APPLE__)
|
||||
#define CREG_RAX(ctx) (*(ctx))->__ss.__rax
|
||||
#define CREG_RIP(ctx) (*(ctx))->__ss.__rip
|
||||
#define CREG_EAX(ctx) (*(ctx))->__ss.__eax
|
||||
|
|
|
@ -8,6 +8,7 @@ files = [
|
|||
'InputCommon.cpp',
|
||||
'SDL_Util.cpp',
|
||||
'ControllerInterface/ControllerInterface.cpp',
|
||||
'ControllerInterface/SDL/SDL.cpp'
|
||||
]
|
||||
|
||||
if env['HAVE_X11']:
|
||||
|
@ -20,11 +21,6 @@ if env['HAVE_WX']:
|
|||
"WXInputBase.cpp",
|
||||
]
|
||||
|
||||
if env['HAVE_SDL']:
|
||||
files += [
|
||||
'ControllerInterface/SDL/SDL.cpp'
|
||||
]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
files += [
|
||||
'ControllerInterface/OSX/OSX.mm',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue