2 * Android build config for libusb
3 * Copyright © 2012-2013 RealVNC Ltd. <toby.gray@realvnc.com>
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.
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.
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
20 /* Start with debug message logging enabled */
21 /* #undef ENABLE_DEBUG_LOGGING */
24 #define ENABLE_LOGGING
26 /* Define to 1 if you have the <dlfcn.h> header file. */
27 #define HAVE_DLFCN_H 1
29 /* Define to 1 if you have the <inttypes.h> header file. */
30 #define HAVE_INTTYPES_H 1
35 /* Enable output to system log */
36 #define USE_SYSTEM_LOGGING_FACILITY 1
38 /* type of second poll() argument */
39 #define POLL_NFDS_TYPE nfds_t
41 /* Use POSIX Threads */
42 #define THREADS_POSIX 1
44 /* Default visibility */
45 #define DEFAULT_VISIBILITY __attribute__((visibility("default")))
47 /* Define to 1 if you have the <memory.h> header file. */
48 #define HAVE_MEMORY_H 1
50 /* Define to 1 if you have the <poll.h> header file. */
53 /* Define to 1 if you have the <sys/stat.h> header file. */
54 #define HAVE_SYS_STAT_H 1
56 /* Define to 1 if you have the <sys/time.h> header file. */
57 #define HAVE_SYS_TIME_H 1
59 /* Define to 1 if you have the <sys/types.h> header file. */
60 #define HAVE_SYS_TYPES_H 1
62 /* Define to 1 if you have the <unistd.h> header file. */
63 #define HAVE_UNISTD_H 1
65 /* Define to 1 if you have the <linux/filter.h> header file. */
66 #define HAVE_LINUX_FILTER_H 1
68 /* Define to 1 if you have the <linux/netlink.h> header file. */
69 #define HAVE_LINUX_NETLINK_H 1
71 /* Define to 1 if you have the <asm/types.h> header file. */
72 #define HAVE_ASM_TYPES_H 1
74 /* Define to 1 if you have the <sys/socket.h> header file. */
75 #define HAVE_SYS_SOCKET_H 1