1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-10 04:31:03 +00:00

VS2010 build: added sleep/usleep macros

This commit is contained in:
troky 2014-01-28 23:52:33 +01:00 committed by Noel Maersk
parent b3dbe146ad
commit 80d00323de

View File

@ -203,6 +203,8 @@ inline void* memmem (void* buf, size_t buflen, void* pat, size_t patlen)
return 0;
}
#define usleep(x) Sleep((x)/1000)
#define sleep(x) Sleep((x)*1000)
#endif