Skip to content

Commit c865a84

Browse files
committed
Foundation: elide extensions on Windows to match Linux
Similar to Linux, elide some extensions on Windows. This is required to build this module on Windows.
1 parent 3ecb5c5 commit c865a84

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

GRDB/Core/Support/Foundation/NSNumber.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !os(Linux)
1+
#if !os(Linux) && !os(Windows)
22
import Foundation
33

44
private let integerRoundingBehavior = NSDecimalNumberHandler(

GRDB/Core/Support/Foundation/URL.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
#if !os(Linux)
3+
#if !os(Linux) && !os(Windows)
44
/// NSURL stores its absoluteString in the database.
55
extension NSURL: DatabaseValueConvertible {
66

GRDB/Core/Support/Foundation/UUID.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import SQLite3
99

1010
import Foundation
1111

12-
#if !os(Linux)
12+
#if !os(Linux) && !os(Windows)
1313
/// NSUUID adopts DatabaseValueConvertible
1414
extension NSUUID: DatabaseValueConvertible {
1515
/// Returns a BLOB database value containing the uuid bytes.

0 commit comments

Comments
 (0)