Skip to content

Commit

Permalink
Add support for Windows Aarch64
Browse files Browse the repository at this point in the history
Co-authored-by: Cheng Shao <[email protected]>
  • Loading branch information
2 people authored and Rufflewind committed Jan 6, 2025
1 parent 79b8d13 commit ceaf727
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ HsDirectoryConfig.h.in
GNUmakefile
dist-install
ghc.mk

# IDEs
.vscode
2 changes: 1 addition & 1 deletion System/Directory/Internal/Windows.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module System.Directory.Internal.Windows where
#if defined(mingw32_HOST_OS)
##if defined(i386_HOST_ARCH)
## define WINAPI stdcall
##elif defined(x86_64_HOST_ARCH)
##elif defined(x86_64_HOST_ARCH) || defined(aarch64_HOST_ARCH)
## define WINAPI ccall
##else
## error unknown architecture
Expand Down

0 comments on commit ceaf727

Please sign in to comment.