]>
Commit | Line | Data |
---|---|---|
f450004a | 1 | /* config.in. Generated from configure.ac by autoheader. */ |
84563040 | 2 | |
1030e047 PA |
3 | /* Define to the number of bits in type 'ptrdiff_t'. */ |
4 | #undef BITSIZEOF_PTRDIFF_T | |
5 | ||
6 | /* Define to the number of bits in type 'sig_atomic_t'. */ | |
7 | #undef BITSIZEOF_SIG_ATOMIC_T | |
8 | ||
9 | /* Define to the number of bits in type 'size_t'. */ | |
10 | #undef BITSIZEOF_SIZE_T | |
11 | ||
12 | /* Define to the number of bits in type 'wchar_t'. */ | |
13 | #undef BITSIZEOF_WCHAR_T | |
14 | ||
15 | /* Define to the number of bits in type 'wint_t'. */ | |
16 | #undef BITSIZEOF_WINT_T | |
17 | ||
a1723c35 | 18 | /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP |
19 | systems. This function is required for `alloca.c' support on those systems. | |
20 | */ | |
21 | #undef CRAY_STACKSEG_END | |
22 | ||
23 | /* Define to 1 if using `alloca.c'. */ | |
24 | #undef C_ALLOCA | |
25 | ||
1030e047 PA |
26 | /* Define to 1 when the gnulib module memchr should be tested. */ |
27 | #undef GNULIB_TEST_MEMCHR | |
28 | ||
29 | /* Define to 1 when the gnulib module memmem should be tested. */ | |
30 | #undef GNULIB_TEST_MEMMEM | |
31 | ||
a1723c35 | 32 | /* Define to 1 if you have `alloca', as a function or macro. */ |
33 | #undef HAVE_ALLOCA | |
34 | ||
35 | /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). | |
36 | */ | |
37 | #undef HAVE_ALLOCA_H | |
38 | ||
b80864fb DJ |
39 | /* Define to 1 if you have the <arpa/inet.h> header file. */ |
40 | #undef HAVE_ARPA_INET_H | |
41 | ||
1030e047 PA |
42 | /* Define to 1 if you have the <bp-sym.h> header file. */ |
43 | #undef HAVE_BP_SYM_H | |
44 | ||
03583c20 UW |
45 | /* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if |
46 | you don't. */ | |
47 | #undef HAVE_DECL_ADDR_NO_RANDOMIZE | |
48 | ||
1030e047 PA |
49 | /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't. |
50 | */ | |
51 | #undef HAVE_DECL_MEMMEM | |
52 | ||
68070c10 PA |
53 | /* Define to 1 if you have the declaration of `perror', and to 0 if you don't. |
54 | */ | |
55 | #undef HAVE_DECL_PERROR | |
56 | ||
e122f1f5 SE |
57 | /* Define to 1 if you have the declaration of `strerror', and to 0 if you |
58 | don't. */ | |
59 | #undef HAVE_DECL_STRERROR | |
60 | ||
bb0116a4 JB |
61 | /* Define to 1 if you have the declaration of `vasprintf', and to 0 if you |
62 | don't. */ | |
63 | #undef HAVE_DECL_VASPRINTF | |
64 | ||
65 | /* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you | |
66 | don't. */ | |
67 | #undef HAVE_DECL_VSNPRINTF | |
68 | ||
d26e3629 KY |
69 | /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. |
70 | */ | |
71 | #undef HAVE_DIRENT_H | |
72 | ||
10e86dd7 DE |
73 | /* Define to 1 if you have the `dladdr' function. */ |
74 | #undef HAVE_DLADDR | |
75 | ||
8365dcf5 TJB |
76 | /* Define to 1 if the system has the type `Elf32_auxv_t'. */ |
77 | #undef HAVE_ELF32_AUXV_T | |
78 | ||
79 | /* Define to 1 if the system has the type `Elf64_auxv_t'. */ | |
80 | #undef HAVE_ELF64_AUXV_T | |
81 | ||
f450004a DJ |
82 | /* Define if <sys/procfs.h> has elf_fpregset_t. */ |
83 | #undef HAVE_ELF_FPREGSET_T | |
84563040 | 84 | |
68070c10 PA |
85 | /* Define if errno is available */ |
86 | #undef HAVE_ERRNO | |
87 | ||
88 | /* Define to 1 if you have the <errno.h> header file. */ | |
89 | #undef HAVE_ERRNO_H | |
90 | ||
91 | /* Define to 1 if you have the <fcntl.h> header file. */ | |
92 | #undef HAVE_FCNTL_H | |
93 | ||
f450004a DJ |
94 | /* Define to 1 if you have the <inttypes.h> header file. */ |
95 | #undef HAVE_INTTYPES_H | |
96 | ||
f434ba03 PA |
97 | /* Define to 1 if you have the `dl' library (-ldl). */ |
98 | #undef HAVE_LIBDL | |
99 | ||
f450004a DJ |
100 | /* Define to 1 if you have the <linux/elf.h> header file. */ |
101 | #undef HAVE_LINUX_ELF_H | |
58caa3dc | 102 | |
e9d25b98 | 103 | /* Define if the target supports register sets. */ |
58caa3dc DJ |
104 | #undef HAVE_LINUX_REGSETS |
105 | ||
f450004a DJ |
106 | /* Define if the target supports PTRACE_PEEKUSR for register access. */ |
107 | #undef HAVE_LINUX_USRREGS | |
58caa3dc | 108 | |
1030e047 PA |
109 | /* Define to 1 if the system has the type 'long long int'. */ |
110 | #undef HAVE_LONG_LONG_INT | |
111 | ||
18f5fd81 | 112 | /* Define if <thread_db.h> has lwpid_t. */ |
f450004a | 113 | #undef HAVE_LWPID_T |
0d62e5e8 | 114 | |
68070c10 PA |
115 | /* Define to 1 if you have the <malloc.h> header file. */ |
116 | #undef HAVE_MALLOC_H | |
117 | ||
1030e047 PA |
118 | /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including |
119 | config.h and <sys/mman.h>. */ | |
120 | #undef HAVE_MAP_ANONYMOUS | |
121 | ||
122 | /* Define to 1 if you have the `memmem' function. */ | |
123 | #undef HAVE_MEMMEM | |
124 | ||
f450004a DJ |
125 | /* Define to 1 if you have the <memory.h> header file. */ |
126 | #undef HAVE_MEMORY_H | |
127 | ||
1030e047 PA |
128 | /* Define to 1 if you have the 'mprotect' function. */ |
129 | #undef HAVE_MPROTECT | |
130 | ||
d26e3629 KY |
131 | /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ |
132 | #undef HAVE_NDIR_H | |
133 | ||
b80864fb DJ |
134 | /* Define to 1 if you have the <netdb.h> header file. */ |
135 | #undef HAVE_NETDB_H | |
136 | ||
137 | /* Define to 1 if you have the <netinet/in.h> header file. */ | |
138 | #undef HAVE_NETINET_IN_H | |
139 | ||
140 | /* Define to 1 if you have the <netinet/tcp.h> header file. */ | |
141 | #undef HAVE_NETINET_TCP_H | |
142 | ||
03583c20 UW |
143 | /* Define if you support the personality syscall. */ |
144 | #undef HAVE_PERSONALITY | |
145 | ||
4e799345 DJ |
146 | /* Define to 1 if you have the `pread' function. */ |
147 | #undef HAVE_PREAD | |
148 | ||
fd462a61 DJ |
149 | /* Define to 1 if you have the `pread64' function. */ |
150 | #undef HAVE_PREAD64 | |
151 | ||
f450004a DJ |
152 | /* Define if <sys/procfs.h> has prgregset_t. */ |
153 | #undef HAVE_PRGREGSET_T | |
154 | ||
155 | /* Define to 1 if you have the <proc_service.h> header file. */ | |
0d62e5e8 DJ |
156 | #undef HAVE_PROC_SERVICE_H |
157 | ||
18f5fd81 | 158 | /* Define if <thread_db.h> has psaddr_t. */ |
f450004a DJ |
159 | #undef HAVE_PSADDR_T |
160 | ||
161 | /* Define if the target supports PTRACE_GETFPXREGS for extended register | |
162 | access. */ | |
163 | #undef HAVE_PTRACE_GETFPXREGS | |
164 | ||
e9d25b98 DJ |
165 | /* Define if the target supports PTRACE_GETREGS for register access. */ |
166 | #undef HAVE_PTRACE_GETREGS | |
167 | ||
4e799345 DJ |
168 | /* Define to 1 if you have the `pwrite' function. */ |
169 | #undef HAVE_PWRITE | |
170 | ||
1030e047 PA |
171 | /* Define to 1 if ffsl is declared even after undefining macros. */ |
172 | #undef HAVE_RAW_DECL_FFSL | |
173 | ||
174 | /* Define to 1 if ffsll is declared even after undefining macros. */ | |
175 | #undef HAVE_RAW_DECL_FFSLL | |
176 | ||
177 | /* Define to 1 if imaxabs is declared even after undefining macros. */ | |
178 | #undef HAVE_RAW_DECL_IMAXABS | |
179 | ||
180 | /* Define to 1 if imaxdiv is declared even after undefining macros. */ | |
181 | #undef HAVE_RAW_DECL_IMAXDIV | |
182 | ||
183 | /* Define to 1 if memmem is declared even after undefining macros. */ | |
184 | #undef HAVE_RAW_DECL_MEMMEM | |
185 | ||
186 | /* Define to 1 if mempcpy is declared even after undefining macros. */ | |
187 | #undef HAVE_RAW_DECL_MEMPCPY | |
188 | ||
189 | /* Define to 1 if memrchr is declared even after undefining macros. */ | |
190 | #undef HAVE_RAW_DECL_MEMRCHR | |
191 | ||
192 | /* Define to 1 if rawmemchr is declared even after undefining macros. */ | |
193 | #undef HAVE_RAW_DECL_RAWMEMCHR | |
194 | ||
195 | /* Define to 1 if stpcpy is declared even after undefining macros. */ | |
196 | #undef HAVE_RAW_DECL_STPCPY | |
197 | ||
198 | /* Define to 1 if stpncpy is declared even after undefining macros. */ | |
199 | #undef HAVE_RAW_DECL_STPNCPY | |
200 | ||
201 | /* Define to 1 if strcasestr is declared even after undefining macros. */ | |
202 | #undef HAVE_RAW_DECL_STRCASESTR | |
203 | ||
204 | /* Define to 1 if strchrnul is declared even after undefining macros. */ | |
205 | #undef HAVE_RAW_DECL_STRCHRNUL | |
206 | ||
207 | /* Define to 1 if strdup is declared even after undefining macros. */ | |
208 | #undef HAVE_RAW_DECL_STRDUP | |
209 | ||
210 | /* Define to 1 if strerror_r is declared even after undefining macros. */ | |
211 | #undef HAVE_RAW_DECL_STRERROR_R | |
212 | ||
213 | /* Define to 1 if strncat is declared even after undefining macros. */ | |
214 | #undef HAVE_RAW_DECL_STRNCAT | |
215 | ||
216 | /* Define to 1 if strndup is declared even after undefining macros. */ | |
217 | #undef HAVE_RAW_DECL_STRNDUP | |
218 | ||
219 | /* Define to 1 if strnlen is declared even after undefining macros. */ | |
220 | #undef HAVE_RAW_DECL_STRNLEN | |
221 | ||
222 | /* Define to 1 if strpbrk is declared even after undefining macros. */ | |
223 | #undef HAVE_RAW_DECL_STRPBRK | |
224 | ||
225 | /* Define to 1 if strsep is declared even after undefining macros. */ | |
226 | #undef HAVE_RAW_DECL_STRSEP | |
227 | ||
228 | /* Define to 1 if strsignal is declared even after undefining macros. */ | |
229 | #undef HAVE_RAW_DECL_STRSIGNAL | |
230 | ||
231 | /* Define to 1 if strtoimax is declared even after undefining macros. */ | |
232 | #undef HAVE_RAW_DECL_STRTOIMAX | |
233 | ||
234 | /* Define to 1 if strtok_r is declared even after undefining macros. */ | |
235 | #undef HAVE_RAW_DECL_STRTOK_R | |
236 | ||
237 | /* Define to 1 if strtoumax is declared even after undefining macros. */ | |
238 | #undef HAVE_RAW_DECL_STRTOUMAX | |
239 | ||
240 | /* Define to 1 if strverscmp is declared even after undefining macros. */ | |
241 | #undef HAVE_RAW_DECL_STRVERSCMP | |
242 | ||
f8255c2a JB |
243 | /* Define to 1 if you have the `readlink' function. */ |
244 | #undef HAVE_READLINK | |
245 | ||
f450004a | 246 | /* Define to 1 if you have the <sgtty.h> header file. */ |
84563040 DJ |
247 | #undef HAVE_SGTTY_H |
248 | ||
68070c10 PA |
249 | /* Define to 1 if you have the <signal.h> header file. */ |
250 | #undef HAVE_SIGNAL_H | |
251 | ||
1030e047 PA |
252 | /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ |
253 | #undef HAVE_SIGNED_SIG_ATOMIC_T | |
254 | ||
255 | /* Define to 1 if 'wchar_t' is a signed integer type. */ | |
256 | #undef HAVE_SIGNED_WCHAR_T | |
257 | ||
258 | /* Define to 1 if 'wint_t' is a signed integer type. */ | |
259 | #undef HAVE_SIGNED_WINT_T | |
260 | ||
ccbd4912 | 261 | /* Define to 1 if the system has the type `socklen_t'. */ |
f450004a DJ |
262 | #undef HAVE_SOCKLEN_T |
263 | ||
264 | /* Define to 1 if you have the <stdint.h> header file. */ | |
265 | #undef HAVE_STDINT_H | |
266 | ||
267 | /* Define to 1 if you have the <stdlib.h> header file. */ | |
94e10508 DJ |
268 | #undef HAVE_STDLIB_H |
269 | ||
f450004a DJ |
270 | /* Define to 1 if you have the <strings.h> header file. */ |
271 | #undef HAVE_STRINGS_H | |
272 | ||
273 | /* Define to 1 if you have the <string.h> header file. */ | |
0729219d DJ |
274 | #undef HAVE_STRING_H |
275 | ||
fa593d66 PA |
276 | /* Define to 1 if the target supports __sync_*_compare_and_swap */ |
277 | #undef HAVE_SYNC_BUILTINS | |
278 | ||
1030e047 PA |
279 | /* Define to 1 if you have the <sys/bitypes.h> header file. */ |
280 | #undef HAVE_SYS_BITYPES_H | |
281 | ||
d26e3629 KY |
282 | /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. |
283 | */ | |
284 | #undef HAVE_SYS_DIR_H | |
285 | ||
68070c10 PA |
286 | /* Define to 1 if you have the <sys/file.h> header file. */ |
287 | #undef HAVE_SYS_FILE_H | |
288 | ||
1030e047 PA |
289 | /* Define to 1 if you have the <sys/inttypes.h> header file. */ |
290 | #undef HAVE_SYS_INTTYPES_H | |
291 | ||
b80864fb DJ |
292 | /* Define to 1 if you have the <sys/ioctl.h> header file. */ |
293 | #undef HAVE_SYS_IOCTL_H | |
294 | ||
1030e047 PA |
295 | /* Define to 1 if you have the <sys/mman.h> header file. */ |
296 | #undef HAVE_SYS_MMAN_H | |
297 | ||
d26e3629 KY |
298 | /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. |
299 | */ | |
300 | #undef HAVE_SYS_NDIR_H | |
301 | ||
f450004a | 302 | /* Define to 1 if you have the <sys/procfs.h> header file. */ |
0d62e5e8 DJ |
303 | #undef HAVE_SYS_PROCFS_H |
304 | ||
f450004a | 305 | /* Define to 1 if you have the <sys/reg.h> header file. */ |
84563040 DJ |
306 | #undef HAVE_SYS_REG_H |
307 | ||
b80864fb DJ |
308 | /* Define to 1 if you have the <sys/socket.h> header file. */ |
309 | #undef HAVE_SYS_SOCKET_H | |
310 | ||
f450004a DJ |
311 | /* Define to 1 if you have the <sys/stat.h> header file. */ |
312 | #undef HAVE_SYS_STAT_H | |
313 | ||
314 | /* Define to 1 if you have the <sys/types.h> header file. */ | |
315 | #undef HAVE_SYS_TYPES_H | |
84563040 | 316 | |
2fa291ac YQ |
317 | /* Define to 1 if you have the <sys/un.h> header file. */ |
318 | #undef HAVE_SYS_UN_H | |
319 | ||
b80864fb DJ |
320 | /* Define to 1 if you have the <sys/wait.h> header file. */ |
321 | #undef HAVE_SYS_WAIT_H | |
322 | ||
3db0444b DJ |
323 | /* Define if TD_VERSION is available. */ |
324 | #undef HAVE_TD_VERSION | |
325 | ||
f450004a | 326 | /* Define to 1 if you have the <termios.h> header file. */ |
84563040 | 327 | #undef HAVE_TERMIOS_H |
0d62e5e8 | 328 | |
f450004a DJ |
329 | /* Define to 1 if you have the <termio.h> header file. */ |
330 | #undef HAVE_TERMIO_H | |
331 | ||
332 | /* Define to 1 if you have the <thread_db.h> header file. */ | |
0d62e5e8 DJ |
333 | #undef HAVE_THREAD_DB_H |
334 | ||
f450004a | 335 | /* Define to 1 if you have the <unistd.h> header file. */ |
18ff0538 KB |
336 | #undef HAVE_UNISTD_H |
337 | ||
1030e047 PA |
338 | /* Define to 1 if the system has the type 'unsigned long long int'. */ |
339 | #undef HAVE_UNSIGNED_LONG_LONG_INT | |
340 | ||
0fb4aa4b PA |
341 | /* Define if UST is available */ |
342 | #undef HAVE_UST | |
343 | ||
bb0116a4 JB |
344 | /* Define to 1 if you have the `vasprintf' function. */ |
345 | #undef HAVE_VASPRINTF | |
346 | ||
347 | /* Define to 1 if you have the `vsnprintf' function. */ | |
348 | #undef HAVE_VSNPRINTF | |
349 | ||
1030e047 PA |
350 | /* Define to 1 if you have the <wchar.h> header file. */ |
351 | #undef HAVE_WCHAR_H | |
352 | ||
353 | /* Define if you have the 'wchar_t' type. */ | |
354 | #undef HAVE_WCHAR_T | |
355 | ||
356 | /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ | |
357 | #undef MAP_ANONYMOUS | |
358 | ||
68070c10 PA |
359 | /* Checking if errno must be defined */ |
360 | #undef MUST_DEFINE_ERRNO | |
361 | ||
f450004a DJ |
362 | /* Define to the address where bug reports for this package should be sent. */ |
363 | #undef PACKAGE_BUGREPORT | |
0d62e5e8 | 364 | |
f450004a DJ |
365 | /* Define to the full name of this package. */ |
366 | #undef PACKAGE_NAME | |
0d62e5e8 | 367 | |
f450004a DJ |
368 | /* Define to the full name and version of this package. */ |
369 | #undef PACKAGE_STRING | |
0d62e5e8 | 370 | |
f450004a DJ |
371 | /* Define to the one symbol short name of this package. */ |
372 | #undef PACKAGE_TARNAME | |
0d62e5e8 | 373 | |
81ecdfbb RW |
374 | /* Define to the home page for this package. */ |
375 | #undef PACKAGE_URL | |
376 | ||
f450004a DJ |
377 | /* Define to the version of this package. */ |
378 | #undef PACKAGE_VERSION | |
0d62e5e8 | 379 | |
c16158bc JM |
380 | /* Additional package description */ |
381 | #undef PKGVERSION | |
382 | ||
1030e047 PA |
383 | /* Define if <inttypes.h> exists and defines unusable PRI* macros. */ |
384 | #undef PRI_MACROS_BROKEN | |
385 | ||
386 | /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type | |
387 | 'ptrdiff_t'. */ | |
388 | #undef PTRDIFF_T_SUFFIX | |
389 | ||
c16158bc JM |
390 | /* Bug reporting address */ |
391 | #undef REPORT_BUGS_TO | |
392 | ||
1030e047 PA |
393 | /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
394 | 'sig_atomic_t'. */ | |
395 | #undef SIG_ATOMIC_T_SUFFIX | |
396 | ||
397 | /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type | |
398 | 'size_t'. */ | |
399 | #undef SIZE_T_SUFFIX | |
400 | ||
a1723c35 | 401 | /* If using the C implementation of alloca, define if you know the |
402 | direction of stack growth for your system; otherwise it will be | |
403 | automatically deduced at runtime. | |
404 | STACK_DIRECTION > 0 => grows toward higher addresses | |
405 | STACK_DIRECTION < 0 => grows toward lower addresses | |
406 | STACK_DIRECTION = 0 => direction of growth unknown */ | |
407 | #undef STACK_DIRECTION | |
408 | ||
f450004a DJ |
409 | /* Define to 1 if you have the ANSI C header files. */ |
410 | #undef STDC_HEADERS | |
b80864fb | 411 | |
96f15937 PP |
412 | /* Define if we should use libthread_db directly. */ |
413 | #undef USE_LIBTHREAD_DB_DIRECTLY | |
414 | ||
1030e047 PA |
415 | /* Define if we should use the Windows API, instead of the POSIX API. On |
416 | Windows, we use the Windows API when building for MinGW, but the POSIX API | |
417 | when building for Cygwin. */ | |
418 | #undef USE_WIN32API | |
419 | ||
420 | /* Define if an XML target description is available. */ | |
421 | #undef USE_XML | |
422 | ||
423 | /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type | |
424 | 'wchar_t'. */ | |
425 | #undef WCHAR_T_SUFFIX | |
426 | ||
427 | /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type | |
428 | 'wint_t'. */ | |
429 | #undef WINT_T_SUFFIX | |
430 | ||
431 | /* Define to 1 if on MINIX. */ | |
432 | #undef _MINIX | |
433 | ||
434 | /* The _Noreturn keyword of C11. */ | |
435 | #ifndef _Noreturn | |
436 | # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ | |
437 | || 0x5110 <= __SUNPRO_C) | |
438 | # define _Noreturn __attribute__ ((__noreturn__)) | |
439 | # elif defined _MSC_VER && 1200 <= _MSC_VER | |
440 | # define _Noreturn __declspec (noreturn) | |
441 | # else | |
442 | # define _Noreturn | |
443 | # endif | |
444 | #endif | |
445 | ||
446 | ||
447 | /* Define to 2 if the system does not provide POSIX.1 features except with | |
448 | this defined. */ | |
449 | #undef _POSIX_1_SOURCE | |
450 | ||
451 | /* Define to 1 if you need to in order for 'stat' and other things to work. */ | |
452 | #undef _POSIX_SOURCE | |
453 | ||
454 | /* Define to 500 only on HP-UX. */ | |
455 | #undef _XOPEN_SOURCE | |
456 | ||
81ecdfbb RW |
457 | /* Enable extensions on AIX 3, Interix. */ |
458 | #ifndef _ALL_SOURCE | |
459 | # undef _ALL_SOURCE | |
460 | #endif | |
1030e047 PA |
461 | /* Enable general extensions on MacOS X. */ |
462 | #ifndef _DARWIN_C_SOURCE | |
463 | # undef _DARWIN_C_SOURCE | |
464 | #endif | |
81ecdfbb RW |
465 | /* Enable GNU extensions on systems that have them. */ |
466 | #ifndef _GNU_SOURCE | |
467 | # undef _GNU_SOURCE | |
468 | #endif | |
469 | /* Enable threading extensions on Solaris. */ | |
470 | #ifndef _POSIX_PTHREAD_SEMANTICS | |
471 | # undef _POSIX_PTHREAD_SEMANTICS | |
472 | #endif | |
473 | /* Enable extensions on HP NonStop. */ | |
474 | #ifndef _TANDEM_SOURCE | |
475 | # undef _TANDEM_SOURCE | |
476 | #endif | |
477 | /* Enable general extensions on Solaris. */ | |
478 | #ifndef __EXTENSIONS__ | |
479 | # undef __EXTENSIONS__ | |
480 | #endif | |
481 | ||
482 | ||
1030e047 PA |
483 | /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports |
484 | the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of | |
485 | earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. | |
486 | __APPLE__ && __MACH__ test for MacOS X. | |
487 | __APPLE_CC__ tests for the Apple compiler and its version. | |
488 | __STDC_VERSION__ tests for the C99 mode. */ | |
489 | #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ | |
490 | # define __GNUC_STDC_INLINE__ 1 | |
491 | #endif | |
55a8c076 | 492 | |
1030e047 PA |
493 | /* Define to the equivalent of the C99 'restrict' keyword, or to |
494 | nothing if this is not supported. Do not define if restrict is | |
495 | supported directly. */ | |
496 | #undef restrict | |
497 | /* Work around a bug in Sun C++: it does not support _Restrict or | |
498 | __restrict__, even though the corresponding Sun C compiler ends up with | |
499 | "#define restrict _Restrict" or "#define restrict __restrict__" in the | |
500 | previous line. Perhaps some future version of Sun C++ will work with | |
501 | restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ | |
502 | #if defined __SUNPRO_CC && !defined __RESTRICT | |
503 | # define _Restrict | |
504 | # define __restrict__ | |
505 | #endif | |
fd462a61 | 506 | |
1030e047 PA |
507 | /* Define as a marker that can be attached to declarations that might not |
508 | be used. This helps to reduce warnings, such as from | |
509 | GCC -Wunused-parameter. */ | |
510 | #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) | |
511 | # define _GL_UNUSED __attribute__ ((__unused__)) | |
512 | #else | |
513 | # define _GL_UNUSED | |
514 | #endif | |
515 | /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name | |
516 | is a misnomer outside of parameter lists. */ | |
517 | #define _UNUSED_PARAMETER_ _GL_UNUSED | |
518 | ||
519 | /* The __pure__ attribute was added in gcc 2.96. */ | |
520 | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) | |
521 | # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) | |
522 | #else | |
523 | # define _GL_ATTRIBUTE_PURE /* empty */ | |
524 | #endif | |
81ecdfbb | 525 | |
1030e047 PA |
526 | /* The __const__ attribute was added in gcc 2.95. */ |
527 | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | |
528 | # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) | |
529 | #else | |
530 | # define _GL_ATTRIBUTE_CONST /* empty */ | |
531 | #endif | |
81ecdfbb | 532 |