Skip to content

Commit a19a623

Browse files
authored
Merge pull request swiftlang#23029 from compnerd/list-the-ways-that-everything-is-terrible
stdlib: use the correct va_list type on Windows
2 parents 08cf801 + 75e3175 commit a19a623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/VarArgs.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ extension Float80 : CVarArg, _CVarArgAligned {
419419
}
420420
#endif
421421

422-
#if arch(x86_64) || arch(s390x) || (arch(arm64) && !(os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Windows)))
422+
#if (arch(x86_64) && !os(Windows)) || arch(s390x) || (arch(arm64) && !(os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Windows)))
423423

424424
/// An object that can manage the lifetime of storage backing a
425425
/// `CVaListPointer`.

0 commit comments

Comments
 (0)