File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Cabal/src/Distribution/Simple/Build Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ generatePathsModule pkg_descr lbi clbi =
5151 , Z. zIsWindows = isWindows
5252 , Z. zIsI386 = buildArch == I386
5353 , Z. zIsX8664 = buildArch == X86_64
54- , Z. zIsAarch64 = buildArch == AArch64
54+ , Z. zIsAArch64 = buildArch == AArch64
5555 , Z. zNot = not
5656 , Z. zManglePkgName = showPkgName
5757 , Z. zPrefix = show flat_prefix
Original file line number Diff line number Diff line change 1212 zIsWindows :: Bool ,
1313 zIsI386 :: Bool ,
1414 zIsX8664 :: Bool ,
15- zIsAarch64 :: Bool ,
15+ zIsAArch64 :: Bool ,
1616 zPrefix :: FilePath ,
1717 zBindir :: FilePath ,
1818 zLibdir :: FilePath ,
@@ -350,13 +350,13 @@ render z_root = execWriter $ do
350350 tell " c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32\n "
351351 return ()
352352 else do
353- if (zIsAarch64 z_root)
353+ if (zIsAArch64 z_root)
354354 then do
355355 tell " foreign import ccall unsafe \" windows.h GetModuleFileNameW\"\n "
356356 tell " c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32\n "
357357 return ()
358358 else do
359- tell " -- win32 supported only with I386, X86_64, Aarch64 \n "
359+ tell " -- win32 supported only with I386, X86_64, AArch64 \n "
360360 tell " c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32\n "
361361 tell " c_GetModuleFileName = _\n "
362362 return ()
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ $(capture "decls" [d|
3232 , zIsWindows :: Bool
3333 , zIsI386 :: Bool
3434 , zIsX8664 :: Bool
35- , zIsAarch64 :: Bool
35+ , zIsAArch64 :: Bool
3636
3737 , zPrefix :: FilePath
3838 , zBindir :: FilePath
Original file line number Diff line number Diff line change @@ -205,11 +205,11 @@ foreign import stdcall unsafe "windows.h GetModuleFileNameW"
205205{% elif isX8664 % }
206206foreign import ccall unsafe " windows.h GetModuleFileNameW"
207207 c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32
208- {% elif isAarch64 % }
208+ {% elif isAArch64 % }
209209foreign import ccall unsafe " windows.h GetModuleFileNameW"
210210 c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32
211211{% else % }
212- -- win32 supported only with I386, X86_64, Aarch64
212+ -- win32 supported only with I386, X86_64, AArch64
213213c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32
214214c_GetModuleFileName = _
215215{% endif % }
You can’t perform that action at this time.
0 commit comments