Provide nanosleep() equivalent for windows.
diff --git a/miner.h b/miner.h
index 7393ebd..6092b9c 100644
--- a/miner.h
+++ b/miner.h
@@ -274,6 +274,10 @@ struct cgpu_info {
#define PTH(thr) ((thr)->pth)
#else
#define PTH(thr) ((thr)->pth.p)
+static inline void nanosleep(struct timespec *rgtp, void *__unused)
+{
+ Sleep(rgtp->tv_nsec / 1000000);
+}
#endif
struct thread_q {