libusb/os/threads_windows.c: In function 'usbi_cond_timedwait':
libusb/os/threads_windows.c:190:2: warning: nested extern declaration of 'epoch_time' [-Wnested-externs]
#define usbi_sleep(ms) SleepEx(ms, TRUE)
#endif
+extern const uint64_t epoch_time;
+
int usbi_mutex_init(usbi_mutex_t *mutex,
const usbi_mutexattr_t *attr) {
UNUSED(attr);
struct timeval targ_time, cur_time, delta_time;
struct timespec cur_time_ns;
DWORD millis;
- extern const uint64_t epoch_time;
#ifdef _WIN32_WCE
SYSTEMTIME st;
-#define LIBUSB_NANO 10613
+#define LIBUSB_NANO 10614