summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorChad Engler <englercj@live.com>2021-09-29 13:02:47 -0700
committerGitHub <noreply@github.com>2021-09-29 13:02:47 -0700
commitaa8f7b899b7b562b3d3c6e25c3da41569505e70c (patch)
treef2b2a9b07595e6bb5aac32b1a5c6cb96bcea0349 /slang.h
parent6736b0c1c5fa3e89bc561eb7965a1a0d17af3466 (diff)
Fix ARM64 detection for MSVC (#1951)
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/slang.h b/slang.h
index 74de9d293..c726fc23c 100644
--- a/slang.h
+++ b/slang.h
@@ -373,7 +373,7 @@ convention for interface methods.
# endif
#elif defined(__arm__)
# define SLANG_PROCESSOR_ARM 1
-#elif defined(__aarch64__)
+#elif defined(_M_ARM64) || defined(__aarch64__)
# define SLANG_PROCESSOR_ARM_64 1
#endif