summaryrefslogtreecommitdiffstats
path: root/src/skel/win/win.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-21 21:55:33 +0100
committerGitHub <noreply@github.com>2021-01-21 21:55:33 +0100
commitef24783bff1dc74a846966660005cfefe23d48a2 (patch)
treeb123f26121b59226b05bf87a36dec621890de0b3 /src/skel/win/win.cpp
parentupdate librw (diff)
parentcodewarrior: finishing touches (diff)
downloadre3-ef24783bff1dc74a846966660005cfefe23d48a2.tar
re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.gz
re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.bz2
re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.lz
re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.xz
re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.zst
re3-ef24783bff1dc74a846966660005cfefe23d48a2.zip
Diffstat (limited to 'src/skel/win/win.cpp')
-rw-r--r--src/skel/win/win.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index cea6c3c0..16c37490 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 )