From 664a19f9e4f987a64f4bf0e7bb9a925015e62f62 Mon Sep 17 00:00:00 2001 From: "Serge S. Gulin" Date: Sat, 4 Jan 2025 10:22:55 +0300 Subject: [PATCH] Add Support for Windows Aarch64 Co-authored-by: Cheng Shao --- .gitignore | 1 + src/Main.hs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 82f3a88..c9527c3 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ cabal.project.local cabal.project.local~ .HTF/ .ghc.environment.* +.vscode \ No newline at end of file diff --git a/src/Main.hs b/src/Main.hs index dd77da1..3110af7 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -55,7 +55,7 @@ import HSCParser #ifdef mingw32_HOST_OS # if defined(i386_HOST_ARCH) # define WINDOWS_CCONV stdcall -# elif defined(x86_64_HOST_ARCH) +# elif defined(x86_64_HOST_ARCH) || defined(aarch64_HOST_ARCH) # define WINDOWS_CCONV ccall # else # error Unknown mingw32 arch