mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-25 19:45:44 +01:00
build.rs: fix build on Windows with gcc
This commit is contained in:
parent
5ff1486f69
commit
3537b5823f
2
build.rs
2
build.rs
@ -46,6 +46,8 @@ fn handle_binary(config: &BaseAttributes) {
|
|||||||
|
|
||||||
cc::Build::new()
|
cc::Build::new()
|
||||||
.cpp(true)
|
.cpp(true)
|
||||||
|
.define("_WIN32_WINNT", Some("0x0600"))
|
||||||
|
.define("WINVER", Some("0x0600"))
|
||||||
.file("src/native/interop.cpp")
|
.file("src/native/interop.cpp")
|
||||||
.compile("interop");
|
.compile("interop");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user