Skip to content

Commit aade750

Browse files
authored
Merge pull request swiftlang#83978 from rjmansfield/cherrypick-rdar59305532
[6.2] [test] Import locale modules explicitly in PrintFloat.swift.gyb.
2 parents 0059c42 + 69d6e44 commit aade750

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/stdlib/PrintFloat.swift.gyb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313

1414
import StdlibUnittest
1515
import SwiftPrivateLibcExtras
16-
#if canImport(Darwin)
16+
#if canImport(locale_h)
17+
import locale_h
18+
#elseif canImport(Darwin)
1719
import Darwin
1820
#elseif canImport(Glibc)
1921
import Glibc

0 commit comments

Comments
 (0)