1 /*
2  * Android build config for libusb
3  * Copyright © 2012-2013 RealVNC Ltd. <toby.gray@realvnc.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 /* Start with debug message logging enabled */
21 /* #undef ENABLE_DEBUG_LOGGING */
22 
23 /* Message logging */
24 #define ENABLE_LOGGING
25 
26 /* Define to 1 if you have the <dlfcn.h> header file. */
27 #define HAVE_DLFCN_H 1
28 
29 /* Define to 1 if you have the `gettimeofday' function. */
30 #define HAVE_GETTIMEOFDAY 1
31 
32 /* Define to 1 if you have the <inttypes.h> header file. */
33 #define HAVE_INTTYPES_H 1
34 
35 /* Linux backend */
36 #define OS_LINUX 1
37 
38 /* Enable output to system log */
39 #define USE_SYSTEM_LOGGING_FACILITY 1
40 
41 /* type of second poll() argument */
42 #define POLL_NFDS_TYPE nfds_t
43 
44 /* Use POSIX Threads */
45 #define THREADS_POSIX 1
46 
47 /* Default visibility */
48 #define DEFAULT_VISIBILITY __attribute__((visibility("default")))
49 
50 /* Define to 1 if you have the <memory.h> header file. */
51 #define HAVE_MEMORY_H 1
52 
53 /* Define to 1 if you have the <poll.h> header file. */
54 #define HAVE_POLL_H 1
55 
56 /* Define to 1 if you have the <signal.h> header file. */
57 #define HAVE_SIGNAL_H 1
58 
59 /* Define to 1 if you have the <sys/stat.h> header file. */
60 #define HAVE_SYS_STAT_H 1
61 
62 /* Define to 1 if you have the <sys/time.h> header file. */
63 #define HAVE_SYS_TIME_H 1
64 
65 /* Define to 1 if you have the <sys/types.h> header file. */
66 #define HAVE_SYS_TYPES_H 1
67 
68 /* Define to 1 if you have the <unistd.h> header file. */
69 #define HAVE_UNISTD_H 1
70 
71 /* Define to 1 if you have the <linux/filter.h> header file. */
72 #define HAVE_LINUX_FILTER_H 1
73 
74 /* Define to 1 if you have the <linux/netlink.h> header file. */
75 #define HAVE_LINUX_NETLINK_H 1
76 
77 /* Define to 1 if you have the <asm/types.h> header file. */
78 #define HAVE_ASM_TYPES_H 1
79 
80 /* Define to 1 if you have the <sys/socket.h> header file. */
81 #define HAVE_SYS_SOCKET_H 1
82