Skip to content

Commit d365616

Browse files
[WASM] Add WASI OS condition for stdlib/public/Differentiation/TgmathDerivatives.swift.gyb
1 parent 9c088df commit d365616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Differentiation/TgmathDerivatives.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Swift
1616

1717
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
1818
import Darwin.C.tgmath
19-
#elseif os(Linux) || os(FreeBSD) || os(OpenBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
19+
#elseif os(Linux) || os(FreeBSD) || os(OpenBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku) || os(WASI)
2020
import Glibc
2121
#elseif os(Windows)
2222
import MSVCRT

0 commit comments

Comments
 (0)