lib: Splitting up configfile.cc to contain Unix and Windows support in separate sourc...
[barry.git] / android / jni / libusb / config.h
blob068094b4ad7ab15b5551bdaad8353fe508748c1a
1 #define ENABLE_LOGGING
2 #define OS_LINUX
3 #define API_EXPORTED
5 #ifndef TIMESPEC_TO_TIMEVAL
6 #define TIMESPEC_TO_TIMEVAL(tv, ts) \
7 do { \
8 (tv)->tv_sec = (ts)->tv_sec; \
9 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
10 } while (0)
11 #endif