Skip to content
Snippets Groups Projects
Commit 8c729759 authored by Serge S. Gulin's avatar Serge S. Gulin :construction_worker:
Browse files

Fix call convention warnings for AArch64

parent de66952c
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ import System.Win32 (LPCTSTR, LPTSTR, DWORD)
import Foreign.Marshal.Array (allocaArray)
{- FOURMOLU_DISABLE -}
#ifdef x86_64_HOST_ARCH
#if defined(x86_64_HOST_ARCH) || defined(aarch64_HOST_ARCH)
#define WINAPI ccall
#else
#define WINAPI stdcall
......
......@@ -94,7 +94,7 @@ getModTime path = allocaBytes size_WIN32_FILE_ATTRIBUTE_DATA $ \info -> do
return $! ModTime (qwTime :: Word64)
{- FOURMOLU_DISABLE -}
#ifdef x86_64_HOST_ARCH
#if defined(x86_64_HOST_ARCH) || defined(aarch64_HOST_ARCH)
#define CALLCONV ccall
#else
#define CALLCONV stdcall
......
......@@ -537,7 +537,7 @@ csidl_PROGRAM_FILES = 0x0026
-- csidl_PROGRAM_FILES_COMMON = 0x002b
{- FOURMOLU_DISABLE -}
#ifdef x86_64_HOST_ARCH
#if defined(x86_64_HOST_ARCH) || defined(aarch64_HOST_ARCH)
#define CALLCONV ccall
#else
#define CALLCONV stdcall
......
......@@ -166,7 +166,7 @@ deleteOldExeFile verbosity oldPID tmpPath = do
-- A bunch of functions sadly not provided by the Win32 package.
{- FOURMOLU_DISABLE -}
#ifdef x86_64_HOST_ARCH
#if defined(x86_64_HOST_ARCH) || defined(aarch64_HOST_ARCH)
#define CALLCONV ccall
#else
#define CALLCONV stdcall
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment