]>
git.saurik.com Git - apple/libdispatch.git/blob - cmake/config.h.in
2 /* Define if building pthread work queues from source */
3 #cmakedefine01 DISPATCH_USE_INTERNAL_WORKQUEUE
5 /* Enable usage of thread local storage via __thread */
6 #cmakedefine01 DISPATCH_USE_THREAD_LOCAL_STORAGE
8 /* Define to 1 if you have the declaration of `CLOCK_MONOTONIC', and to 0 if
10 #cmakedefine01 HAVE_DECL_CLOCK_MONOTONIC
12 /* Define to 1 if you have the declaration of `CLOCK_REALTIME', and to 0 if
14 #cmakedefine01 HAVE_DECL_CLOCK_REALTIME
16 /* Define to 1 if you have the declaration of `CLOCK_UPTIME', and to 0 if you
18 #cmakedefine01 HAVE_DECL_CLOCK_UPTIME
20 /* Define to 1 if you have the declaration of `CLOCK_UPTIME_FAST', and to 0 if
22 #cmakedefine01 HAVE_DECL_CLOCK_UPTIME_FAST
24 /* Define to 1 if you have the declaration of `FD_COPY', and to 0 if you
26 #cmakedefine01 HAVE_DECL_FD_COPY
28 /* Define to 1 if you have the declaration of `NOTE_LOWAT', and to 0 if you
30 #cmakedefine01 HAVE_DECL_NOTE_LOWAT
32 /* Define to 1 if you have the declaration of `NOTE_NONE', and to 0 if you
34 #cmakedefine01 HAVE_DECL_NOTE_NONE
36 /* Define to 1 if you have the declaration of `NOTE_REAP', and to 0 if you
38 #cmakedefine01 HAVE_DECL_NOTE_REAP
40 /* Define to 1 if you have the declaration of `NOTE_REVOKE', and to 0 if you
42 #cmakedefine01 HAVE_DECL_NOTE_REVOKE
44 /* Define to 1 if you have the declaration of `NOTE_SIGNAL', and to 0 if you
46 #cmakedefine01 HAVE_DECL_NOTE_SIGNAL
48 /* Define to 1 if you have the declaration of `POSIX_SPAWN_START_SUSPENDED',
49 and to 0 if you don't. */
50 #cmakedefine01 HAVE_DECL_POSIX_SPAWN_START_SUSPENDED
52 /* Define to 1 if you have the declaration of `program_invocation_short_name',
53 and to 0 if you don't. */
54 #cmakedefine01 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
56 /* Define to 1 if you have the declaration of `SIGEMT', and to 0 if you don't.
58 #cmakedefine01 HAVE_DECL_SIGEMT
60 /* Define to 1 if you have the declaration of `VQ_DESIRED_DISK', and to 0 if
62 #cmakedefine01 HAVE_DECL_VQ_DESIRED_DISK
64 /* Define to 1 if you have the declaration of `VQ_NEARLOWDISK', and to 0 if
66 #cmakedefine01 HAVE_DECL_VQ_NEARLOWDISK
68 /* Define to 1 if you have the declaration of `VQ_QUOTA', and to 0 if you
70 #cmakedefine01 HAVE_DECL_VQ_QUOTA
72 /* Define to 1 if you have the declaration of `VQ_UPDATE', and to 0 if you
74 #cmakedefine01 HAVE_DECL_VQ_UPDATE
76 /* Define to 1 if you have the declaration of `VQ_VERYLOWDISK', and to 0 if
78 #cmakedefine01 HAVE_DECL_VQ_VERYLOWDISK
80 /* Define to 1 if you have the <dlfcn.h> header file. */
81 #cmakedefine01 HAVE_DLFCN_H
83 /* Define to 1 if you have the <fcntl.h> header file. */
84 #cmakedefine01 HAVE_FCNTL_H
86 /* Define to 1 if you have the `getprogname' function. */
87 #cmakedefine01 HAVE_GETPROGNAME
89 /* Define to 1 if you have the <inttypes.h> header file. */
90 #cmakedefine01 HAVE_INTTYPES_H
92 /* Define if Apple leaks program is present */
93 #cmakedefine HAVE_LEAKS
95 /* Define to 1 if you have the <libkern/OSAtomic.h> header file. */
96 #cmakedefine HAVE_LIBKERN_OSATOMIC_H
98 /* Define to 1 if you have the <libkern/OSCrossEndian.h> header file. */
99 #cmakedefine HAVE_LIBKERN_OSCROSSENDIAN_H
101 /* Define to 1 if you have the <libproc_internal.h> header file. */
102 #cmakedefine HAVE_LIBPROC_INTERNAL_H
104 /* Define if mach is present */
105 #cmakedefine HAVE_MACH
107 /* Define to 1 if you have the `mach_absolute_time' function. */
108 #cmakedefine HAVE_MACH_ABSOLUTE_TIME
110 /* Define to 1 if you have the `mach_approximate_time' function. */
111 #cmakedefine HAVE_MACH_APPROXIMATE_TIME
113 /* Define to 1 if you have the `mach_port_construct' function. */
114 #cmakedefine HAVE_MACH_PORT_CONSTRUCT
116 /* Define to 1 if you have the `malloc_create_zone' function. */
117 #cmakedefine HAVE_MALLOC_CREATE_ZONE
119 /* Define to 1 if you have the <malloc/malloc.h> header file. */
120 #cmakedefine HAVE_MALLOC_MALLOC_H
122 /* Define to 1 if you have the <memory.h> header file. */
123 #cmakedefine01 HAVE_MEMORY_H
125 /* Define if __builtin_trap marked noreturn */
126 #cmakedefine01 HAVE_NORETURN_BUILTIN_TRAP
128 /* Define if you have the Objective-C runtime */
129 #cmakedefine HAVE_OBJC
131 /* Define to 1 if you have the `pthread_key_init_np' function. */
132 #cmakedefine HAVE_PTHREAD_KEY_INIT_NP
134 /* Define to 1 if you have the <pthread_machdep.h> header file. */
135 #cmakedefine HAVE_PTHREAD_MACHDEP_H
137 /* Define to 1 if you have the `pthread_main_np' function. */
138 #cmakedefine HAVE_PTHREAD_MAIN_NP
140 /* Define to 1 if you have the <pthread_np.h> header file. */
141 #cmakedefine HAVE_PTHREAD_NP_H
143 /* Define to 1 if you have the <pthread/qos.h> header file. */
144 #cmakedefine HAVE_PTHREAD_QOS_H
146 /* Define if pthread work queues are present */
147 #cmakedefine01 HAVE_PTHREAD_WORKQUEUES
149 /* Define to 1 if you have the <pthread_workqueue.h> header file. */
150 #cmakedefine HAVE_PTHREAD_WORKQUEUE_H
152 /* Define to 1 if you have the <pthread/workqueue_private.h> header file. */
153 #cmakedefine HAVE_PTHREAD_WORKQUEUE_PRIVATE_H
155 /* Define to 1 if you have the `pthread_workqueue_setdispatch_np' function. */
156 #cmakedefine HAVE_PTHREAD_WORKQUEUE_SETDISPATCH_NP
158 /* Define to 1 if you have the <stdint.h> header file. */
159 #cmakedefine01 HAVE_STDINT_H
161 /* Define to 1 if you have the <stdlib.h> header file. */
162 #cmakedefine01 HAVE_STDLIB_H
164 /* Define to 1 if you have the <strings.h> header file. */
165 #cmakedefine01 HAVE_STRINGS_H
167 /* Define to 1 if you have the <string.h> header file. */
168 #cmakedefine01 HAVE_STRING_H
170 /* Define to 1 if you have the `strlcpy' function. */
171 #cmakedefine01 HAVE_STRLCPY
173 /* Define if building for Swift */
176 /* Define to 1 if you have the `sysconf' function. */
177 #cmakedefine01 HAVE_SYSCONF
179 /* Define to 1 if you have the <sys/cdefs.h> header file. */
180 #cmakedefine01 HAVE_SYS_CDEFS_H
182 /* Define to 1 if you have the <sys/guarded.h> header file. */
183 #cmakedefine HAVE_SYS_GUARDED_H
185 /* Define to 1 if you have the <sys/stat.h> header file. */
186 #cmakedefine01 HAVE_SYS_STAT_H
188 /* Define to 1 if you have the <sys/types.h> header file. */
189 #cmakedefine01 HAVE_SYS_TYPES_H
191 /* Define to 1 if you have the <TargetConditionals.h> header file. */
192 #cmakedefine HAVE_TARGETCONDITIONALS_H
194 /* Define to 1 if you have the <unistd.h> header file. */
195 #cmakedefine01 HAVE_UNISTD_H
197 /* Define to 1 if you have the `_pthread_workqueue_init' function. */
198 #cmakedefine HAVE__PTHREAD_WORKQUEUE_INIT
200 /* Define to use non-portable pthread TSD optimizations for Mac OS X) */
201 #cmakedefine USE_APPLE_TSD_OPTIMIZATIONS
203 /* Define to tag libdispatch_init as a constructor */
204 #cmakedefine01 USE_LIBDISPATCH_INIT_CONSTRUCTOR
206 /* Define to use Mach semaphores */
207 #cmakedefine USE_MACH_SEM
209 /* Define to use POSIX semaphores */
210 #cmakedefine01 USE_POSIX_SEM
212 /* Enable extensions on AIX 3, Interix. */
214 #cmakedefine01 _ALL_SOURCE
216 /* Enable GNU extensions on systems that have them. */
218 #cmakedefine01 _GNU_SOURCE
220 /* Enable threading extensions on Solaris. */
221 #ifndef _POSIX_PTHREAD_SEMANTICS
222 #cmakedefine01 _POSIX_PTHREAD_SEMANTICS
224 /* Enable extensions on HP NonStop. */
225 #ifndef _TANDEM_SOURCE
226 #cmakedefine01 _TANDEM_SOURCE
228 /* Enable general extensions on Solaris. */
229 #ifndef __EXTENSIONS__
230 #cmakedefine01 __EXTENSIONS__
234 /* Version number of package */
235 #define VERSION "${PROJECT_VERSION}"
237 /* Define to 1 if on MINIX. */
240 /* Define to 2 if the system does not provide POSIX.1 features except with
242 #cmakedefine _POSIX_1_SOURCE
244 /* Define to 1 if you need to in order for `stat' and other things to work. */
245 #cmakedefine _POSIX_SOURCE
247 /* Define if using Darwin $NOCANCEL */
248 #cmakedefine __DARWIN_NON_CANCELABLE