repo.or.cz
/
barry.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lib: Splitting up configfile.cc to contain Unix and Windows support in separate sourc...
[barry.git]
/
android
/
jni
/
libusb
/
config.h
blob
068094b4ad7ab15b5551bdaad8353fe508748c1a
1
#define ENABLE_LOGGING
2
#define OS_LINUX
3
#define API_EXPORTED
4
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