Skip to content

Commit 5c0471f

Browse files
committed
stdlib: correct CLong for Windows ARM64
The Windows ARM64 build with the toolchain fixes exposed the missed type aliasing for `CLong` when building Foundation. With this it is finally possible to build a complete SDK for Windows AArch64.
1 parent c1b97a5 commit 5c0471f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/CTypes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public typealias CShort = Int16
4747
public typealias CInt = Int32
4848

4949
/// The C 'long' type.
50-
#if os(Windows) && arch(x86_64)
50+
#if os(Windows) && (arch(x86_64) || arch(arm64))
5151
public typealias CLong = Int32
5252
#else
5353
public typealias CLong = Int

0 commit comments

Comments
 (0)