mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 11:19:48 +02:00
Fixed Windows build
This commit is contained in:
@@ -8428,8 +8428,10 @@ namespace Game {
|
|||||||
} //end namespace
|
} //end namespace
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
|
#ifndef _WIN32
|
||||||
setenv("DBUS_FATAL_WARNINGS", "0", 1);
|
setenv("DBUS_FATAL_WARNINGS", "0", 1);
|
||||||
unsetenv("XMODIFIERS");
|
unsetenv("XMODIFIERS");
|
||||||
|
#endif
|
||||||
int result = mainSetup(argc,argv);
|
int result = mainSetup(argc,argv);
|
||||||
if (result == 0)
|
if (result == 0)
|
||||||
result = Game::glestMainWrapper(argc, argv);
|
result = Game::glestMainWrapper(argc, argv);
|
||||||
|
Reference in New Issue
Block a user