Annotation of embedaddon/libiconv/config.h.in, revision 1.1.1.3
1.1 misho 1: /* config.h.in. Generated from configure.ac by autoheader. */
2:
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:
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:
1.1.1.2 misho 26: /* Define to 1 if // is a file system root distinct from /. */
27: #undef DOUBLE_SLASH_IS_DISTINCT_ROOT
28:
1.1 misho 29: /* Define as good substitute value for EILSEQ. */
30: #undef EILSEQ
31:
32: /* Define to 1 to enable a few rarely used encodings. */
33: #undef ENABLE_EXTRA
34:
35: /* Define to 1 if translation of program messages to the user's native
36: language is requested. */
37: #undef ENABLE_NLS
38:
1.1.1.2 misho 39: /* Define to 1 if the package shall run at any location in the file system. */
1.1 misho 40: #undef ENABLE_RELOCATABLE
41:
1.1.1.2 misho 42: /* Define to 1 if realpath() can malloc memory, always gives an absolute path,
43: and handles trailing slash correctly. */
44: #undef FUNC_REALPATH_WORKS
45:
46: /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
47: whether the gnulib module canonicalize-lgpl shall be considered present. */
1.1 misho 48: #undef GNULIB_CANONICALIZE_LGPL
49:
1.1.1.2 misho 50: /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
1.1.1.3 ! misho 51: whether the gnulib module fscanf shall be considered present. */
! 52: #undef GNULIB_FSCANF
! 53:
! 54: /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
! 55: whether the gnulib module msvc-nothrow shall be considered present. */
! 56: #undef GNULIB_MSVC_NOTHROW
! 57:
! 58: /* Define to 1 if printf and friends should be labeled with attribute
! 59: "__gnu_printf__" instead of "__printf__" */
! 60: #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU
! 61:
! 62: /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
! 63: whether the gnulib module scanf shall be considered present. */
! 64: #undef GNULIB_SCANF
! 65:
! 66: /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
1.1.1.2 misho 67: whether the gnulib module sigpipe shall be considered present. */
1.1 misho 68: #undef GNULIB_SIGPIPE
69:
1.1.1.2 misho 70: /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
71: whether the gnulib module strerror shall be considered present. */
72: #undef GNULIB_STRERROR
73:
74: /* Define to 1 when the gnulib module canonicalize_file_name should be tested.
75: */
76: #undef GNULIB_TEST_CANONICALIZE_FILE_NAME
77:
78: /* Define to 1 when the gnulib module environ should be tested. */
79: #undef GNULIB_TEST_ENVIRON
80:
81: /* Define to 1 when the gnulib module lstat should be tested. */
82: #undef GNULIB_TEST_LSTAT
83:
1.1.1.3 ! misho 84: /* Define to 1 when the gnulib module malloc-posix should be tested. */
! 85: #undef GNULIB_TEST_MALLOC_POSIX
! 86:
! 87: /* Define to 1 when the gnulib module raise should be tested. */
! 88: #undef GNULIB_TEST_RAISE
! 89:
1.1.1.2 misho 90: /* Define to 1 when the gnulib module read should be tested. */
91: #undef GNULIB_TEST_READ
92:
93: /* Define to 1 when the gnulib module readlink should be tested. */
94: #undef GNULIB_TEST_READLINK
95:
96: /* Define to 1 when the gnulib module realpath should be tested. */
97: #undef GNULIB_TEST_REALPATH
98:
99: /* Define to 1 when the gnulib module sigprocmask should be tested. */
100: #undef GNULIB_TEST_SIGPROCMASK
101:
102: /* Define to 1 when the gnulib module stat should be tested. */
103: #undef GNULIB_TEST_STAT
104:
105: /* Define to 1 when the gnulib module strerror should be tested. */
106: #undef GNULIB_TEST_STRERROR
107:
1.1 misho 108: /* Define to 1 if you have `alloca', as a function or macro. */
109: #undef HAVE_ALLOCA
110:
111: /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
112: */
113: #undef HAVE_ALLOCA_H
114:
115: /* Define to 1 if you have the `canonicalize_file_name' function. */
116: #undef HAVE_CANONICALIZE_FILE_NAME
117:
1.1.1.3 ! misho 118: /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
1.1 misho 119: CoreFoundation framework. */
120: #undef HAVE_CFLOCALECOPYCURRENT
121:
1.1.1.3 ! misho 122: /* Define to 1 if you have the Mac OS X function
! 123: CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
! 124: #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES
! 125:
! 126: /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
1.1 misho 127: the CoreFoundation framework. */
128: #undef HAVE_CFPREFERENCESCOPYAPPVALUE
129:
1.1.1.3 ! misho 130: /* Define to 1 if you have the `copy_file_range' function. */
! 131: #undef HAVE_COPY_FILE_RANGE
! 132:
1.1 misho 133: /* Define if the GNU dcgettext() function is already present or preinstalled.
134: */
135: #undef HAVE_DCGETTEXT
136:
137: /* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
138: you don't. */
139: #undef HAVE_DECL_CLEARERR_UNLOCKED
140:
141: /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
142: don't. */
143: #undef HAVE_DECL_FEOF_UNLOCKED
144:
145: /* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
146: you don't. */
147: #undef HAVE_DECL_FERROR_UNLOCKED
148:
149: /* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
150: you don't. */
151: #undef HAVE_DECL_FFLUSH_UNLOCKED
152:
153: /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
154: you don't. */
155: #undef HAVE_DECL_FGETS_UNLOCKED
156:
157: /* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
158: you don't. */
159: #undef HAVE_DECL_FPUTC_UNLOCKED
160:
161: /* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
162: you don't. */
163: #undef HAVE_DECL_FPUTS_UNLOCKED
164:
165: /* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
166: you don't. */
167: #undef HAVE_DECL_FREAD_UNLOCKED
168:
169: /* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
170: you don't. */
171: #undef HAVE_DECL_FWRITE_UNLOCKED
172:
173: /* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
174: you don't. */
175: #undef HAVE_DECL_GETCHAR_UNLOCKED
176:
177: /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
178: don't. */
179: #undef HAVE_DECL_GETC_UNLOCKED
180:
1.1.1.2 misho 181: /* Define to 1 if you have the declaration of `program_invocation_name', and
182: to 0 if you don't. */
183: #undef HAVE_DECL_PROGRAM_INVOCATION_NAME
184:
185: /* Define to 1 if you have the declaration of `program_invocation_short_name',
186: and to 0 if you don't. */
187: #undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
188:
1.1 misho 189: /* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
190: you don't. */
191: #undef HAVE_DECL_PUTCHAR_UNLOCKED
192:
193: /* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
194: don't. */
195: #undef HAVE_DECL_PUTC_UNLOCKED
196:
1.1.1.2 misho 197: /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
198: */
199: #undef HAVE_DECL_SETENV
1.1 misho 200:
201: /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
202: don't. */
203: #undef HAVE_DECL_STRERROR_R
204:
1.1.1.3 ! misho 205: /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
! 206: */
! 207: #undef HAVE_DECL___ARGV
! 208:
1.1 misho 209: /* Define to 1 if you have the <dlfcn.h> header file. */
210: #undef HAVE_DLFCN_H
211:
212: /* Define if you have the declaration of environ. */
213: #undef HAVE_ENVIRON_DECL
214:
215: /* Define to 1 if you have the `getcwd' function. */
216: #undef HAVE_GETCWD
217:
218: /* Define to 1 if you have the `getc_unlocked' function. */
219: #undef HAVE_GETC_UNLOCKED
220:
1.1.1.3 ! misho 221: /* Define to 1 if you have the `getexecname' function. */
! 222: #undef HAVE_GETEXECNAME
! 223:
! 224: /* Define to 1 if you have the `getprogname' function. */
! 225: #undef HAVE_GETPROGNAME
! 226:
1.1 misho 227: /* Define if the GNU gettext() function is already present or preinstalled. */
228: #undef HAVE_GETTEXT
229:
230: /* Define if you have the iconv() function and it works. */
231: #undef HAVE_ICONV
232:
233: /* Define to 1 if you have the <inttypes.h> header file. */
234: #undef HAVE_INTTYPES_H
235:
236: /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
237: #undef HAVE_LANGINFO_CODESET
238:
1.1.1.3 ! misho 239: /* Define to 1 if you have the <limits.h> header file. */
! 240: #undef HAVE_LIMITS_H
! 241:
! 242: /* Define to 1 if the system has the type 'long long int'. */
1.1 misho 243: #undef HAVE_LONG_LONG_INT
244:
1.1.1.2 misho 245: /* Define to 1 if you have the `lstat' function. */
246: #undef HAVE_LSTAT
247:
1.1 misho 248: /* Define to 1 if you have the <mach-o/dyld.h> header file. */
249: #undef HAVE_MACH_O_DYLD_H
250:
1.1.1.3 ! misho 251: /* Define if the 'malloc' function is POSIX compliant. */
! 252: #undef HAVE_MALLOC_POSIX
! 253:
1.1 misho 254: /* Define to 1 if you have the `mbrtowc' function. */
255: #undef HAVE_MBRTOWC
256:
257: /* Define to 1 if you have the `mbsinit' function. */
258: #undef HAVE_MBSINIT
259:
260: /* Define to 1 if <wchar.h> declares mbstate_t. */
261: #undef HAVE_MBSTATE_T
262:
263: /* Define to 1 if you have the `memmove' function. */
264: #undef HAVE_MEMMOVE
265:
266: /* Define to 1 if you have the <memory.h> header file. */
267: #undef HAVE_MEMORY_H
268:
1.1.1.3 ! misho 269: /* Define to 1 on MSVC platforms that have the "invalid parameter handler"
! 270: concept. */
! 271: #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER
1.1.1.2 misho 272:
1.1.1.3 ! misho 273: /* Define to 1 if you have the `raise' function. */
! 274: #undef HAVE_RAISE
1.1 misho 275:
276: /* Define to 1 if you have the `readlink' function. */
277: #undef HAVE_READLINK
278:
1.1.1.2 misho 279: /* Define to 1 if you have the `readlinkat' function. */
280: #undef HAVE_READLINKAT
281:
282: /* Define to 1 if you have the `realpath' function. */
283: #undef HAVE_REALPATH
284:
1.1 misho 285: /* Define to 1 if you have the <search.h> header file. */
286: #undef HAVE_SEARCH_H
287:
288: /* Define to 1 if you have the `setenv' function. */
289: #undef HAVE_SETENV
290:
291: /* Define to 1 if you have the `setlocale' function. */
292: #undef HAVE_SETLOCALE
293:
294: /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
295: #undef HAVE_SIGNED_SIG_ATOMIC_T
296:
297: /* Define to 1 if 'wchar_t' is a signed integer type. */
298: #undef HAVE_SIGNED_WCHAR_T
299:
300: /* Define to 1 if 'wint_t' is a signed integer type. */
301: #undef HAVE_SIGNED_WINT_T
302:
303: /* Define to 1 if the system has the type `sigset_t'. */
304: #undef HAVE_SIGSET_T
305:
306: /* Define to 1 if you have the <stdint.h> header file. */
307: #undef HAVE_STDINT_H
308:
309: /* Define to 1 if you have the <stdlib.h> header file. */
310: #undef HAVE_STDLIB_H
311:
312: /* Define to 1 if you have the `strerror_r' function. */
313: #undef HAVE_STRERROR_R
314:
315: /* Define to 1 if you have the <strings.h> header file. */
316: #undef HAVE_STRINGS_H
317:
318: /* Define to 1 if you have the <string.h> header file. */
319: #undef HAVE_STRING_H
320:
1.1.1.3 ! misho 321: /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
! 322: #undef HAVE_STRUCT_STAT_ST_ATIMENSEC
! 323:
! 324: /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
! 325: #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
! 326:
! 327: /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
! 328: #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
! 329:
! 330: /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
! 331: #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
! 332:
! 333: /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
! 334: #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
! 335:
! 336: /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */
! 337: #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
! 338:
! 339: /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
! 340: #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
! 341:
! 342: /* Define to 1 if you have the `symlink' function. */
! 343: #undef HAVE_SYMLINK
! 344:
1.1 misho 345: /* Define to 1 if you have the <sys/bitypes.h> header file. */
346: #undef HAVE_SYS_BITYPES_H
347:
348: /* Define to 1 if you have the <sys/inttypes.h> header file. */
349: #undef HAVE_SYS_INTTYPES_H
350:
351: /* Define to 1 if you have the <sys/param.h> header file. */
352: #undef HAVE_SYS_PARAM_H
353:
354: /* Define to 1 if you have the <sys/socket.h> header file. */
355: #undef HAVE_SYS_SOCKET_H
356:
357: /* Define to 1 if you have the <sys/stat.h> header file. */
358: #undef HAVE_SYS_STAT_H
359:
1.1.1.2 misho 360: /* Define to 1 if you have the <sys/time.h> header file. */
361: #undef HAVE_SYS_TIME_H
362:
1.1 misho 363: /* Define to 1 if you have the <sys/types.h> header file. */
364: #undef HAVE_SYS_TYPES_H
365:
366: /* Define to 1 if you have the `tsearch' function. */
367: #undef HAVE_TSEARCH
368:
369: /* Define to 1 if you have the <unistd.h> header file. */
370: #undef HAVE_UNISTD_H
371:
1.1.1.3 ! misho 372: /* Define to 1 if the system has the type 'unsigned long long int'. */
1.1 misho 373: #undef HAVE_UNSIGNED_LONG_LONG_INT
374:
1.1.1.3 ! misho 375: /* Define if you have a global __progname variable */
! 376: #undef HAVE_VAR___PROGNAME
! 377:
1.1 misho 378: /* Define to 1 or 0, depending whether the compiler supports simple visibility
379: declarations. */
380: #undef HAVE_VISIBILITY
381:
382: /* Define to 1 if you have the <wchar.h> header file. */
383: #undef HAVE_WCHAR_H
384:
385: /* Define if you have the 'wchar_t' type. */
386: #undef HAVE_WCHAR_T
387:
388: /* Define to 1 if you have the `wcrtomb' function. */
389: #undef HAVE_WCRTOMB
390:
391: /* Define to 1 if you have the <winsock2.h> header file. */
392: #undef HAVE_WINSOCK2_H
393:
1.1.1.3 ! misho 394: /* Define if you have the 'wint_t' type. */
! 395: #undef HAVE_WINT_T
! 396:
1.1.1.2 misho 397: /* Define to 1 if O_NOATIME works. */
398: #undef HAVE_WORKING_O_NOATIME
399:
400: /* Define to 1 if O_NOFOLLOW works. */
401: #undef HAVE_WORKING_O_NOFOLLOW
1.1 misho 402:
403: /* Define to 1 if the system has the type `_Bool'. */
404: #undef HAVE__BOOL
405:
406: /* Define to 1 if you have the `_NSGetExecutablePath' function. */
407: #undef HAVE__NSGETEXECUTABLEPATH
408:
1.1.1.3 ! misho 409: /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
! 410: #undef HAVE__SET_INVALID_PARAMETER_HANDLER
! 411:
1.1 misho 412: /* Define as const if the declaration of iconv() needs const. */
413: #undef ICONV_CONST
414:
415: /* Define to the value of ${prefix}, as a string. */
416: #undef INSTALLPREFIX
417:
1.1.1.3 ! misho 418: /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
1.1.1.2 misho 419: slash. */
420: #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
421:
1.1.1.3 ! misho 422: /* Define to the sub-directory where libtool stores uninstalled libraries. */
1.1 misho 423: #undef LT_OBJDIR
424:
425: /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
426: #undef MALLOC_0_IS_NONNULL
427:
1.1.1.3 ! misho 428: /* Use GNU style printf and scanf. */
! 429: #ifndef __USE_MINGW_ANSI_STDIO
! 430: # undef __USE_MINGW_ANSI_STDIO
! 431: #endif
! 432:
1.1 misho 433:
434: /* Name of package */
435: #undef PACKAGE
436:
437: /* Define to the address where bug reports for this package should be sent. */
438: #undef PACKAGE_BUGREPORT
439:
440: /* Define to the full name of this package. */
441: #undef PACKAGE_NAME
442:
443: /* Define to the full name and version of this package. */
444: #undef PACKAGE_STRING
445:
446: /* Define to the one symbol short name of this package. */
447: #undef PACKAGE_TARNAME
448:
1.1.1.2 misho 449: /* Define to the home page for this package. */
450: #undef PACKAGE_URL
451:
1.1 misho 452: /* Define to the version of this package. */
453: #undef PACKAGE_VERSION
454:
455: /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
456: 'ptrdiff_t'. */
457: #undef PTRDIFF_T_SUFFIX
458:
1.1.1.2 misho 459: /* Define to 1 if readlink fails to recognize a trailing slash. */
460: #undef READLINK_TRAILING_SLASH_BUG
461:
462: /* Define to 1 if stat needs help when passed a file name with a trailing
463: slash */
464: #undef REPLACE_FUNC_STAT_FILE
465:
466: /* Define to 1 if strerror(0) does not return a message implying success. */
467: #undef REPLACE_STRERROR_0
1.1 misho 468:
469: /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
470: 'sig_atomic_t'. */
471: #undef SIG_ATOMIC_T_SUFFIX
472:
473: /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
474: 'size_t'. */
475: #undef SIZE_T_SUFFIX
476:
477: /* If using the C implementation of alloca, define if you know the
478: direction of stack growth for your system; otherwise it will be
479: automatically deduced at runtime.
480: STACK_DIRECTION > 0 => grows toward higher addresses
481: STACK_DIRECTION < 0 => grows toward lower addresses
482: STACK_DIRECTION = 0 => direction of growth unknown */
483: #undef STACK_DIRECTION
484:
1.1.1.2 misho 485: /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
486: #undef STAT_MACROS_BROKEN
487:
1.1 misho 488: /* Define to 1 if you have the ANSI C header files. */
489: #undef STDC_HEADERS
490:
491: /* Define to 1 if strerror_r returns char *. */
492: #undef STRERROR_R_CHAR_P
493:
1.1.1.3 ! misho 494: /* Define to 1 if the type of the st_atim member of a struct stat is struct
! 495: timespec. */
! 496: #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
! 497:
1.1.1.2 misho 498: /* Define to the prefix of C symbols at the assembler and linker level, either
499: an underscore or empty. */
500: #undef USER_LABEL_PREFIX
501:
1.1.1.3 ! misho 502: /* Enable extensions on AIX 3, Interix. */
! 503: #ifndef _ALL_SOURCE
! 504: # undef _ALL_SOURCE
! 505: #endif
! 506: /* Enable general extensions on macOS. */
! 507: #ifndef _DARWIN_C_SOURCE
! 508: # undef _DARWIN_C_SOURCE
! 509: #endif
! 510: /* Enable GNU extensions on systems that have them. */
! 511: #ifndef _GNU_SOURCE
! 512: # undef _GNU_SOURCE
! 513: #endif
! 514: /* Enable NetBSD extensions on NetBSD. */
! 515: #ifndef _NETBSD_SOURCE
! 516: # undef _NETBSD_SOURCE
! 517: #endif
! 518: /* Enable OpenBSD extensions on NetBSD. */
! 519: #ifndef _OPENBSD_SOURCE
! 520: # undef _OPENBSD_SOURCE
! 521: #endif
! 522: /* Enable threading extensions on Solaris. */
! 523: #ifndef _POSIX_PTHREAD_SEMANTICS
! 524: # undef _POSIX_PTHREAD_SEMANTICS
! 525: #endif
! 526: /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
! 527: #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
! 528: # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
! 529: #endif
! 530: /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
! 531: #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
! 532: # undef __STDC_WANT_IEC_60559_BFP_EXT__
! 533: #endif
! 534: /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
! 535: #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
! 536: # undef __STDC_WANT_IEC_60559_DFP_EXT__
! 537: #endif
! 538: /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
! 539: #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
! 540: # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
! 541: #endif
! 542: /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
! 543: #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
! 544: # undef __STDC_WANT_IEC_60559_TYPES_EXT__
! 545: #endif
! 546: /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
! 547: #ifndef __STDC_WANT_LIB_EXT2__
! 548: # undef __STDC_WANT_LIB_EXT2__
! 549: #endif
! 550: /* Enable extensions specified by ISO/IEC 24747:2009. */
! 551: #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
! 552: # undef __STDC_WANT_MATH_SPEC_FUNCS__
! 553: #endif
! 554: /* Enable extensions on HP NonStop. */
! 555: #ifndef _TANDEM_SOURCE
! 556: # undef _TANDEM_SOURCE
! 557: #endif
! 558: /* Enable X/Open extensions if necessary. HP-UX 11.11 defines
! 559: mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of
! 560: whether compiling with -Ae or -D_HPUX_SOURCE=1. */
! 561: #ifndef _XOPEN_SOURCE
! 562: # undef _XOPEN_SOURCE
! 563: #endif
! 564: /* Enable X/Open compliant socket functions that do not require linking
! 565: with -lxnet on HP-UX 11.11. */
! 566: #ifndef _HPUX_ALT_XOPEN_SOCKET_API
! 567: # undef _HPUX_ALT_XOPEN_SOCKET_API
! 568: #endif
! 569: /* Enable general extensions on Solaris. */
! 570: #ifndef __EXTENSIONS__
! 571: # undef __EXTENSIONS__
! 572: #endif
! 573:
! 574:
1.1 misho 575: /* Define to 1 if you want getc etc. to use unlocked I/O if available.
576: Unlocked I/O can improve performance in unithreaded apps, but it is not
577: safe for multithreaded apps. */
578: #undef USE_UNLOCKED_IO
579:
580: /* Version number of package */
581: #undef VERSION
582:
583: /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
584: 'wchar_t'. */
585: #undef WCHAR_T_SUFFIX
586:
587: /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
588: 'wint_t'. */
589: #undef WINT_T_SUFFIX
590:
591: /* Define if the machine's byte ordering is little endian. */
592: #undef WORDS_LITTLEENDIAN
593:
1.1.1.3 ! misho 594: /* Enable large inode numbers on Mac OS X 10.5. */
! 595: #undef _DARWIN_USE_64_BIT_INODE
! 596:
! 597: /* Number of bits in a file offset, on hosts where this is settable. */
! 598: #undef _FILE_OFFSET_BITS
! 599:
! 600: /* Define for large files, on AIX-style hosts. */
! 601: #undef _LARGE_FILES
! 602:
1.1 misho 603: /* Define to 1 if on MINIX. */
604: #undef _MINIX
605:
1.1.1.3 ! misho 606: /* Define to 1 to make NetBSD features available. MINIX 3 needs this. */
! 607: #undef _NETBSD_SOURCE
! 608:
! 609: /* The _Noreturn keyword of C11. */
1.1.1.2 misho 610: #ifndef _Noreturn
1.1.1.3 ! misho 611: # if (defined __cplusplus \
! 612: && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
! 613: || (defined _MSC_VER && 1900 <= _MSC_VER)))
! 614: # define _Noreturn [[noreturn]]
! 615: # elif ((!defined __cplusplus || defined __clang__) \
! 616: && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
! 617: || 4 < __GNUC__ + (7 <= __GNUC_MINOR__)))
! 618: /* _Noreturn works as-is. */
! 619: # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C
1.1.1.2 misho 620: # define _Noreturn __attribute__ ((__noreturn__))
1.1.1.3 ! misho 621: # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
1.1.1.2 misho 622: # define _Noreturn __declspec (noreturn)
623: # else
624: # define _Noreturn
625: # endif
626: #endif
627:
628:
1.1 misho 629: /* Define to 2 if the system does not provide POSIX.1 features except with
630: this defined. */
631: #undef _POSIX_1_SOURCE
632:
1.1.1.3 ! misho 633: /* Define to 1 if you need to in order for 'stat' and other things to work. */
1.1 misho 634: #undef _POSIX_SOURCE
635:
1.1.1.3 ! misho 636: /* For standard stat data types on VMS. */
! 637: #undef _USE_STD_STAT
1.1 misho 638:
1.1.1.3 ! misho 639: /* Define to 1 if the system <stdint.h> predates C++11. */
! 640: #undef __STDC_CONSTANT_MACROS
! 641:
! 642: /* Define to 1 if the system <stdint.h> predates C++11. */
! 643: #undef __STDC_LIMIT_MACROS
! 644:
! 645: /* The _GL_ASYNC_SAFE marker should be attached to functions that are
! 646: signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
! 647: invoked from such signal handlers. Such functions have some restrictions:
! 648: * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
! 649: or should be listed as async-signal-safe in POSIX
! 650: <http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
! 651: section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
! 652: particular, are NOT async-signal-safe.
! 653: * All memory locations (variables and struct fields) that these functions
! 654: access must be marked 'volatile'. This holds for both read and write
! 655: accesses. Otherwise the compiler might optimize away stores to and
! 656: reads from such locations that occur in the program, depending on its
! 657: data flow analysis. For example, when the program contains a loop
! 658: that is intended to inspect a variable set from within a signal handler
! 659: while (!signal_occurred)
! 660: ;
! 661: the compiler is allowed to transform this into an endless loop if the
! 662: variable 'signal_occurred' is not declared 'volatile'.
! 663: Additionally, recall that:
! 664: * A signal handler should not modify errno (except if it is a handler
! 665: for a fatal signal and ends by raising the same signal again, thus
! 666: provoking the termination of the process). If it invokes a function
! 667: that may clobber errno, it needs to save and restore the value of
! 668: errno. */
! 669: #define _GL_ASYNC_SAFE
! 670:
! 671:
! 672: /* Please see the Gnulib manual for how to use these macros.
! 673:
! 674: Suppress extern inline with HP-UX cc, as it appears to be broken; see
! 675: <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
! 676:
! 677: Suppress extern inline with Sun C in standards-conformance mode, as it
! 678: mishandles inline functions that call each other. E.g., for 'inline void f
! 679: (void) { } inline void g (void) { f (); }', c99 incorrectly complains
! 680: 'reference to static identifier "f" in extern inline function'.
! 681: This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
! 682:
! 683: Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
! 684: on configurations that mistakenly use 'static inline' to implement
! 685: functions or macros in standard C headers like <ctype.h>. For example,
! 686: if isdigit is mistakenly implemented via a static inline function,
! 687: a program containing an extern inline function that calls isdigit
! 688: may not work since the C standard prohibits extern inline functions
! 689: from calling static functions (ISO C 99 section 6.7.4.(3).
! 690: This bug is known to occur on:
! 691:
! 692: OS X 10.8 and earlier; see:
! 693: https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
! 694:
! 695: DragonFly; see
! 696: http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/ah-tty-0.3.12.log
! 697:
! 698: FreeBSD; see:
! 699: https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
! 700:
! 701: OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
! 702: for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
! 703: Assume DragonFly and FreeBSD will be similar.
! 704:
! 705: GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
! 706: inline semantics, unless -fgnu89-inline is used. It defines a macro
! 707: __GNUC_STDC_INLINE__ to indicate this situation or a macro
! 708: __GNUC_GNU_INLINE__ to indicate the opposite situation.
! 709: GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
! 710: semantics but warns, unless -fgnu89-inline is used:
! 711: warning: C99 inline functions are not supported; using GNU89
! 712: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
! 713: It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
! 714: */
! 715: #if (((defined __APPLE__ && defined __MACH__) \
! 716: || defined __DragonFly__ || defined __FreeBSD__) \
! 717: && (defined __header_inline \
! 718: ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
! 719: && ! defined __clang__) \
! 720: : ((! defined _DONT_USE_CTYPE_INLINE_ \
! 721: && (defined __GNUC__ || defined __cplusplus)) \
! 722: || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
! 723: && defined __GNUC__ && ! defined __cplusplus))))
! 724: # define _GL_EXTERN_INLINE_STDHEADER_BUG
! 725: #endif
! 726: #if ((__GNUC__ \
! 727: ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
! 728: : (199901L <= __STDC_VERSION__ \
! 729: && !defined __HP_cc \
! 730: && !defined __PGI \
! 731: && !(defined __SUNPRO_C && __STDC__))) \
! 732: && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
! 733: # define _GL_INLINE inline
! 734: # define _GL_EXTERN_INLINE extern inline
! 735: # define _GL_EXTERN_INLINE_IN_USE
! 736: #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
! 737: && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
! 738: # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
! 739: /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
! 740: # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
! 741: # else
! 742: # define _GL_INLINE extern inline
! 743: # endif
! 744: # define _GL_EXTERN_INLINE extern
! 745: # define _GL_EXTERN_INLINE_IN_USE
! 746: #else
! 747: # define _GL_INLINE static _GL_UNUSED
! 748: # define _GL_EXTERN_INLINE static _GL_UNUSED
1.1 misho 749: #endif
750:
1.1.1.3 ! misho 751: /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
! 752: suppress bogus "no previous prototype for 'FOO'"
! 753: and "no previous declaration for 'FOO'" diagnostics,
! 754: when FOO is an inline function in the header; see
! 755: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
! 756: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
! 757: #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
! 758: # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
! 759: # define _GL_INLINE_HEADER_CONST_PRAGMA
! 760: # else
! 761: # define _GL_INLINE_HEADER_CONST_PRAGMA \
! 762: _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
! 763: # endif
! 764: # define _GL_INLINE_HEADER_BEGIN \
! 765: _Pragma ("GCC diagnostic push") \
! 766: _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
! 767: _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
! 768: _GL_INLINE_HEADER_CONST_PRAGMA
! 769: # define _GL_INLINE_HEADER_END \
! 770: _Pragma ("GCC diagnostic pop")
! 771: #else
! 772: # define _GL_INLINE_HEADER_BEGIN
! 773: # define _GL_INLINE_HEADER_END
! 774: #endif
1.1 misho 775:
1.1.1.2 misho 776: /* Define to `int' if <sys/types.h> doesn't define. */
777: #undef gid_t
778:
1.1 misho 779: /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
780: the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
781: earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1.1.1.3 ! misho 782: __APPLE__ && __MACH__ test for Mac OS X.
1.1 misho 783: __APPLE_CC__ tests for the Apple compiler and its version.
784: __STDC_VERSION__ tests for the C99 mode. */
785: #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
786: # define __GNUC_STDC_INLINE__ 1
787: #endif
788:
789: /* Define to a type if <wchar.h> does not define. */
790: #undef mbstate_t
791:
1.1.1.3 ! misho 792: /* Define to `int' if <sys/types.h> does not define. */
! 793: #undef mode_t
! 794:
1.1.1.2 misho 795: /* Define to the type of st_nlink in struct stat, or a supertype. */
796: #undef nlink_t
1.1 misho 797:
1.1.1.3 ! misho 798: /* Define to `int' if <sys/types.h> does not define. */
! 799: #undef pid_t
! 800:
1.1 misho 801: /* Define to the equivalent of the C99 'restrict' keyword, or to
802: nothing if this is not supported. Do not define if restrict is
803: supported directly. */
804: #undef restrict
1.1.1.2 misho 805: /* Work around a bug in Sun C++: it does not support _Restrict or
806: __restrict__, even though the corresponding Sun C compiler ends up with
807: "#define restrict _Restrict" or "#define restrict __restrict__" in the
808: previous line. Perhaps some future version of Sun C++ will work with
809: restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
1.1 misho 810: #if defined __SUNPRO_CC && !defined __RESTRICT
811: # define _Restrict
1.1.1.2 misho 812: # define __restrict__
1.1 misho 813: #endif
814:
1.1.1.2 misho 815: /* Define to `unsigned int' if <sys/types.h> does not define. */
816: #undef size_t
817:
1.1 misho 818: /* Define as a signed type of the same size as size_t. */
819: #undef ssize_t
820:
1.1.1.2 misho 821: /* Define to `int' if <sys/types.h> doesn't define. */
822: #undef uid_t
823:
824: /* Define as a marker that can be attached to declarations that might not
825: be used. This helps to reduce warnings, such as from
826: GCC -Wunused-parameter. */
1.1 misho 827: #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
1.1.1.2 misho 828: # define _GL_UNUSED __attribute__ ((__unused__))
829: #else
830: # define _GL_UNUSED
831: #endif
832: /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
833: is a misnomer outside of parameter lists. */
834: #define _UNUSED_PARAMETER_ _GL_UNUSED
835:
1.1.1.3 ! misho 836: /* gcc supports the "unused" attribute on possibly unused labels, and
! 837: g++ has since version 4.5. Note to support C++ as well as C,
! 838: _GL_UNUSED_LABEL should be used with a trailing ; */
! 839: #if !defined __cplusplus || __GNUC__ > 4 \
! 840: || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
! 841: # define _GL_UNUSED_LABEL _GL_UNUSED
! 842: #else
! 843: # define _GL_UNUSED_LABEL
! 844: #endif
! 845:
1.1.1.2 misho 846: /* The __pure__ attribute was added in gcc 2.96. */
847: #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
848: # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
849: #else
850: # define _GL_ATTRIBUTE_PURE /* empty */
851: #endif
852:
853: /* The __const__ attribute was added in gcc 2.95. */
854: #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
855: # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
1.1 misho 856: #else
1.1.1.2 misho 857: # define _GL_ATTRIBUTE_CONST /* empty */
1.1 misho 858: #endif
859:
1.1.1.3 ! misho 860: /* The __malloc__ attribute was added in gcc 3. */
! 861: #if 3 <= __GNUC__
! 862: # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
! 863: #else
! 864: # define _GL_ATTRIBUTE_MALLOC /* empty */
! 865: #endif
! 866:
1.1 misho 867:
868:
869: /* On Windows, variables that may be in a DLL must be marked specially. */
870: #if defined _MSC_VER && defined _DLL
871: # define DLL_VARIABLE __declspec (dllimport)
872: #else
873: # define DLL_VARIABLE
874: #endif
875:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>