summaryrefslogtreecommitdiffstats
path: root/src/skel/win/win.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-26 12:49:31 +0200
committerGitHub <noreply@github.com>2020-04-26 12:49:31 +0200
commit7052b0b64c2fbab2d4ef94e50e902eea4904dbe0 (patch)
tree7a01b47b48a106ca6ff9154cc5c14d3baf54c22f /src/skel/win/win.cpp
parentupdate librw (diff)
parentInitial GLFW support (diff)
downloadre3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar
re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.gz
re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.bz2
re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.lz
re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.xz
re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.zst
re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.zip
Diffstat (limited to 'src/skel/win/win.cpp')
-rw-r--r--src/skel/win/win.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index cde9f9e5..e623defb 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -1,3 +1,5 @@
+#if defined RW_D3D9 || defined RWLIBS
+
#define _WIN32_WINDOWS 0x0500
#define WINVER 0x0500
#define DIRECTINPUT_VERSION 0x0800
@@ -40,7 +42,7 @@
#include "resource.h"
#include "skeleton.h"
#include "platform.h"
-#include "win.h"
+#include "crossplatform.h"
#define MAX_SUBSYSTEMS (16)
@@ -3033,3 +3035,4 @@ int strcasecmp(const char *str1, const char *str2)
return _strcmpi(str1, str2);
}
#endif
+#endif \ No newline at end of file