From 47609c45248d1caf635d602cc88ca8459d1f20e3 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Sat, 13 Feb 2010 21:06:19 +0000 Subject: [PATCH] Mac build fix to the issue caused by my last commit. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5050 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_GCPad/Src/GCPad.cpp | 2 +- Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp b/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp index 77efbd905b..9bcf4ddb17 100644 --- a/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp +++ b/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp @@ -606,7 +606,7 @@ bool IsKey(int Key) if (MapKey < 256) { Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows) -#else +#elif defined HAVE_X11 && HAVE_X11 if (MapKey < 256 || MapKey > 0xf000) { char keys[32]; diff --git a/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp b/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp index 2249219686..bee0ddf6ad 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp @@ -307,7 +307,7 @@ bool IsKey(int Key) if (MapKey < 256) { Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows) -#else +#elif defined(HAVE_X11) && HAVE_X11 if (MapKey < 256 || MapKey >= 0xf000) { char keys[32];