Changeset 709 for code/branches/FICN/src/misc
- Timestamp:
- Dec 28, 2007, 10:43:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/misc/Sleep.h
r708 r709 1 1 // hack for the usleep/Sleep problem 2 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN322 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) 3 3 # include <windows.h> 4 4 # define usleep(x) Sleep((x)/1000) 5 #el if ORXONOX_PLATFORM == ORXONOX_PLATFORM_LINUX5 #else 6 6 # include <unistd.h> 7 7 #endif
Note: See TracChangeset
for help on using the changeset viewer.