summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorKuangye Guo <kuangye@ciinow.com>2013-10-21 18:36:15 -0700
committerPete Batard <pete@akeo.ie>2013-12-28 23:03:32 +0000
commit7e3de5de095a493accc77081fb384be8e9144250 (patch)
treea3b752134d2fc99562bf14a852e86441f38faa72 /android
parent650e22508f6d595d73d565423cb06b14049bd3af (diff)
downloadlibusb-7e3de5de095a493accc77081fb384be8e9144250.tar.gz
Android: Add support for Linux/Android platforms
* Closes #154
Diffstat (limited to 'android')
-rw-r--r--android/config.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/android/config.h b/android/config.h
index c1594cf..0d0fdb7 100644
--- a/android/config.h
+++ b/android/config.h
@@ -79,12 +79,3 @@
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
-
-/* Add defines which Android is missing */
-#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