Skip to content

Commit 0fb5998

Browse files
authored
Merge pull request groue#1661 from compnerd/extensions
Foundation: elide extensions on Windows to match Linux
2 parents 832bc1a + c865a84 commit 0fb5998

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)