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:
parent
b3dbe146ad
commit
80d00323de
2
winbuild/dist/include/config.h
vendored
2
winbuild/dist/include/config.h
vendored
@ -203,6 +203,8 @@ inline void* memmem (void* buf, size_t buflen, void* pat, size_t patlen)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define usleep(x) Sleep((x)/1000)
|
||||||
|
#define sleep(x) Sleep((x)*1000)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user