Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/util/Sleep.h @ 749

Last change on this file since 749 was 742, checked in by landauf, 17 years ago

moved all files from misc and the tinyxml folder into the new util folder

File size: 192 bytes
RevLine 
[708]1// hack for the usleep/Sleep problem
[709]2#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
[708]3#  include <windows.h>
4#  define usleep(x) Sleep((x)/1000)
[709]5#else
[708]6#  include <unistd.h>
7#endif
Note: See TracBrowser for help on using the repository browser.