Skip to content

Commit 9617263

Browse files
[WASM] Fix VarArgs.swift
1 parent edc333d commit 9617263

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/stdlib/VarArgs.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import Swift
66
#if _runtime(_ObjC)
77
import Darwin
88
import CoreGraphics
9-
#elseif os(Linux) || os(FreeBSD) || os(OpenBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku) || os(WASI)
9+
#elseif os(Linux) || os(FreeBSD) || os(OpenBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
1010
import Glibc
1111
typealias CGFloat = Double
1212
#elseif os(WASI)
1313
import WASILibc
14+
typealias CGFloat = Double
1415
#elseif os(Windows)
1516
import MSVCRT
1617
#if arch(x86_64) || arch(arm64)

0 commit comments

Comments
 (0)