060940fee8c39d1c924fb9af64166220739349ec
[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 /* Default visibility */
21 #define DEFAULT_VISIBILITY __attribute__((visibility("default")))
22
23 /* Start with debug message logging enabled */
24 /* #undef ENABLE_DEBUG_LOGGING */
25
26 /* Message logging */
27 #define ENABLE_LOGGING
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 the compiler supports _Thread_local. */
33 #define HAVE_CC_THREAD_LOCAL 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 /* Linux backend */
45 #define OS_LINUX 1
46
47 /* Use POSIX poll() implementation */
48 #define POLL_POSIX 1
49
50 /* Use POSIX Threads */
51 #define THREADS_POSIX 1
52
53 /* Enable output to system log */
54 #define USE_SYSTEM_LOGGING_FACILITY 1