Skip to content

Commit 6a4f37b

Browse files
authored
Merge pull request #42621 from compnerd/see-long
stdlib: correct `CLong` for Windows ARM64
2 parents b6ec187 + 5c0471f commit 6a4f37b

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)