Skip to content

Commit daba9b6

Browse files
committed
[test] Import locale modules explicitly in PrintFloat.swift.gyb.
Darwin module is being split up and will eventually stop importing locale APIs.
1 parent e42b564 commit daba9b6

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)