summaryrefslogtreecommitdiff
path: root/externals/libusb/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'externals/libusb/config.h.in')
-rw-r--r--externals/libusb/config.h.in90
1 files changed, 90 insertions, 0 deletions
diff --git a/externals/libusb/config.h.in b/externals/libusb/config.h.in
new file mode 100644
index 000000000..915b7390f
--- /dev/null
+++ b/externals/libusb/config.h.in
@@ -0,0 +1,90 @@
1/* Default visibility */
2#if defined(__GNUC__) || defined(__clang__)
3 #define DEFAULT_VISIBILITY __attribute__((visibility("default")))
4#elif defined(_MSC_VER)
5 #define DEFAULT_VISIBILITY __declspec(dllexport)
6#endif
7
8/* Start with debug message logging enabled */
9#undef ENABLE_DEBUG_LOGGING
10
11/* Message logging */
12#undef ENABLE_LOGGING
13
14/* Define to 1 if you have the <asm/types.h> header file. */
15#cmakedefine HAVE_ASM_TYPES_H 1
16
17/* Define to 1 if you have the `gettimeofday' function. */
18#cmakedefine HAVE_GETTIMEOFDAY 1
19
20/* Define to 1 if you have the `udev' library (-ludev). */
21#cmakedefine HAVE_LIBUDEV 1
22
23/* Define to 1 if you have the <linux/filter.h> header file. */
24#cmakedefine HAVE_LINUX_FILTER_H 1
25
26/* Define to 1 if you have the <linux/netlink.h> header file. */
27#cmakedefine HAVE_LINUX_NETLINK_H 1
28
29/* Define to 1 if you have the <poll.h> header file. */
30#cmakedefine HAVE_POLL_H 1
31
32/* Define to 1 if you have the <signal.h> header file. */
33#cmakedefine HAVE_SIGNAL_H 1
34
35/* Define to 1 if you have the <strings.h> header file. */
36#cmakedefine HAVE_STRINGS_H 1
37
38/* Define to 1 if the system has the type `struct timespec'. */
39#cmakedefine HAVE_STRUCT_TIMESPEC 1
40
41/* syslog() function available */
42#cmakedefine HAVE_SYSLOG_FUNC 1
43
44/* Define to 1 if you have the <syslog.h> header file. */
45#cmakedefine HAVE_SYSLOG_H 1
46
47/* Define to 1 if you have the <sys/socket.h> header file. */
48#cmakedefine HAVE_SYS_SOCKET_H 1
49
50/* Define to 1 if you have the <sys/time.h> header file. */
51#cmakedefine HAVE_SYS_TIME_H 1
52
53/* Define to 1 if you have the <sys/types.h> header file. */
54#cmakedefine HAVE_SYS_TYPES_H 1
55
56/* Darwin backend */
57#cmakedefine OS_DARWIN 1
58
59/* Linux backend */
60#cmakedefine OS_LINUX 1
61
62/* NetBSD backend */
63#cmakedefine OS_NETBSD 1
64
65/* OpenBSD backend */
66#cmakedefine OS_OPENBSD 1
67
68/* Windows backend */
69#cmakedefine OS_WINDOWS 1
70
71/* type of second poll() argument */
72#define POLL_NFDS_TYPE @POLL_NFDS_TYPE@
73
74/* Use POSIX Threads */
75#cmakedefine THREADS_POSIX
76
77/* timerfd headers available */
78#cmakedefine USBI_TIMERFD_AVAILABLE 1
79
80/* Enable output to system log */
81#define USE_SYSTEM_LOGGING_FACILITY 1
82
83/* Use udev for device enumeration/hotplug */
84#cmakedefine USE_UDEV 1
85
86/* Use GNU extensions */
87#define _GNU_SOURCE
88
89/* Oldest Windows version supported */
90#define WINVER 0x0501