Skip to content

Commit 69d6e44

Browse files
committed
[6.2] [test] Import locale modules explicitly in PrintFloat.swift.gyb.
Darwin module is being split up and will eventually stop importing locale APIs. rdar://159305532
1 parent 6713168 commit 69d6e44

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)