Changeset 1032 for code/trunk/src/orxonox/OrxonoxPlatform.h
- Timestamp:
- Apr 12, 2008, 4:08:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/OrxonoxPlatform.h
r1024 r1032 22 22 * An unknown man from the Ogre development crew 23 23 * Co-authors: 24 * Reto Grieder (OGRE --> ORXONOX)24 * Reto Grieder 25 25 * 26 26 */ 27 27 28 28 /** 29 @file OrxonoxPlatform.h29 @file 30 30 @brief Various constants for compiler, architecture and platform. It's a mere 31 31 copy of the file found in the Ogre source code (OgrePlatform.h). … … 108 108 // As a side note, if you start your message with 'Warning: ', the MSVC 109 109 // IDE actually does catch a warning :) 110 #define ORXONOX_QUOTE_INPLACE(x) # x 111 #define ORXONOX_QUOTE(x) ORXONOX_QUOTE_INPLACE(x) 112 #define ORXONOX_WARN( x ) message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" ) 110 // FIXME: Try this on linux box. Doesn't work with msvc 111 //#define ORXONOX_QUOTE_INPLACE(x) # x 112 //#define ORXONOX_QUOTE(x) ORXONOX_QUOTE_INPLACE(x) 113 //#define ORXONOX_WARN( x ) message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" ) 113 114 114 115 //---------------------------------------------------------------------------- … … 137 138 # endif 138 139 139 #endif 140 #endif /* Platform Win32 */ 140 141 //---------------------------------------------------------------------------- 141 142 … … 171 172 # define ORXONOX_UNICODE_SUPPORT 1 172 173 173 #endif 174 #endif /* Patform Linux/Apple */ 174 175 175 176 //For apple, we always have a custom config.h file … … 191 192 // Integer formats of fixed bit width 192 193 // FIXME: consider 64 bit platforms! 193 / *typedef unsigned int uint32;194 typedef unsigned short uint16;195 typedef unsigned char uint8;*/ 194 //typedef unsigned int uint32; 195 //typedef unsigned short uint16; 196 //typedef unsigned char uint8; 196 197 197 198 #ifdef ORXONOX_DOUBLE_PRECISION … … 261 262 //# pragma warning (disable : 201) 262 263 263 #endif264 265 264 266 265 // Define the english written operators like and, or, xor 267 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 268 # include <iso646.h> 269 #endif 266 #include <iso646.h> 267 268 #endif /* ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC */ 269 270 // include visual leak detector to search for memory leaks 271 //#include <vld.h> 270 272 271 273 } /* namespace orxonox */ 272 274 273 // include visual leak detector to search for memory links274 //#include <vld.h>275 276 275 #endif /* _OrxonoxPlatform_H__ */
Note: See TracChangeset
for help on using the changeset viewer.