|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Platform Specific Includes ////////////////////////////////////////////////// |
|
|
// Platform Specific Includes ////////////////////////////////////////////////// |
|
|
|
|
|
|
|
|
#ifdef WIN32 |
|
|
|
|
|
|
|
|
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) |
|
|
#include <windows.h> |
|
|
#include <windows.h> |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Abstracted doRawSleep() function //////////////////////////////////////////// |
|
|
// Abstracted doRawSleep() function //////////////////////////////////////////// |
|
|
|
|
|
|
|
|
#ifdef WIN32 |
|
|
|
|
|
|
|
|
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) |
|
|
|
|
|
|
|
|
// In a WIN32 environment Sleep() is defined and it works in milliseconds so |
|
|
// In a WIN32 environment Sleep() is defined and it works in milliseconds so |
|
|
// we will use that for doRawSleep(). It's important to note that under normal |
|
|
// we will use that for doRawSleep(). It's important to note that under normal |