summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-01-20 14:26:56 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-01-20 14:26:56 +0000
commit4f0298df1b8ea85e6732cfea58bbdc6d7812df8d (patch)
tree77052a1660179b076242315cbefaeb58e980fcfe /Source
parenta10c603255e6b001945c7c9d08c557b6c708f17a (diff)
nJoy: Added ifdefs for the XInput files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1954 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_nJoy_SDL/Src/XInput.cpp5
1 files changed, 4 insertions, 1 deletions
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