Merge pull request #232 from Veykril/master

Do not reexport ffi imgui functions on windows
This commit is contained in:
Joonas Javanainen 2019-07-09 00:58:19 +03:00 committed by GitHub
commit 9ed1394fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ fn main() -> io::Result<()> {
build.cpp(true);
// Disabled due to linking issues
build
.define("CIMGUI_NO_EXPORT", None)
.define("IMGUI_DISABLE_WIN32_FUNCTIONS", None)
.define("IMGUI_DISABLE_OSX_FUNCTIONS", None);
for path in &CPP_FILES {