Skip to content

Commit 93ec88c

Browse files
authored
Merge pull request #80089 from rjmansfield/printfloat-locale-import
[test] Import locale modules explicitly in PrintFloat.swift.gyb.
2 parents 9b23598 + daba9b6 commit 93ec88c

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)