cbb7d26556d5c4aa5407eeb23f2a83a7eb7ab9c5
[platform/upstream/libusb.git] / Xcode / config.h
1 /* config.h.  Manually generated for Xcode.  */
2
3 #include <AvailabilityMacros.h>
4
5 /* Define to the attribute for default visibility. */
6 #define DEFAULT_VISIBILITY __attribute__ ((visibility ("default")))
7
8 /* Define to 1 to enable message logging. */
9 #define ENABLE_LOGGING 1
10
11 /* On 10.12 and later, use newly available clock_*() functions */
12 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
13 /* Define to 1 if you have the `clock_gettime' function. */
14 #define HAVE_CLOCK_GETTIME 1
15 #endif
16
17 /* On 10.6 and later, use newly available pthread_threadid_np() function */
18 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
19 /* Define to 1 if you have the 'pthread_threadid_np' function. */
20 #define HAVE_PTHREAD_THREADID_NP 1
21 #endif
22
23 /* Define to 1 if the system has the type `nfds_t'. */
24 #define HAVE_NFDS_T 1
25
26 /* Define to 1 if you have the <sys/time.h> header file. */
27 #define HAVE_SYS_TIME_H 1
28
29 /* Define to 1 if compiling for a POSIX platform. */
30 #define PLATFORM_POSIX 1
31
32 /* Enable GNU extensions. */
33 #define _GNU_SOURCE 1