diff options
Diffstat (limited to 'libusb/os/poll_windows.h')
-rw-r--r-- | libusb/os/poll_windows.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libusb/os/poll_windows.h b/libusb/os/poll_windows.h index 6e5bf2b..e66c321 100644 --- a/libusb/os/poll_windows.h +++ b/libusb/os/poll_windows.h @@ -95,12 +95,6 @@ struct winfd overlapped_to_winfd(OVERLAPPED* overlapped); #include <winsock.h> // defines timeval functions on DDK #endif -#if !defined(TIMESPEC_TO_TIMEVAL) -#define TIMESPEC_TO_TIMEVAL(tv, ts) { \ - (tv)->tv_sec = (long)(ts)->tv_sec; \ - (tv)->tv_usec = (long)(ts)->tv_nsec / 1000; \ -} -#endif #if !defined(timersub) #define timersub(a, b, result) \ do { \ |