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 /* Define to the attribute for default visibility. */
21 #define DEFAULT_VISIBILITY __attribute__ ((visibility ("default")))
23 /* Define to 1 to start with debug message logging enabled. */
24 /* #undef ENABLE_DEBUG_LOGGING */
26 /* Define to 1 to enable message logging. */
27 #define ENABLE_LOGGING 1
29 /* Define to 1 if you have the <asm/types.h> header file. */
30 #define HAVE_ASM_TYPES_H 1
32 /* Define to 1 if you have the `clock_gettime' function. */
33 #define HAVE_CLOCK_GETTIME 1
35 /* Define to 1 if the system has the type `nfds_t'. */
38 /* Define to 1 if you have the `pipe2' function. */
41 /* Define to 1 if you have the <sys/time.h> header file. */
42 #define HAVE_SYS_TIME_H 1
44 /* Define to 1 if compiling for a POSIX platform. */
45 #define PLATFORM_POSIX 1
47 /* Define to the attribute for enabling parameter checks on printf-like
49 #define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
51 /* Define to 1 to output logging messages to the systemwide log. */
52 #define USE_SYSTEM_LOGGING_FACILITY 1
54 /* Enable GNU extensions. */