From 011d86ed668cbbff5c7bfc5f7e88086acb849921 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sun, 15 Apr 2012 00:50:13 +0200 Subject: Pulled changes from test mingw branch * include fixes * syntax fixes for MinGW * fixed encoding of restext.cpp * temporary fix for MinGW in joystick.cpp Successfully compiles under MinGW :) --- src/d3dapp.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/d3dapp.cpp') diff --git a/src/d3dapp.cpp b/src/d3dapp.cpp index 568cf1a..a1d5c6a 100644 --- a/src/d3dapp.cpp +++ b/src/d3dapp.cpp @@ -40,7 +40,12 @@ #include "sound.h" #include "d3dapp.h" - +// fix for "MSH_MOUSEWHEEL undefined" error +#ifdef UNICODE +#define MSH_MOUSEWHEEL L"MSWHEEL_ROLLMSG" +#else +#define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG" +#endif #define AUDIO_TRACK 13 // total number of audio tracks on the CD -- cgit v1.2.3-1-g7c22