Skip to content

Commit

Permalink
Datasets: import FoundationNetworking if possible (#323)
Browse files Browse the repository at this point in the history
This ensures that we import FoundationNetworking whenever available.
This is needed when using SwiftFoundation on Darwin or building on
Windows.
  • Loading branch information
compnerd committed Feb 15, 2020
1 parent d315cba commit 133b4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Datasets/CoLA/DataUtilities.swift
Expand Up @@ -16,7 +16,7 @@

import Foundation

#if os(Linux)
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

Expand Down

0 comments on commit 133b4a9

Please sign in to comment.