aboutsummaryrefslogtreecommitdiffstats
path: root/api/entry.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-05 16:34:00 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-05 16:58:43 +0100
commitc891e842597d3e08903c5aa0503118e3b688871b (patch)
tree686e94d1a8fa4b5a2b3761c8946cd89d3a53ff3a /api/entry.h
parentapi: remove WintunOpenAdapterDeviceObject (diff)
downloadwintun-c891e842597d3e08903c5aa0503118e3b688871b.tar.xz
wintun-c891e842597d3e08903c5aa0503118e3b688871b.zip
api: include arm64 in amd64
ARM64 will still run AMD64 apps. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/entry.h')
-rw-r--r--api/entry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/entry.h b/api/entry.h
index ac37680..c58b7cc 100644
--- a/api/entry.h
+++ b/api/entry.h
@@ -8,7 +8,7 @@
#include <Windows.h>
/* TODO: Replace with is_defined. MSVC has issues with the linux kernel varadic macro trick for this. */
-#if defined(_M_IX86) || defined(_M_ARM)
+#if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_ARM)
# define MAYBE_WOW64 1
#else
# define MAYBE_WOW64 0