Changeset 1414 for code/branches/network/src/util
- Timestamp:
- May 24, 2008, 10:08:42 PM (17 years ago)
- Location:
- code/branches/network/src/util
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/util/OrxonoxPlatform.h
r1411 r1414 36 36 #define _OrxonoxPlatform_H__ 37 37 38 namespace orxonox {39 38 /* Initial platform/compiler-related stuff to set. 40 39 */ … … 191 190 #endif 192 191 193 // Integer formats of fixed bit width 194 // FIXME: consider 64 bit platforms! 195 //typedef unsigned int uint32; 196 //typedef unsigned short uint16; 197 //typedef unsigned char uint8; 198 // proper approach 199 192 //----------------------------------------------------------------------- 193 // fixed width integers 194 //----------------------------------------------------------------------- 195 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 196 typedef __int8 int8_t; 197 typedef __int16 int16_t; 198 typedef __int32 int32_t; 199 typedef __int64 int64_t; 200 typedef unsigned __int8 uint8_t; 201 typedef unsigned __int16 uint16_t; 202 typedef unsigned __int32 uint32_t; 203 typedef unsigned __int64 uint64_t; 204 #else 205 # include "inttypes.h" 206 #endif 207 208 namespace orxonox { 200 209 #ifdef ORXONOX_DOUBLE_PRECISION 201 210 typedef double Real; … … 203 212 typedef float Real; 204 213 #endif 214 } 205 215 206 216 … … 270 280 //#include <vld.h> 271 281 272 } /* namespace orxonox */273 274 282 #endif /* _OrxonoxPlatform_H__ */ -
code/branches/network/src/util/UtilPrereqs.h
r1062 r1414 35 35 #define _UtilPrereqs_H__ 36 36 37 #include " OrxonoxPlatform.h"37 #include "util/OrxonoxPlatform.h" 38 38 39 39 //-----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.