From c667ba258491f95e477e3bdebdf15e7d0d5260e3 Mon Sep 17 00:00:00 2001 From: mathusummut Date: Mon, 5 Nov 2018 23:37:18 +0100 Subject: [PATCH] Fixed Windows build --- source/glest_game/main/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 499baf857..d4a80a8c3 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -8428,8 +8428,10 @@ namespace Game { } //end namespace int main(int argc, char **argv) { +#ifndef _WIN32 setenv("DBUS_FATAL_WARNINGS", "0", 1); unsetenv("XMODIFIERS"); +#endif int result = mainSetup(argc,argv); if (result == 0) result = Game::glestMainWrapper(argc, argv);