summaryrefslogtreecommitdiff
path: root/core/config
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-26 12:55:23 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-27 16:10:53 +0300
commit8dab4a2aa3a078968e3df641ee607e1fb51ddfe2 (patch)
treea83d6ca12e39f1acd620db1418635e7772cccf74 /core/config
parent85ef0a1058fb0acbf550b8d3674d02d9023de82b (diff)
[Windows] Improve build environment detection, add support for Windows on ARM.
Diffstat (limited to 'core/config')
-rw-r--r--core/config/engine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/config/engine.cpp b/core/config/engine.cpp
index 3efc0e822a..94db3612b4 100644
--- a/core/config/engine.cpp
+++ b/core/config/engine.cpp
@@ -191,11 +191,11 @@ String Engine::get_architecture_name() const {
#elif defined(__i386) || defined(__i386__) || defined(_M_IX86)
return "x86_32";
-#elif defined(__aarch64__) || defined(_M_ARM64)
+#elif defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
return "arm64";
-#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7S__)
- return "armv7";
+#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7S__) || defined(_M_ARM)
+ return "arm32";
#elif defined(__riscv)
#if __riscv_xlen == 8