diff --git a/Externals/wxWidgets/build/msw/wx_adv.vcproj b/Externals/wxWidgets/build/msw/wx_adv.vcproj index 6906b52ded..7353c65426 100644 --- a/Externals/wxWidgets/build/msw/wx_adv.vcproj +++ b/Externals/wxWidgets/build/msw/wx_adv.vcproj @@ -1,7 +1,7 @@ - - @@ -2197,6 +2193,10 @@ /> + + -#include - -#ifdef USE_RUMBLE_DINPUT_HACK -#include // used for rumble -#endif - -#endif - #include #include #include #include +#include "Common.h" +#include "pluginspecs_pad.h" +#include "IniFile.h" + +#if defined(HAVE_WX) && HAVE_WX +#include "GUI/AboutBox.h" +#include "GUI/ConfigBox.h" +#endif + +#ifdef _WIN32 +#pragma comment(lib, "SDL.lib") +#pragma comment(lib, "comctl32.lib") +#include +#include +#define _CRT_SECURE_NO_WARNINGS +#define DIRECTINPUT_VERSION 0x0800 +#define WIN32_LEAN_AND_MEAN + +#ifdef USE_RUMBLE_DINPUT_HACK +#pragma comment(lib, "dxguid.lib") +#pragma comment(lib, "dinput8.lib") +#pragma comment(lib, "winmm.lib") +#include +#endif +#endif // _WIN32 + #ifdef _WIN32 #define SLEEP(x) Sleep(x) #else @@ -58,31 +70,11 @@ #include #define SLEEP(x) usleep(x*1000) #endif + #ifdef __linux__ #include #endif -#if defined(HAVE_WX) && HAVE_WX -#include "GUI/AboutBox.h" -#include "GUI/ConfigBox.h" -#endif - -#include "Common.h" -#include "pluginspecs_pad.h" -#include "IniFile.h" - -#ifdef _WIN32 -#pragma comment(lib, "SDL.lib") -#pragma comment(lib, "comctl32.lib") - -// Required for the rumble part -#ifdef USE_RUMBLE_DINPUT_HACK -#pragma comment(lib, "dxguid.lib") -#pragma comment(lib, "dinput8.lib") -#pragma comment(lib, "winmm.lib") -#endif -#endif - ////////////////////////////////////////////////////////////////////////////////////////// // Define // ŻŻŻŻŻŻ diff --git a/Source/Plugins/Plugin_nJoy_Testing/Plugin_nJoy_SDL_Test.vcproj b/Source/Plugins/Plugin_nJoy_Testing/Plugin_nJoy_SDL_Test.vcproj index 53ad61616e..d75e8404db 100644 --- a/Source/Plugins/Plugin_nJoy_Testing/Plugin_nJoy_SDL_Test.vcproj +++ b/Source/Plugins/Plugin_nJoy_Testing/Plugin_nJoy_SDL_Test.vcproj @@ -52,7 +52,7 @@ UsePrecompiledHeader="0" WarningLevel="3" WarnAsError="true" - Detect64BitPortabilityProblems="true" + Detect64BitPortabilityProblems="false" DebugInformationFormat="4" /> -#include - -#ifdef USE_RUMBLE_DINPUT_HACK -#include // used for rumble -#endif - -#endif - #include #include #include #include +#include "Common.h" +#include "pluginspecs_pad.h" +#include "IniFile.h" + +#if defined(HAVE_WX) && HAVE_WX +#include "GUI/AboutBox.h" +#include "GUI/ConfigBox.h" +#endif + +#ifdef _WIN32 +#pragma comment(lib, "SDL.lib") +#pragma comment(lib, "comctl32.lib") +#include +#include +#define _CRT_SECURE_NO_WARNINGS +#define DIRECTINPUT_VERSION 0x0800 +#define WIN32_LEAN_AND_MEAN + +#ifdef USE_RUMBLE_DINPUT_HACK +#pragma comment(lib, "dxguid.lib") +#pragma comment(lib, "dinput8.lib") +#pragma comment(lib, "winmm.lib") +#include +#endif +#endif // _WIN32 + #ifdef _WIN32 #define SLEEP(x) Sleep(x) #else @@ -57,29 +70,11 @@ #include #define SLEEP(x) usleep(x*1000) #endif + #ifdef __linux__ #include #endif -#include "GUI/AboutBox.h" -#include "GUI/ConfigBox.h" - -#include "Common.h" -#include "pluginspecs_pad.h" -#include "IniFile.h" - -#ifdef _WIN32 -#pragma comment(lib, "SDL.lib") -#pragma comment(lib, "comctl32.lib") - -// Required for the rumble part -#ifdef USE_RUMBLE_DINPUT_HACK -#pragma comment(lib, "dxguid.lib") -#pragma comment(lib, "dinput8.lib") -#pragma comment(lib, "winmm.lib") -#endif -#endif - ////////////////////////////////////////////////////////////////////////////////////////// // Define // ŻŻŻŻŻŻ