Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8293


Ignore:
Timestamp:
Apr 22, 2011, 3:38:10 AM (14 years ago)
Author:
rgrieder
Message:

Trying to operate a console while there is none is not exactly well defined behaviour…
This happened when compiling with ORXONOX_USE_WINMAIN.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/src/libraries/core/Core.cc

    r8284 r8293  
    8181
    8282    SetCommandLineArgument(settingsFile, "orxonox.ini").information("THE configuration file");
    83 #ifndef ORXONOX_PLATFORM_APPLE
     83#if !defined(ORXONOX_PLATFORM_APPLE) && !defined(ORXONOX_USE_WINMAIN)
    8484    SetCommandLineSwitch(noIOConsole).information("Use this if you don't want to use the IOConsole (for instance for Lua debugging)");
    8585#endif
     
    158158        this->setConfigValues();
    159159
    160 #ifndef ORXONOX_PLATFORM_APPLE
     160#if !defined(ORXONOX_PLATFORM_APPLE) && !defined(ORXONOX_USE_WINMAIN)
    161161        // Create persistent IO console
    162162        if (CommandLineParser::getValue("noIOConsole").getBool())
Note: See TracChangeset for help on using the changeset viewer.