diff --git a/SConstruct b/SConstruct index 027295712a..f3d028c8a3 100644 --- a/SConstruct +++ b/SConstruct @@ -77,12 +77,16 @@ dirs = [ 'Source/Plugins/Plugin_DSP_HLE/Src', 'Source/Plugins/Plugin_DSP_LLE/Src', 'Source/Plugins/Plugin_GCPad/Src', - 'Source/Plugins/Plugin_GCPadNew/Src', 'Source/Plugins/Plugin_Wiimote/Src', 'Source/Core/DolphinWX/Src', 'Source/Core/DebuggerWX/Src', ] +if sys.platform == 'darwin': + dirs += [ + 'Source/Plugins/Plugin_GCPadNew/Src' + ] + builders = {} if sys.platform == 'darwin': from plistlib import writePlist diff --git a/Source/Plugins/Plugin_GCPadNew/Src/ControllerInterface/SDL/SDL.h b/Source/Plugins/Plugin_GCPadNew/Src/ControllerInterface/SDL/SDL.h index 3da477ca23..fdd2b18da6 100644 --- a/Source/Plugins/Plugin_GCPadNew/Src/ControllerInterface/SDL/SDL.h +++ b/Source/Plugins/Plugin_GCPadNew/Src/ControllerInterface/SDL/SDL.h @@ -7,11 +7,11 @@ #undef M_PI // really dum #ifdef _WIN32 - #include - #include + #include + #include #else - #include - #include + #include + #include #endif namespace ciface