Changeset 2639 for code/branches/buildsystem2/src/orxonox
- Timestamp:
- Feb 8, 2009, 12:10:57 AM (16 years ago)
- Location:
- code/branches/buildsystem2/src/orxonox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/src/orxonox/Main.cc
r2619 r2639 53 53 #include "gamestates/GSIOConsole.h" 54 54 55 #if ORXONOX_PLATFORM ==ORXONOX_PLATFORM_APPLE55 #ifdef ORXONOX_PLATFORM_APPLE 56 56 #include <CoreFoundation/CoreFoundation.h> 57 57 -
code/branches/buildsystem2/src/orxonox/OrxonoxPrereqs.h
r2619 r2639 41 41 //----------------------------------------------------------------------- 42 42 #define ORXONOX_NO_EXPORTS // This is an executable that needs no exports 43 #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !(defined(ORXONOX_STATIC_BUILD) || defined(ORXONOX_NO_EXPORTS))43 #if defined(ORXONOX_PLATFORM_WINDOWS) && !(defined(ORXONOX_STATIC_BUILD) || defined(ORXONOX_NO_EXPORTS)) 44 44 # ifdef ORXONOX_SHARED_BUILD 45 45 # define _OrxonoxExport __declspec(dllexport) -
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; -
code/branches/buildsystem2/src/orxonox/pch/havepch/OrxonoxStableHeaders.h
r2567 r2639 57 57 58 58 //Get around Windows hackery (windows.h is included by Ogre.h) 59 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN3259 #ifdef ORXONOX_PLATFORM_WINDOWS 60 60 # ifdef max 61 61 # undef max … … 100 100 //#endif /* ifdef NDEBUG */ 101 101 102 #endif /* ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && !defined(ORXONOX_DISABLE_PCH) */102 #endif /* defined(ORXONOX_ENABLE_PCH) */ 103 103 104 104 #endif /* _OrxonoxStableHeaders_H__ */
Note: See TracChangeset
for help on using the changeset viewer.