Fix XInput library linkage for compatibility down to Windows Vista
This commit is contained in:
@@ -14,7 +14,11 @@
|
||||
|
||||
#include "InputHandler_DirectInputHelper.h"
|
||||
|
||||
#ifdef NTDDI_WIN8 // Link to Xinput9_1_0.lib on Windows 8 SDK and above to ensure linkage to Xinput9_1_0.dll
|
||||
#pragma comment(lib, "Xinput9_1_0.lib")
|
||||
#else
|
||||
#pragma comment(lib, "xinput.lib")
|
||||
#endif
|
||||
|
||||
#include <XInput.h>
|
||||
#include <WbemIdl.h>
|
||||
|
||||
Reference in New Issue
Block a user