diff --git a/GRDB/Core/Support/Foundation/NSNumber.swift b/GRDB/Core/Support/Foundation/NSNumber.swift index 9867e8f43f..1c5778c19e 100644 --- a/GRDB/Core/Support/Foundation/NSNumber.swift +++ b/GRDB/Core/Support/Foundation/NSNumber.swift @@ -1,4 +1,4 @@ -#if !os(Linux) +#if !os(Linux) && !os(Windows) import Foundation private let integerRoundingBehavior = NSDecimalNumberHandler( diff --git a/GRDB/Core/Support/Foundation/URL.swift b/GRDB/Core/Support/Foundation/URL.swift index cf4b96d120..6db66ec3b8 100644 --- a/GRDB/Core/Support/Foundation/URL.swift +++ b/GRDB/Core/Support/Foundation/URL.swift @@ -1,6 +1,6 @@ import Foundation -#if !os(Linux) +#if !os(Linux) && !os(Windows) /// NSURL stores its absoluteString in the database. extension NSURL: DatabaseValueConvertible { diff --git a/GRDB/Core/Support/Foundation/UUID.swift b/GRDB/Core/Support/Foundation/UUID.swift index 1ebca9d847..7595b53ef6 100644 --- a/GRDB/Core/Support/Foundation/UUID.swift +++ b/GRDB/Core/Support/Foundation/UUID.swift @@ -9,7 +9,7 @@ import SQLite3 import Foundation -#if !os(Linux) +#if !os(Linux) && !os(Windows) /// NSUUID adopts DatabaseValueConvertible extension NSUUID: DatabaseValueConvertible { /// Returns a BLOB database value containing the uuid bytes.