Skip to content

Commit

Permalink
Merge pull request #1661 from compnerd/extensions
Browse files Browse the repository at this point in the history
Foundation: elide extensions on Windows to match Linux
  • Loading branch information
groue authored Nov 13, 2024
2 parents 832bc1a + c865a84 commit 0fb5998
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GRDB/Core/Support/Foundation/NSNumber.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if !os(Linux)
#if !os(Linux) && !os(Windows)
import Foundation

private let integerRoundingBehavior = NSDecimalNumberHandler(
Expand Down
2 changes: 1 addition & 1 deletion GRDB/Core/Support/Foundation/URL.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

#if !os(Linux)
#if !os(Linux) && !os(Windows)
/// NSURL stores its absoluteString in the database.
extension NSURL: DatabaseValueConvertible {

Expand Down
2 changes: 1 addition & 1 deletion GRDB/Core/Support/Foundation/UUID.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0fb5998

Please sign in to comment.