diff options
Diffstat (limited to '')
-rw-r--r-- | source/cSleep.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/source/cSleep.cpp b/source/cSleep.cpp index 77da5dd58..70fb06b40 100644 --- a/source/cSleep.cpp +++ b/source/cSleep.cpp @@ -1,19 +1,19 @@ -
-#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
-
-#ifndef _WIN32
- #include <unistd.h>
-#endif
-
-
-
-
-
-void cSleep::MilliSleep( unsigned int a_MilliSeconds )
-{
-#ifdef _WIN32
- Sleep(a_MilliSeconds); // Don't tick too much
-#else
- usleep(a_MilliSeconds*1000);
-#endif
-}
+ +#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules + +#ifndef _WIN32 + #include <unistd.h> +#endif + + + + + +void cSleep::MilliSleep( unsigned int a_MilliSeconds ) +{ +#ifdef _WIN32 + Sleep(a_MilliSeconds); // Don't tick too much +#else + usleep(a_MilliSeconds*1000); +#endif +} |