aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusbx/define-timespec-to-timeinterval.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/libusbx/define-timespec-to-timeinterval.patch')
-rw-r--r--main/libusbx/define-timespec-to-timeinterval.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/main/libusbx/define-timespec-to-timeinterval.patch b/main/libusbx/define-timespec-to-timeinterval.patch
deleted file mode 100644
index 3a276bc4c9..0000000000
--- a/main/libusbx/define-timespec-to-timeinterval.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- libusbx-1.0.17.orig/libusb/io.c
-+++ libusbx-1.0.17/libusb/io.c
-@@ -38,6 +38,14 @@
- #include "libusbi.h"
- #include "hotplug.h"
-
-+#ifndef TIMESPEC_TO_TIMEVAL
-+#define TIMESPEC_TO_TIMEVAL(tv, ts) \
-+ do { \
-+ (tv)->tv_sec = (ts)->tv_sec; \
-+ (tv)->tv_usec = (ts)->tv_nsec / 1000; \
-+ } while (0)
-+#endif
-+
- /**
- * \page io Synchronous and asynchronous device I/O
- *