core: Suppress hotplug events during initial enumeration
[platform/upstream/libusb.git] / android / config.h
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 /* Define to the attribute for default visibility. */
21 #define DEFAULT_VISIBILITY __attribute__ ((visibility ("default")))
22
23 /* Define to 1 to start with debug message logging enabled. */
24 /* #undef ENABLE_DEBUG_LOGGING */
25
26 /* Define to 1 to enable message logging. */
27 #define ENABLE_LOGGING 1
28
29 /* Define to 1 if you have the <asm/types.h> header file. */
30 #define HAVE_ASM_TYPES_H 1
31
32 /* Define to 1 if you have the `clock_gettime' function. */
33 #define HAVE_CLOCK_GETTIME 1
34
35 /* Define to 1 if the system has the type `nfds_t'. */
36 #define HAVE_NFDS_T 1
37
38 /* Define to 1 if you have the `pipe2' function. */
39 #define HAVE_PIPE2 1
40
41 /* Define to 1 if you have the <sys/time.h> header file. */
42 #define HAVE_SYS_TIME_H 1
43
44 /* Define to 1 if compiling for a POSIX platform. */
45 #define PLATFORM_POSIX 1
46
47 /* Define to the attribute for enabling parameter checks on printf-like
48    functions. */
49 #define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
50
51 /* Define to 1 to output logging messages to the systemwide log. */
52 #define USE_SYSTEM_LOGGING_FACILITY 1
53
54 /* Enable GNU extensions. */
55 #define _GNU_SOURCE 1