logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

config.h (16967B)


  1. #define INCLUDEDIR "/include"
  2. #define LIBDIR "/lib"
  3. #define LOCALEDIR "/share/locale"
  4. /* #undef AC_APPLE_UNIVERSAL_BUILD */
  5. /* #undef CLOSEDIR_VOID */
  6. /* #undef C_ALLOCA */
  7. /* #undef DGUX */
  8. /* #undef ENABLE_NLS */
  9. #define FILE_TIMESTAMP_HI_RES 1
  10. #define GNULIB_TEST_GETLOADAVG 1
  11. #define HAVE_ALLOCA 1
  12. #define HAVE_ALLOCA_H 1
  13. #define HAVE_ATEXIT 1
  14. /* #undef HAVE_CASE_INSENSITIVE_FS */
  15. /* #undef HAVE_CFLOCALECOPYCURRENT */
  16. /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
  17. #define HAVE_CLOCK_GETTIME 1
  18. /* #undef HAVE_C_BOOL */
  19. /* #undef HAVE_DCGETTEXT */
  20. #define HAVE_DECL_BSD_SIGNAL 1
  21. #define HAVE_DECL_DLERROR 1
  22. #define HAVE_DECL_DLOPEN 1
  23. #define HAVE_DECL_DLSYM 1
  24. #define HAVE_DECL_GETLOADAVG 1
  25. #define HAVE_DECL_SYS_SIGLIST 0
  26. #define HAVE_DECL__SYS_SIGLIST 0
  27. #define HAVE_DECL___SYS_SIGLIST 0
  28. #define HAVE_DIRENT_H 1
  29. /* #undef HAVE_DOS_PATHS */
  30. #define HAVE_DUP 1
  31. #define HAVE_DUP2 1
  32. #define HAVE_FCNTL_H 1
  33. #define HAVE_FDOPEN 1
  34. #define HAVE_FORK 1
  35. #define HAVE_GETCWD 1
  36. #define HAVE_GETGROUPS 1
  37. /* #undef HAVE_GETHOSTBYNAME */
  38. /* #undef HAVE_GETHOSTNAME */
  39. #define HAVE_GETRLIMIT 1
  40. /* #undef HAVE_GETTEXT */
  41. #define HAVE_GETTIMEOFDAY 1
  42. /* #undef HAVE_GUILE */
  43. /* #undef HAVE_ICONV */
  44. #define HAVE_INTMAX_T 1
  45. #define HAVE_INTTYPES_H 1
  46. #define HAVE_ISATTY 1
  47. /* #undef HAVE_LIBDGC */
  48. /* #undef HAVE_LIBKSTAT */
  49. /* #undef HAVE_LIBPERFSTAT */
  50. #define HAVE_LIMITS_H 1
  51. #define HAVE_LOCALE_H 1
  52. #define HAVE_LONG_LONG_INT 1
  53. #define HAVE_LSTAT 1
  54. /* #undef HAVE_MACH_MACH_H */
  55. #define HAVE_MEMORY_H 1
  56. #define HAVE_MEMPCPY 1
  57. #define HAVE_MEMRCHR 1
  58. /* #undef HAVE_MINIX_CONFIG_H */
  59. #define HAVE_MKFIFO 1
  60. #define HAVE_MKSTEMP 1
  61. #define HAVE_MKTEMP 1
  62. /* #undef HAVE_NDIR_H */
  63. /* #undef HAVE_NLIST_H */
  64. #define HAVE_PIPE 1
  65. #define HAVE_POSIX_SPAWN 1
  66. #define HAVE_POSIX_SPAWNATTR_SETSIGMASK 1
  67. #define HAVE_PSELECT 1
  68. /* #undef HAVE_PSTAT_GETDYNAMIC */
  69. #define HAVE_READLINK 1
  70. #define HAVE_REALPATH 1
  71. #define HAVE_SA_RESTART 1
  72. #define HAVE_SETEGID 1
  73. #define HAVE_SETEUID 1
  74. #define HAVE_SETLINEBUF 1
  75. #define HAVE_SETREGID 1
  76. #define HAVE_SETREUID 1
  77. #define HAVE_SETRLIMIT 1
  78. #define HAVE_SETVBUF 1
  79. #define HAVE_SIGACTION 1
  80. /* #undef HAVE_SIGSETMASK */
  81. #define HAVE_SIG_ATOMIC_T 1
  82. /* #undef HAVE_SOCKET */
  83. #define HAVE_SPAWN_H 1
  84. #define HAVE_STDBOOL_H 1
  85. #define HAVE_STDINT_H 1
  86. #define HAVE_STDIO_H 1
  87. #define HAVE_STDLIB_H 1
  88. #define HAVE_STPCPY 1
  89. #define HAVE_STRCASECMP 1
  90. /* #undef HAVE_STRCMPI */
  91. #define HAVE_STRCOLL 1
  92. #define HAVE_STRDUP 1
  93. #define HAVE_STRERROR 1
  94. /* #undef HAVE_STRICMP */
  95. #define HAVE_STRINGS_H 1
  96. #define HAVE_STRING_H 1
  97. #define HAVE_STRNCASECMP 1
  98. /* #undef HAVE_STRNCMPI */
  99. #define HAVE_STRNDUP 1
  100. /* #undef HAVE_STRNICMP */
  101. #define HAVE_STRSIGNAL 1
  102. #define HAVE_STRTOLL 1
  103. #define HAVE_STRUCT_DIRENT_D_TYPE 1
  104. /* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */
  105. /* #undef HAVE_SYS_DIR_H */
  106. #define HAVE_SYS_FILE_H 1
  107. /* #undef HAVE_SYS_LOADAVG_H */
  108. /* #undef HAVE_SYS_NDIR_H */
  109. #define HAVE_SYS_PARAM_H 1
  110. #define HAVE_SYS_RESOURCE_H 1
  111. #define HAVE_SYS_SELECT_H 1
  112. #define HAVE_SYS_STAT_H 1
  113. #define HAVE_SYS_TIMEB_H 1
  114. #define HAVE_SYS_TIME_H 1
  115. #define HAVE_SYS_TYPES_H 1
  116. #define HAVE_SYS_WAIT_H 1
  117. #define HAVE_TTYNAME 1
  118. #define HAVE_UINTMAX_T 1
  119. #define HAVE_UMASK 1
  120. /* #undef HAVE_UNION_WAIT */
  121. #define HAVE_UNISTD_H 1
  122. #define HAVE_UNSIGNED_LONG_LONG_INT 1
  123. #define HAVE_VFORK 1
  124. /* #undef HAVE_VFORK_H */
  125. #define HAVE_WAIT3 1
  126. #define HAVE_WAITPID 1
  127. #define HAVE_WCHAR_H 1
  128. #define HAVE_WORKING_FORK 1
  129. #define HAVE_WORKING_VFORK 1
  130. #define MAKE_CXX "g++"
  131. #define MAKE_HOST "x86_64-pc-linux-musl"
  132. #define MAKE_JOBSERVER 1
  133. #define MAKE_LOAD 1
  134. #define MAKE_SYMLINKS 1
  135. #define MK_CONFIGURE 1
  136. /* #undef N_NAME_POINTER */
  137. #define PACKAGE "make"
  138. #define PACKAGE_BUGREPORT "bug-make@gnu.org"
  139. #define PACKAGE_NAME "GNU Make"
  140. #define PACKAGE_STRING "GNU Make 4.4.1"
  141. #define PACKAGE_TARNAME "make"
  142. #define PACKAGE_URL "https://www.gnu.org/software/make/"
  143. #define PACKAGE_VERSION "4.4.1"
  144. #define PATH_SEPARATOR_CHAR ':'
  145. #define SCCS_GET "get"
  146. /* #undef SCCS_GET_MINUS_G */
  147. /* #undef STACK_DIRECTION */
  148. /* #undef STAT_MACROS_BROKEN */
  149. #define STDC_HEADERS 1
  150. #define ST_MTIM_NSEC st_mtim.tv_nsec
  151. /* #undef SVR4 */
  152. /* #undef UMAX */
  153. /* #undef UMAX4_3 */
  154. #define USE_POSIX_SPAWN 1
  155. #ifndef _ALL_SOURCE
  156. # define _ALL_SOURCE 1
  157. #endif
  158. #ifndef _DARWIN_C_SOURCE
  159. # define _DARWIN_C_SOURCE 1
  160. #endif
  161. #ifndef __EXTENSIONS__
  162. # define __EXTENSIONS__ 1
  163. #endif
  164. #ifndef _GNU_SOURCE
  165. # define _GNU_SOURCE 1
  166. #endif
  167. #ifndef _HPUX_ALT_XOPEN_SOCKET_API
  168. # define _HPUX_ALT_XOPEN_SOCKET_API 1
  169. #endif
  170. #ifndef _MINIX
  171. /* # undef _MINIX */
  172. #endif
  173. #ifndef _NETBSD_SOURCE
  174. # define _NETBSD_SOURCE 1
  175. #endif
  176. #ifndef _OPENBSD_SOURCE
  177. # define _OPENBSD_SOURCE 1
  178. #endif
  179. #ifndef _POSIX_SOURCE
  180. /* # undef _POSIX_SOURCE */
  181. #endif
  182. #ifndef _POSIX_1_SOURCE
  183. /* # undef _POSIX_1_SOURCE */
  184. #endif
  185. #ifndef _POSIX_PTHREAD_SEMANTICS
  186. # define _POSIX_PTHREAD_SEMANTICS 1
  187. #endif
  188. #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
  189. # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
  190. #endif
  191. #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
  192. # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
  193. #endif
  194. #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
  195. # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
  196. #endif
  197. #ifndef __STDC_WANT_IEC_60559_EXT__
  198. # define __STDC_WANT_IEC_60559_EXT__ 1
  199. #endif
  200. #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
  201. # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
  202. #endif
  203. #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
  204. # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
  205. #endif
  206. #ifndef __STDC_WANT_LIB_EXT2__
  207. # define __STDC_WANT_LIB_EXT2__ 1
  208. #endif
  209. #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
  210. # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
  211. #endif
  212. #ifndef _TANDEM_SOURCE
  213. # define _TANDEM_SOURCE 1
  214. #endif
  215. #ifndef _XOPEN_SOURCE
  216. /* # undef _XOPEN_SOURCE */
  217. #endif
  218. #define VERSION "4.4.1"
  219. /* #undef WINDOWS32 */
  220. /* #undef WITH_DMALLOC */
  221. #if defined AC_APPLE_UNIVERSAL_BUILD
  222. # if defined __BIG_ENDIAN__
  223. # define WORDS_BIGENDIAN 1
  224. # endif
  225. #else
  226. # ifndef WORDS_BIGENDIAN
  227. /* # undef WORDS_BIGENDIAN */
  228. # endif
  229. #endif
  230. /* #undef _FILE_OFFSET_BITS */
  231. #if defined __GNUC__ && defined __GNUC_MINOR__
  232. # define _GL_GNUC_PREREQ(major, minor) \
  233. ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
  234. #else
  235. # define _GL_GNUC_PREREQ(major, minor) 0
  236. #endif
  237. /* #undef _ISOC11_SOURCE */
  238. /* #undef _LARGE_FILES */
  239. #ifndef _Noreturn
  240. # if (defined __cplusplus \
  241. && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
  242. || (defined _MSC_VER && 1900 <= _MSC_VER)) \
  243. && 0)
  244. # define _Noreturn [[noreturn]]
  245. # elif (defined __clang__ && __clang_major__ < 16 \
  246. && defined _GL_WORK_AROUND_LLVM_BUG_59792)
  247. # define _Noreturn
  248. # elif ((!defined __cplusplus || defined __clang__) \
  249. && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
  250. || (!defined __STRICT_ANSI__ \
  251. && (_GL_GNUC_PREREQ (4, 7) \
  252. || (defined __apple_build_version__ \
  253. ? 6000000 <= __apple_build_version__ \
  254. : 3 < __clang_major__ + (5 <= __clang_minor__))))))
  255. # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
  256. # define _Noreturn __attribute__ ((__noreturn__))
  257. # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
  258. # define _Noreturn __declspec (noreturn)
  259. # else
  260. # define _Noreturn
  261. # endif
  262. #endif
  263. /* #undef _TIME_BITS */
  264. /* #undef __MINGW_USE_VC2005_COMPAT */
  265. #define _GL_ASYNC_SAFE
  266. #if (defined __has_attribute \
  267. && (!defined __clang_minor__ \
  268. || (defined __apple_build_version__ \
  269. ? 6000000 <= __apple_build_version__ \
  270. : 3 < __clang_major__ + (5 <= __clang_minor__))))
  271. # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
  272. #else
  273. # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
  274. # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
  275. # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
  276. # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
  277. # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
  278. # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
  279. # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
  280. # define _GL_ATTR_diagnose_if 0
  281. # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
  282. # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
  283. # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
  284. # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
  285. # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
  286. # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
  287. # ifdef _ICC
  288. # define _GL_ATTR_may_alias 0
  289. # else
  290. # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
  291. # endif
  292. # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
  293. # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
  294. # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
  295. # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
  296. # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
  297. # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
  298. # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
  299. # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
  300. # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
  301. # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
  302. #endif
  303. #if (defined __has_c_attribute && _GL_GNUC_PREREQ (4, 6) \
  304. && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710)
  305. # pragma GCC diagnostic ignored "-Wpedantic"
  306. #endif
  307. #ifndef _GL_ATTRIBUTE_ALLOC_SIZE
  308. # if _GL_HAS_ATTRIBUTE (alloc_size)
  309. # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
  310. # else
  311. # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
  312. # endif
  313. #endif
  314. #ifndef _GL_ATTRIBUTE_ALWAYS_INLINE
  315. # if _GL_HAS_ATTRIBUTE (always_inline)
  316. # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
  317. # else
  318. # define _GL_ATTRIBUTE_ALWAYS_INLINE
  319. # endif
  320. #endif
  321. #ifndef _GL_ATTRIBUTE_ARTIFICIAL
  322. # if _GL_HAS_ATTRIBUTE (artificial)
  323. # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
  324. # else
  325. # define _GL_ATTRIBUTE_ARTIFICIAL
  326. # endif
  327. #endif
  328. #ifndef _GL_ATTRIBUTE_COLD
  329. # if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
  330. # ifndef __SUNPRO_C
  331. # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
  332. # else
  333. # define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
  334. # endif
  335. # else
  336. # define _GL_ATTRIBUTE_COLD
  337. # endif
  338. #endif
  339. #ifndef _GL_ATTRIBUTE_CONST
  340. # if _GL_HAS_ATTRIBUTE (const)
  341. # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
  342. # else
  343. # define _GL_ATTRIBUTE_CONST
  344. # endif
  345. #endif
  346. #ifndef _GL_ATTRIBUTE_DEALLOC
  347. # if _GL_GNUC_PREREQ (11, 0)
  348. # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
  349. # else
  350. # define _GL_ATTRIBUTE_DEALLOC(f, i)
  351. # endif
  352. #endif
  353. #ifndef _GL_ATTRIBUTE_DEALLOC_FREE
  354. # if defined __cplusplus && defined __GNUC__ && !defined __clang__
  355. # define _GL_ATTRIBUTE_DEALLOC_FREE \
  356. _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1)
  357. # else
  358. # define _GL_ATTRIBUTE_DEALLOC_FREE \
  359. _GL_ATTRIBUTE_DEALLOC (free, 1)
  360. # endif
  361. #endif
  362. #ifndef _GL_ATTRIBUTE_DEPRECATED
  363. # ifdef __has_c_attribute
  364. # if __has_c_attribute (__deprecated__)
  365. # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
  366. # endif
  367. # endif
  368. # if !defined _GL_ATTRIBUTE_DEPRECATED && _GL_HAS_ATTRIBUTE (deprecated)
  369. # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
  370. # endif
  371. # ifndef _GL_ATTRIBUTE_DEPRECATED
  372. # define _GL_ATTRIBUTE_DEPRECATED
  373. # endif
  374. #endif
  375. #if !(defined _GL_ATTRIBUTE_ERROR && defined _GL_ATTRIBUTE_WARNING)
  376. # if _GL_HAS_ATTRIBUTE (error)
  377. # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
  378. # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
  379. # elif _GL_HAS_ATTRIBUTE (diagnose_if)
  380. # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
  381. # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
  382. # else
  383. # define _GL_ATTRIBUTE_ERROR(msg)
  384. # define _GL_ATTRIBUTE_WARNING(msg)
  385. # endif
  386. #endif
  387. #ifndef _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
  388. # if _GL_HAS_ATTRIBUTE (externally_visible)
  389. # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
  390. # else
  391. # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
  392. # endif
  393. #endif
  394. #ifndef _GL_ATTRIBUTE_FALLTHROUGH
  395. # ifdef __has_c_attribute
  396. # if __has_c_attribute (__fallthrough__)
  397. # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
  398. # endif
  399. # endif
  400. # if !defined _GL_ATTRIBUTE_FALLTHROUGH && _GL_HAS_ATTRIBUTE (fallthrough)
  401. # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
  402. # endif
  403. # ifndef _GL_ATTRIBUTE_FALLTHROUGH
  404. # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
  405. # endif
  406. #endif
  407. #ifndef _GL_ATTRIBUTE_FORMAT
  408. # if _GL_HAS_ATTRIBUTE (format)
  409. # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
  410. # else
  411. # define _GL_ATTRIBUTE_FORMAT(spec)
  412. # endif
  413. #endif
  414. #ifndef _GL_ATTRIBUTE_LEAF
  415. # if _GL_HAS_ATTRIBUTE (leaf)
  416. # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
  417. # else
  418. # define _GL_ATTRIBUTE_LEAF
  419. # endif
  420. #endif
  421. #ifndef _GL_ATTRIBUTE_MALLOC
  422. # if _GL_HAS_ATTRIBUTE (malloc)
  423. # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
  424. # else
  425. # define _GL_ATTRIBUTE_MALLOC
  426. # endif
  427. #endif
  428. #ifndef _GL_ATTRIBUTE_MAY_ALIAS
  429. # if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
  430. # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
  431. # else
  432. # define _GL_ATTRIBUTE_MAY_ALIAS
  433. # endif
  434. #endif
  435. #ifndef _GL_ATTRIBUTE_MAYBE_UNUSED
  436. # if defined __clang__ && defined __cplusplus
  437. # if !defined __apple_build_version__ && __clang_major__ >= 10
  438. # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
  439. # endif
  440. # elif defined __has_c_attribute
  441. # if __has_c_attribute (__maybe_unused__)
  442. # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
  443. # endif
  444. # endif
  445. # ifndef _GL_ATTRIBUTE_MAYBE_UNUSED
  446. # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED
  447. # endif
  448. #endif
  449. #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
  450. #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
  451. #ifndef _GL_ATTRIBUTE_NODISCARD
  452. # if defined __clang__ && defined __cplusplus
  453. # if __clang_major__ >= 1000
  454. # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
  455. # endif
  456. # elif defined __has_c_attribute
  457. # if __has_c_attribute (__nodiscard__)
  458. # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
  459. # endif
  460. # endif
  461. # if !defined _GL_ATTRIBUTE_NODISCARD && _GL_HAS_ATTRIBUTE (warn_unused_result)
  462. # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
  463. # endif
  464. # ifndef _GL_ATTRIBUTE_NODISCARD
  465. # define _GL_ATTRIBUTE_NODISCARD
  466. # endif
  467. #endif
  468. #ifndef _GL_ATTRIBUTE_NOINLINE
  469. # if _GL_HAS_ATTRIBUTE (noinline)
  470. # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
  471. # else
  472. # define _GL_ATTRIBUTE_NOINLINE
  473. # endif
  474. #endif
  475. #ifndef _GL_ATTRIBUTE_NONNULL
  476. # if _GL_HAS_ATTRIBUTE (nonnull)
  477. # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
  478. # else
  479. # define _GL_ATTRIBUTE_NONNULL(args)
  480. # endif
  481. #endif
  482. #ifndef _GL_ATTRIBUTE_NONSTRING
  483. # if _GL_HAS_ATTRIBUTE (nonstring)
  484. # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
  485. # else
  486. # define _GL_ATTRIBUTE_NONSTRING
  487. # endif
  488. #endif
  489. #ifndef _GL_ATTRIBUTE_NOTHROW
  490. # if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
  491. # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
  492. # else
  493. # define _GL_ATTRIBUTE_NOTHROW
  494. # endif
  495. #endif
  496. #ifndef _GL_ATTRIBUTE_PACKED
  497. # if _GL_HAS_ATTRIBUTE (packed)
  498. # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
  499. # else
  500. # define _GL_ATTRIBUTE_PACKED
  501. # endif
  502. #endif
  503. #ifndef _GL_ATTRIBUTE_PURE
  504. # if _GL_HAS_ATTRIBUTE (pure)
  505. # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
  506. # else
  507. # define _GL_ATTRIBUTE_PURE
  508. # endif
  509. #endif
  510. #ifndef _GL_ATTRIBUTE_RETURNS_NONNULL
  511. # if _GL_HAS_ATTRIBUTE (returns_nonnull)
  512. # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
  513. # else
  514. # define _GL_ATTRIBUTE_RETURNS_NONNULL
  515. # endif
  516. #endif
  517. #ifndef _GL_ATTRIBUTE_SENTINEL
  518. # if _GL_HAS_ATTRIBUTE (sentinel)
  519. # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
  520. # else
  521. # define _GL_ATTRIBUTE_SENTINEL(pos)
  522. # endif
  523. #endif
  524. #ifndef _GL_ATTRIBUTE_UNUSED
  525. # if _GL_HAS_ATTRIBUTE (unused)
  526. # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
  527. # else
  528. # define _GL_ATTRIBUTE_UNUSED
  529. # endif
  530. #endif
  531. #ifndef _GL_UNUSED_LABEL
  532. # if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__
  533. # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED
  534. # else
  535. # define _GL_UNUSED_LABEL
  536. # endif
  537. #endif
  538. /* #undef const */
  539. /* #undef eaccess */
  540. /* #undef gid_t */
  541. /* #undef intmax_t */
  542. #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
  543. # define __GNUC_STDC_INLINE__ 1
  544. #endif
  545. #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
  546. /* #undef off_t */
  547. /* #undef pid_t */
  548. /* #undef sig_atomic_t */
  549. /* #undef size_t */
  550. /* #undef ssize_t */
  551. /* #undef uid_t */
  552. /* #undef uintmax_t */
  553. /* #undef vfork */
  554. #ifndef HAVE_C_BOOL
  555. # if !defined __cplusplus && !defined __bool_true_false_are_defined
  556. # if HAVE_STDBOOL_H
  557. # include <stdbool.h>
  558. # else
  559. # if defined __SUNPRO_C
  560. # error "<stdbool.h> is not usable with this configuration. To make it usable, add -D_STDC_C99= to $CC."
  561. # else
  562. # error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'."
  563. # endif
  564. # endif
  565. # endif
  566. # if !true
  567. # define true (!false)
  568. # endif
  569. #endif