Skip to content

Commit c47a697

Browse files
authored
Merge pull request #162 from compnerd/search
2 parents 7eedf40 + 2b8e445 commit c47a697

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Package.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ let javaIncludePath = "\(javaHome)/include"
3535
let javaPlatformIncludePath = "\(javaIncludePath)/linux"
3636
#elseif os(macOS)
3737
let javaPlatformIncludePath = "\(javaIncludePath)/darwin"
38-
#else
39-
// TODO: Handle windows as well
40-
#error("Currently only macOS and Linux platforms are supported, this may change in the future.")
38+
#elseif os(Windows)
39+
let javaPlatformIncludePath = "\(javaIncludePath)/win32"
4140
#endif
4241

4342
let package = Package(

0 commit comments

Comments
 (0)