diff options
author | withmorten <morten.with@gmail.com> | 2021-01-19 13:35:48 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-21 03:18:15 +0100 |
commit | ac0f759b274368b9424222a392d9f28b73980eb0 (patch) | |
tree | 613c034aea3e8a98d9a752954198216ffebce83e /src/skel/win | |
parent | fix RWLIBS build without GTA_PS2_STUFF (diff) | |
download | re3-ac0f759b274368b9424222a392d9f28b73980eb0.tar re3-ac0f759b274368b9424222a392d9f28b73980eb0.tar.gz re3-ac0f759b274368b9424222a392d9f28b73980eb0.tar.bz2 re3-ac0f759b274368b9424222a392d9f28b73980eb0.tar.lz re3-ac0f759b274368b9424222a392d9f28b73980eb0.tar.xz re3-ac0f759b274368b9424222a392d9f28b73980eb0.tar.zst re3-ac0f759b274368b9424222a392d9f28b73980eb0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/skel/win/win.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 5a0c7db2..2fdf078e 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -1,4 +1,4 @@ -#if defined RW_D3D9 || defined RWLIBS +#if defined RW_D3D9 || defined RWLIBS || defined __MWERKS__ #define _WIN32_WINDOWS 0x0500 #define WINVER 0x0500 @@ -19,6 +19,10 @@ #pragma warning( push ) #pragma warning( disable : 4005) +#ifdef __MWERKS__ +#define MAPVK_VK_TO_CHAR (2) // this is missing from codewarrior win32 headers - but it gets used ... how? +#endif + #include <ddraw.h> #include <DShow.h> #pragma warning( pop ) |