Changeset 2639 for code/branches/buildsystem2/src/orxonox/gamestates
- Timestamp:
- Feb 8, 2009, 12:10:57 AM (16 years ago)
- Location:
- code/branches/buildsystem2/src/orxonox/gamestates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/src/orxonox/gamestates/GSGraphics.cc
r2534 r2639 217 217 delete this->ogreRoot_; 218 218 219 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32219 #ifdef ORXONOX_PLATFORM_WINDOWS 220 220 // delete the ogre log and the logManager (since we have created it). 221 221 this->ogreLogger_->getDefaultLog()->removeListener(this); … … 307 307 308 308 // TODO: LogManager doesn't work on oli platform. The why is yet unknown. 309 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32309 #ifdef ORXONOX_PLATFORM_WINDOWS 310 310 // create a new logManager 311 311 ogreLogger_ = new Ogre::LogManager(); … … 355 355 356 356 #if 0 // Ogre 1.4.3 doesn't yet support setDebugOutputEnabled(.) 357 #if ORXONOX_PLATFORM != ORXONOX_PLATFORM_WIN32357 #ifndef ORXONOX_PLATFORM_WINDOWS 358 358 // tame the ogre ouput so we don't get all the mess in the console 359 359 Ogre::Log* defaultLog = Ogre::LogManager::getSingleton().getDefaultLog(); -
code/branches/buildsystem2/src/orxonox/gamestates/GSRoot.cc
r2171 r2639 44 44 #include "Settings.h" 45 45 46 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN3246 #ifdef ORXONOX_PLATFORM_WINDOWS 47 47 # ifndef WIN32_LEAN_AND_MEAN 48 48 # define WIN32_LEAN_AND_MEAN … … 165 165 void GSRoot::setThreadAffinity(unsigned int limitToCPU) 166 166 { 167 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32167 #ifdef ORXONOX_PLATFORM_WINDOWS 168 168 // Get the current process core mask 169 169 DWORD procMask;
Note: See TracChangeset
for help on using the changeset viewer.