Toby Gray | 7bfbb8b | 2013-07-09 16:43:53 +0100 | [diff] [blame] | 1 | /* |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 2 | * Android build config for libusb |
Toby Gray | 7bfbb8b | 2013-07-09 16:43:53 +0100 | [diff] [blame] | 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 | |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 20 | /* Define to the attribute for default visibility. */ |
| 21 | #define DEFAULT_VISIBILITY __attribute__ ((visibility ("default"))) |
Chris Dickens | aaff15d | 2020-01-22 15:53:17 -0800 | [diff] [blame] | 22 | |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 23 | /* Define to 1 to start with debug message logging enabled. */ |
Toby Gray | 7bfbb8b | 2013-07-09 16:43:53 +0100 | [diff] [blame] | 24 | /* #undef ENABLE_DEBUG_LOGGING */ |
| 25 | |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 26 | /* Define to 1 to enable message logging. */ |
| 27 | #define ENABLE_LOGGING 1 |
Toby Gray | 7bfbb8b | 2013-07-09 16:43:53 +0100 | [diff] [blame] | 28 | |
Chris Dickens | aaff15d | 2020-01-22 15:53:17 -0800 | [diff] [blame] | 29 | /* Define to 1 if you have the <asm/types.h> header file. */ |
| 30 | #define HAVE_ASM_TYPES_H 1 |
Toby Gray | 7bfbb8b | 2013-07-09 16:43:53 +0100 | [diff] [blame] | 31 | |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 32 | /* Define to 1 if you have the `clock_gettime' function. */ |
| 33 | #define HAVE_CLOCK_GETTIME 1 |
Chris Dickens | 30b56ba | 2020-03-27 00:03:41 -0700 | [diff] [blame] | 34 | |
Chris Dickens | d5bb64b | 2020-01-22 17:39:14 -0800 | [diff] [blame] | 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 | |
Chris Dickens | aaff15d | 2020-01-22 15:53:17 -0800 | [diff] [blame] | 41 | /* Define to 1 if you have the <sys/time.h> header file. */ |
| 42 | #define HAVE_SYS_TIME_H 1 |
Toby Gray | 7bfbb8b | 2013-07-09 16:43:53 +0100 | [diff] [blame] | 43 | |
Chris Dickens | da5df37 | 2020-08-26 15:42:39 -0700 | [diff] [blame] | 44 | /* Define to 1 if compiling for a POSIX platform. */ |
| 45 | #define PLATFORM_POSIX 1 |
Toby Gray | 7bfbb8b | 2013-07-09 16:43:53 +0100 | [diff] [blame] | 46 | |
Chris Dickens | f2e551a | 2020-11-27 15:22:29 -0800 | [diff] [blame] | 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 | |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 51 | /* Define to 1 to output logging messages to the systemwide log. */ |
Chris Dickens | aaff15d | 2020-01-22 15:53:17 -0800 | [diff] [blame] | 52 | #define USE_SYSTEM_LOGGING_FACILITY 1 |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 53 | |
| 54 | /* Enable GNU extensions. */ |
| 55 | #define _GNU_SOURCE 1 |