From 85489d05e0ca0f154f44dca99cdbd63ba69f644f Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Thu, 25 Feb 2016 22:34:46 +0000 Subject: [PATCH] lilypad:windows: Set Unicode in project file instead Also move the DirectInput define. --- plugins/LilyPad/DirectInput.cpp | 1 + plugins/LilyPad/Global.h | 5 ----- plugins/LilyPad/LilyPad.vcxproj | 8 ++++---- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/plugins/LilyPad/DirectInput.cpp b/plugins/LilyPad/DirectInput.cpp index 6cd76be66a..0fa4e7e2a0 100644 --- a/plugins/LilyPad/DirectInput.cpp +++ b/plugins/LilyPad/DirectInput.cpp @@ -16,6 +16,7 @@ */ #include "Global.h" +#define DIRECTINPUT_VERSION 0x0800 #include #include "InputManager.h" diff --git a/plugins/LilyPad/Global.h b/plugins/LilyPad/Global.h index a620cb0013..a2e8512e0e 100644 --- a/plugins/LilyPad/Global.h +++ b/plugins/LilyPad/Global.h @@ -86,11 +86,6 @@ extern Window GSwin; #endif - -#define DIRECTINPUT_VERSION 0x0800 - -#define UNICODE - #ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE #endif diff --git a/plugins/LilyPad/LilyPad.vcxproj b/plugins/LilyPad/LilyPad.vcxproj index 13bd0d2222..58b08e4b0e 100644 --- a/plugins/LilyPad/LilyPad.vcxproj +++ b/plugins/LilyPad/LilyPad.vcxproj @@ -27,27 +27,27 @@ DynamicLibrary false - MultiByte + Unicode true $(DefaultPlatformToolset)_xp DynamicLibrary false - MultiByte + Unicode $(DefaultPlatformToolset)_xp DynamicLibrary false - MultiByte + Unicode true $(DefaultPlatformToolset)_xp DynamicLibrary false - MultiByte + Unicode $(DefaultPlatformToolset)_xp