Blame android/config.h

Packit 0a8e54
/*
Packit 0a8e54
 * Android build config for libusb
Packit 0a8e54
 * Copyright © 2012-2013 RealVNC Ltd. <toby.gray@realvnc.com>
Packit 0a8e54
 *
Packit 0a8e54
 * This library is free software; you can redistribute it and/or
Packit 0a8e54
 * modify it under the terms of the GNU Lesser General Public
Packit 0a8e54
 * License as published by the Free Software Foundation; either
Packit 0a8e54
 * version 2.1 of the License, or (at your option) any later version.
Packit 0a8e54
 *
Packit 0a8e54
 * This library is distributed in the hope that it will be useful,
Packit 0a8e54
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 0a8e54
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 0a8e54
 * Lesser General Public License for more details.
Packit 0a8e54
 *
Packit 0a8e54
 * You should have received a copy of the GNU Lesser General Public
Packit 0a8e54
 * License along with this library; if not, write to the Free Software
Packit 0a8e54
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Packit 0a8e54
 */
Packit 0a8e54
Packit 0a8e54
/* Start with debug message logging enabled */
Packit 0a8e54
/* #undef ENABLE_DEBUG_LOGGING */
Packit 0a8e54
Packit 0a8e54
/* Message logging */
Packit 0a8e54
#define ENABLE_LOGGING
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <dlfcn.h> header file. */
Packit 0a8e54
#define HAVE_DLFCN_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <inttypes.h> header file. */
Packit 0a8e54
#define HAVE_INTTYPES_H 1
Packit 0a8e54
Packit 0a8e54
/* Linux backend */
Packit 0a8e54
#define OS_LINUX 1
Packit 0a8e54
Packit 0a8e54
/* Enable output to system log */
Packit 0a8e54
#define USE_SYSTEM_LOGGING_FACILITY 1
Packit 0a8e54
Packit 0a8e54
/* type of second poll() argument */
Packit 0a8e54
#define POLL_NFDS_TYPE nfds_t
Packit 0a8e54
Packit 0a8e54
/* Use POSIX Threads */
Packit 0a8e54
#define THREADS_POSIX 1
Packit 0a8e54
Packit 0a8e54
/* Default visibility */
Packit 0a8e54
#define DEFAULT_VISIBILITY __attribute__((visibility("default")))
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <memory.h> header file. */
Packit 0a8e54
#define HAVE_MEMORY_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <poll.h> header file. */
Packit 0a8e54
#define HAVE_POLL_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <sys/stat.h> header file. */
Packit 0a8e54
#define HAVE_SYS_STAT_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <sys/time.h> header file. */
Packit 0a8e54
#define HAVE_SYS_TIME_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <sys/types.h> header file. */
Packit 0a8e54
#define HAVE_SYS_TYPES_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <unistd.h> header file. */
Packit 0a8e54
#define HAVE_UNISTD_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <linux/filter.h> header file. */
Packit 0a8e54
#define HAVE_LINUX_FILTER_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <linux/netlink.h> header file. */
Packit 0a8e54
#define HAVE_LINUX_NETLINK_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <asm/types.h> header file. */
Packit 0a8e54
#define HAVE_ASM_TYPES_H 1
Packit 0a8e54
Packit 0a8e54
/* Define to 1 if you have the <sys/socket.h> header file. */
Packit 0a8e54
#define HAVE_SYS_SOCKET_H 1