diff options
Diffstat (limited to 'src/CommonAPI/types.h')
-rwxr-xr-x | src/CommonAPI/types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CommonAPI/types.h b/src/CommonAPI/types.h index c4f41e3..dcfc4e9 100755 --- a/src/CommonAPI/types.h +++ b/src/CommonAPI/types.h @@ -24,6 +24,12 @@ static void f(void) #endif + +#ifdef WIN32 +#define usleep(micSec) \ + std::this_thread::sleep_for(std::chrono::microseconds(micSec)) +#endif + namespace CommonAPI { enum class AvailabilityStatus { |