diff options
author | Kuangye Guo <kuangye@ciinow.com> | 2013-10-21 18:36:15 -0700 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2013-12-28 23:03:32 +0000 |
commit | 7e3de5de095a493accc77081fb384be8e9144250 (patch) | |
tree | a3b752134d2fc99562bf14a852e86441f38faa72 /android/config.h | |
parent | 650e22508f6d595d73d565423cb06b14049bd3af (diff) | |
download | libusb-7e3de5de095a493accc77081fb384be8e9144250.tar.gz |
Android: Add support for Linux/Android platforms
* Closes #154
Diffstat (limited to 'android/config.h')
-rw-r--r-- | android/config.h | 9 |
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 |