Changeset 708 for code/branches/FICN/src/orxonox/OrxonoxPlatform.h
- Timestamp:
- Dec 28, 2007, 10:30:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/OrxonoxPlatform.h
r683 r708 220 220 typedef unsigned char uint8; 221 221 222 } 222 #ifdef ORXONOX_DOUBLE_PRECISION 223 typedef double Real; 224 #else 225 typedef float Real; 226 #endif 223 227 224 228 … … 270 274 #endif 271 275 272 273 // hack for the usleep/Sleep problem 274 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32 275 # include <windows.h> 276 # define usleep(x) Sleep((x)/1000) 277 #elif ORXONOX_PLATFORM == ORXONOX_PLATFORM_LINUX 278 # include <unistd.h> 279 #endif 280 276 } /* namespace orxonox */ 281 277 282 278 #endif /* _OrxonoxPlatform_H__ */
Note: See TracChangeset
for help on using the changeset viewer.