[Gardening][benchmark] Import MSVCRT on Windows

Import functions from standard C library on Windows.
This commit is contained in:
Pavol Vaskovic
2019-07-01 16:06:27 +02:00
parent 7c951410f4
commit 5190db0acd
8 changed files with 16 additions and 1 deletions

View File

@@ -13,6 +13,8 @@
import TestsUtils
#if os(Linux)
import Glibc
#elseif os(Windows)
import MSVCRT
#else
import Darwin
#endif

View File

@@ -4,6 +4,8 @@
#if os(Linux)
import Glibc
#elseif os(Windows)
import MSVCRT
#else
import Darwin
#endif

View File

@@ -13,6 +13,8 @@
import TestsUtils
#if os(Linux)
import Glibc
#elseif os(Windows)
import MSVCRT
#else
import Darwin
#endif

View File

@@ -13,6 +13,8 @@
import TestsUtils
#if os(Linux)
import Glibc
#elseif os(Windows)
import MSVCRT
#else
import Darwin
#endif

View File

@@ -13,6 +13,8 @@
import TestsUtils
#if os(Linux)
import Glibc
#elseif os(Windows)
import MSVCRT
#else
import Darwin
#endif
@@ -89,4 +91,3 @@ public func run_Walsh(_ N: Int) {
InverseWalshTransform(&data2)
}
}

View File

@@ -12,6 +12,8 @@
#if os(Linux)
import Glibc
#elseif os(Windows)
import MSVCRT
#else
import Darwin
#endif

View File

@@ -12,6 +12,8 @@
#if os(Linux)
import Glibc
#elseif os(Windows)
import MSVCRT
#else
import Darwin
import LibProc

View File

@@ -12,6 +12,8 @@
#if os(Linux)
import Glibc
#elseif os(Windows)
import MSVCRT
#else
import Darwin
#endif