From 4f0298df1b8ea85e6732cfea58bbdc6d7812df8d Mon Sep 17 00:00:00 2001 From: John Peterson Date: Tue, 20 Jan 2009 14:26:56 +0000 Subject: [PATCH] nJoy: Added ifdefs for the XInput files git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1954 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_nJoy_SDL/Src/XInput.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_nJoy_SDL/Src/XInput.cpp b/Source/Plugins/Plugin_nJoy_SDL/Src/XInput.cpp index 66ba7ef10e..33a63e9edb 100644 --- a/Source/Plugins/Plugin_nJoy_SDL/Src/XInput.cpp +++ b/Source/Plugins/Plugin_nJoy_SDL/Src/XInput.cpp @@ -29,6 +29,7 @@ ///////////////////////////////////////////////////// */ +#ifdef _WIN32 ////////////////////////////////////////////////////////////////////////////////////////// // Includes @@ -130,4 +131,6 @@ bool IsConnected(int Controller) } /////////////////////////////////////////// -} // XInput \ No newline at end of file +} // XInput + +#endif \ No newline at end of file