aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-12 04:13:42 +0200
committerwithmorten <morten.with@gmail.com>2021-07-12 04:26:27 +0200
commit2f7ae611edb389330d1022102aac4b7ce3e5709b (patch)
treee0d602eaabf7a68f7ff04eceeecdcdbc542029d0 /src
parent3f5fdc39a5fcdf06a8dbd8ba6003b979e21107a8 (diff)
Vanilla config for Windows and win-x86 only
Diffstat (limited to 'src')
-rw-r--r--src/core/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/config.h b/src/core/config.h
index caa6c3e4..bdc8d534 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -206,6 +206,10 @@ enum Config {
#define DEFAULT_NATIVE_RESOLUTION // Set default video mode to your native resolution (fixes Windows 10 launch)
#ifdef VANILLA_DEFINES
+#if !defined(_WIN32) || defined(__LP64__) || defined(_WIN64)
+#error Vanilla can only be built for win-x86
+#endif
+
#define FINAL
#define MASTER
//#define USE_MY_DOCUMENTS