We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79237aa commit abc6af1Copy full SHA for abc6af1
Package.swift
@@ -35,9 +35,8 @@ let javaIncludePath = "\(javaHome)/include"
35
let javaPlatformIncludePath = "\(javaIncludePath)/linux"
36
#elseif os(macOS)
37
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.")
+#elseif os(Windows)
+ let javaPlatformIncludePath = "\(javaIncludePath)/win32"
41
#endif
42
43
let package = Package(
0 commit comments