Skip to content

Commit 54e4994

Browse files
committed
test: repai the custom_derivative test
The test imports the C library for the math library. Add a case for Windows.
1 parent 3039ca4 commit 54e4994

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/AutoDiff/validation-test/custom_derivatives.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import StdlibUnittest
55
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
66
import Darwin.C
7+
#elseif os(Windows)
8+
import ucrt
79
#else
810
import Glibc
911
#endif

0 commit comments

Comments
 (0)