1/* AUTOGENERATED by gen-posix-conf-vars.awk. DO NOT EDIT. */
2
3#ifndef _POSIX_MEMORY_PROTECTION
4# define CONF_DEF_POSIX_MEMORY_PROTECTION CONF_DEF_UNDEFINED
5#else
6# if _POSIX_MEMORY_PROTECTION > 0
7# define CONF_DEF_POSIX_MEMORY_PROTECTION CONF_DEF_DEFINED_SET
8# else
9# define CONF_DEF_POSIX_MEMORY_PROTECTION CONF_DEF_DEFINED_UNSET
10# endif
11#endif
12
13#ifndef _POSIX_SAVED_IDS
14# define CONF_DEF_POSIX_SAVED_IDS CONF_DEF_UNDEFINED
15#else
16# if _POSIX_SAVED_IDS > 0
17# define CONF_DEF_POSIX_SAVED_IDS CONF_DEF_DEFINED_SET
18# else
19# define CONF_DEF_POSIX_SAVED_IDS CONF_DEF_DEFINED_UNSET
20# endif
21#endif
22
23#ifndef _POSIX_DEVICE_SPECIFIC
24# define CONF_DEF_POSIX_DEVICE_SPECIFIC CONF_DEF_UNDEFINED
25#else
26# if _POSIX_DEVICE_SPECIFIC > 0
27# define CONF_DEF_POSIX_DEVICE_SPECIFIC CONF_DEF_DEFINED_SET
28# else
29# define CONF_DEF_POSIX_DEVICE_SPECIFIC CONF_DEF_DEFINED_UNSET
30# endif
31#endif
32
33#ifndef _POSIX_V7_ILP32_OFFBIG
34# define CONF_DEF_POSIX_V7_ILP32_OFFBIG CONF_DEF_UNDEFINED
35#else
36# if _POSIX_V7_ILP32_OFFBIG > 0
37# define CONF_DEF_POSIX_V7_ILP32_OFFBIG CONF_DEF_DEFINED_SET
38# else
39# define CONF_DEF_POSIX_V7_ILP32_OFFBIG CONF_DEF_DEFINED_UNSET
40# endif
41#endif
42
43#ifndef _POSIX_USER_GROUPS_R
44# define CONF_DEF_POSIX_USER_GROUPS_R CONF_DEF_UNDEFINED
45#else
46# if _POSIX_USER_GROUPS_R > 0
47# define CONF_DEF_POSIX_USER_GROUPS_R CONF_DEF_DEFINED_SET
48# else
49# define CONF_DEF_POSIX_USER_GROUPS_R CONF_DEF_DEFINED_UNSET
50# endif
51#endif
52
53#ifndef _POSIX_CPUTIME
54# define CONF_DEF_POSIX_CPUTIME CONF_DEF_UNDEFINED
55#else
56# if _POSIX_CPUTIME > 0
57# define CONF_DEF_POSIX_CPUTIME CONF_DEF_DEFINED_SET
58# else
59# define CONF_DEF_POSIX_CPUTIME CONF_DEF_DEFINED_UNSET
60# endif
61#endif
62
63#ifndef _POSIX_VERSION
64# define CONF_DEF_POSIX_VERSION CONF_DEF_UNDEFINED
65#else
66# if _POSIX_VERSION > 0
67# define CONF_DEF_POSIX_VERSION CONF_DEF_DEFINED_SET
68# else
69# define CONF_DEF_POSIX_VERSION CONF_DEF_DEFINED_UNSET
70# endif
71#endif
72
73#ifndef _POSIX_V6_LPBIG_OFFBIG
74# define CONF_DEF_POSIX_V6_LPBIG_OFFBIG CONF_DEF_UNDEFINED
75#else
76# if _POSIX_V6_LPBIG_OFFBIG > 0
77# define CONF_DEF_POSIX_V6_LPBIG_OFFBIG CONF_DEF_DEFINED_SET
78# else
79# define CONF_DEF_POSIX_V6_LPBIG_OFFBIG CONF_DEF_DEFINED_UNSET
80# endif
81#endif
82
83#ifndef _POSIX_THREAD_SAFE_FUNCTIONS
84# define CONF_DEF_POSIX_THREAD_SAFE_FUNCTIONS CONF_DEF_UNDEFINED
85#else
86# if _POSIX_THREAD_SAFE_FUNCTIONS > 0
87# define CONF_DEF_POSIX_THREAD_SAFE_FUNCTIONS CONF_DEF_DEFINED_SET
88# else
89# define CONF_DEF_POSIX_THREAD_SAFE_FUNCTIONS CONF_DEF_DEFINED_UNSET
90# endif
91#endif
92
93#ifndef _POSIX_DEVICE_IO
94# define CONF_DEF_POSIX_DEVICE_IO CONF_DEF_UNDEFINED
95#else
96# if _POSIX_DEVICE_IO > 0
97# define CONF_DEF_POSIX_DEVICE_IO CONF_DEF_DEFINED_SET
98# else
99# define CONF_DEF_POSIX_DEVICE_IO CONF_DEF_DEFINED_UNSET
100# endif
101#endif
102
103#ifndef _POSIX_SHARED_MEMORY_OBJECTS
104# define CONF_DEF_POSIX_SHARED_MEMORY_OBJECTS CONF_DEF_UNDEFINED
105#else
106# if _POSIX_SHARED_MEMORY_OBJECTS > 0
107# define CONF_DEF_POSIX_SHARED_MEMORY_OBJECTS CONF_DEF_DEFINED_SET
108# else
109# define CONF_DEF_POSIX_SHARED_MEMORY_OBJECTS CONF_DEF_DEFINED_UNSET
110# endif
111#endif
112
113#ifndef _POSIX_MEMLOCK
114# define CONF_DEF_POSIX_MEMLOCK CONF_DEF_UNDEFINED
115#else
116# if _POSIX_MEMLOCK > 0
117# define CONF_DEF_POSIX_MEMLOCK CONF_DEF_DEFINED_SET
118# else
119# define CONF_DEF_POSIX_MEMLOCK CONF_DEF_DEFINED_UNSET
120# endif
121#endif
122
123#ifndef _POSIX_PII_INTERNET_STREAM
124# define CONF_DEF_POSIX_PII_INTERNET_STREAM CONF_DEF_UNDEFINED
125#else
126# if _POSIX_PII_INTERNET_STREAM > 0
127# define CONF_DEF_POSIX_PII_INTERNET_STREAM CONF_DEF_DEFINED_SET
128# else
129# define CONF_DEF_POSIX_PII_INTERNET_STREAM CONF_DEF_DEFINED_UNSET
130# endif
131#endif
132
133#ifndef _POSIX_THREAD_DESTRUCTOR_ITERATIONS
134# define CONF_DEF_POSIX_THREAD_DESTRUCTOR_ITERATIONS CONF_DEF_UNDEFINED
135#else
136# if _POSIX_THREAD_DESTRUCTOR_ITERATIONS > 0
137# define CONF_DEF_POSIX_THREAD_DESTRUCTOR_ITERATIONS CONF_DEF_DEFINED_SET
138# else
139# define CONF_DEF_POSIX_THREAD_DESTRUCTOR_ITERATIONS CONF_DEF_DEFINED_UNSET
140# endif
141#endif
142
143#ifndef _POSIX_SSIZE_MAX
144# define CONF_DEF_POSIX_SSIZE_MAX CONF_DEF_UNDEFINED
145#else
146# if _POSIX_SSIZE_MAX > 0
147# define CONF_DEF_POSIX_SSIZE_MAX CONF_DEF_DEFINED_SET
148# else
149# define CONF_DEF_POSIX_SSIZE_MAX CONF_DEF_DEFINED_UNSET
150# endif
151#endif
152
153#ifndef _POSIX_MONOTONIC_CLOCK
154# define CONF_DEF_POSIX_MONOTONIC_CLOCK CONF_DEF_UNDEFINED
155#else
156# if _POSIX_MONOTONIC_CLOCK > 0
157# define CONF_DEF_POSIX_MONOTONIC_CLOCK CONF_DEF_DEFINED_SET
158# else
159# define CONF_DEF_POSIX_MONOTONIC_CLOCK CONF_DEF_DEFINED_UNSET
160# endif
161#endif
162
163#ifndef _POSIX_FILE_LOCKING
164# define CONF_DEF_POSIX_FILE_LOCKING CONF_DEF_UNDEFINED
165#else
166# if _POSIX_FILE_LOCKING > 0
167# define CONF_DEF_POSIX_FILE_LOCKING CONF_DEF_DEFINED_SET
168# else
169# define CONF_DEF_POSIX_FILE_LOCKING CONF_DEF_DEFINED_UNSET
170# endif
171#endif
172
173#ifndef _POSIX_SPAWN
174# define CONF_DEF_POSIX_SPAWN CONF_DEF_UNDEFINED
175#else
176# if _POSIX_SPAWN > 0
177# define CONF_DEF_POSIX_SPAWN CONF_DEF_DEFINED_SET
178# else
179# define CONF_DEF_POSIX_SPAWN CONF_DEF_DEFINED_UNSET
180# endif
181#endif
182
183#ifndef _POSIX_MEMLOCK_RANGE
184# define CONF_DEF_POSIX_MEMLOCK_RANGE CONF_DEF_UNDEFINED
185#else
186# if _POSIX_MEMLOCK_RANGE > 0
187# define CONF_DEF_POSIX_MEMLOCK_RANGE CONF_DEF_DEFINED_SET
188# else
189# define CONF_DEF_POSIX_MEMLOCK_RANGE CONF_DEF_DEFINED_UNSET
190# endif
191#endif
192
193#ifndef _POSIX_ADVISORY_INFO
194# define CONF_DEF_POSIX_ADVISORY_INFO CONF_DEF_UNDEFINED
195#else
196# if _POSIX_ADVISORY_INFO > 0
197# define CONF_DEF_POSIX_ADVISORY_INFO CONF_DEF_DEFINED_SET
198# else
199# define CONF_DEF_POSIX_ADVISORY_INFO CONF_DEF_DEFINED_UNSET
200# endif
201#endif
202
203#ifndef _POSIX_REALTIME_SIGNALS
204# define CONF_DEF_POSIX_REALTIME_SIGNALS CONF_DEF_UNDEFINED
205#else
206# if _POSIX_REALTIME_SIGNALS > 0
207# define CONF_DEF_POSIX_REALTIME_SIGNALS CONF_DEF_DEFINED_SET
208# else
209# define CONF_DEF_POSIX_REALTIME_SIGNALS CONF_DEF_DEFINED_UNSET
210# endif
211#endif
212
213#ifndef _POSIX_PII_OSI
214# define CONF_DEF_POSIX_PII_OSI CONF_DEF_UNDEFINED
215#else
216# if _POSIX_PII_OSI > 0
217# define CONF_DEF_POSIX_PII_OSI CONF_DEF_DEFINED_SET
218# else
219# define CONF_DEF_POSIX_PII_OSI CONF_DEF_DEFINED_UNSET
220# endif
221#endif
222
223#ifndef _POSIX_MULTI_PROCESS
224# define CONF_DEF_POSIX_MULTI_PROCESS CONF_DEF_UNDEFINED
225#else
226# if _POSIX_MULTI_PROCESS > 0
227# define CONF_DEF_POSIX_MULTI_PROCESS CONF_DEF_DEFINED_SET
228# else
229# define CONF_DEF_POSIX_MULTI_PROCESS CONF_DEF_DEFINED_UNSET
230# endif
231#endif
232
233#ifndef _POSIX_V7_LPBIG_OFFBIG
234# define CONF_DEF_POSIX_V7_LPBIG_OFFBIG CONF_DEF_UNDEFINED
235#else
236# if _POSIX_V7_LPBIG_OFFBIG > 0
237# define CONF_DEF_POSIX_V7_LPBIG_OFFBIG CONF_DEF_DEFINED_SET
238# else
239# define CONF_DEF_POSIX_V7_LPBIG_OFFBIG CONF_DEF_DEFINED_UNSET
240# endif
241#endif
242
243#ifndef _POSIX_DEVICE_SPECIFIC_R
244# define CONF_DEF_POSIX_DEVICE_SPECIFIC_R CONF_DEF_UNDEFINED
245#else
246# if _POSIX_DEVICE_SPECIFIC_R > 0
247# define CONF_DEF_POSIX_DEVICE_SPECIFIC_R CONF_DEF_DEFINED_SET
248# else
249# define CONF_DEF_POSIX_DEVICE_SPECIFIC_R CONF_DEF_DEFINED_UNSET
250# endif
251#endif
252
253#ifndef _POSIX_MAPPED_FILES
254# define CONF_DEF_POSIX_MAPPED_FILES CONF_DEF_UNDEFINED
255#else
256# if _POSIX_MAPPED_FILES > 0
257# define CONF_DEF_POSIX_MAPPED_FILES CONF_DEF_DEFINED_SET
258# else
259# define CONF_DEF_POSIX_MAPPED_FILES CONF_DEF_DEFINED_UNSET
260# endif
261#endif
262
263#ifndef _POSIX_C_LANG_SUPPORT
264# define CONF_DEF_POSIX_C_LANG_SUPPORT CONF_DEF_UNDEFINED
265#else
266# if _POSIX_C_LANG_SUPPORT > 0
267# define CONF_DEF_POSIX_C_LANG_SUPPORT CONF_DEF_DEFINED_SET
268# else
269# define CONF_DEF_POSIX_C_LANG_SUPPORT CONF_DEF_DEFINED_UNSET
270# endif
271#endif
272
273#ifndef _POSIX_ARG_MAX
274# define CONF_DEF_POSIX_ARG_MAX CONF_DEF_UNDEFINED
275#else
276# if _POSIX_ARG_MAX > 0
277# define CONF_DEF_POSIX_ARG_MAX CONF_DEF_DEFINED_SET
278# else
279# define CONF_DEF_POSIX_ARG_MAX CONF_DEF_DEFINED_UNSET
280# endif
281#endif
282
283#ifndef _POSIX_PIPE
284# define CONF_DEF_POSIX_PIPE CONF_DEF_UNDEFINED
285#else
286# if _POSIX_PIPE > 0
287# define CONF_DEF_POSIX_PIPE CONF_DEF_DEFINED_SET
288# else
289# define CONF_DEF_POSIX_PIPE CONF_DEF_DEFINED_UNSET
290# endif
291#endif
292
293#ifndef _POSIX_V6_LP64_OFF64
294# define CONF_DEF_POSIX_V6_LP64_OFF64 CONF_DEF_UNDEFINED
295#else
296# if _POSIX_V6_LP64_OFF64 > 0
297# define CONF_DEF_POSIX_V6_LP64_OFF64 CONF_DEF_DEFINED_SET
298# else
299# define CONF_DEF_POSIX_V6_LP64_OFF64 CONF_DEF_DEFINED_UNSET
300# endif
301#endif
302
303#ifndef _POSIX_THREAD_CPUTIME
304# define CONF_DEF_POSIX_THREAD_CPUTIME CONF_DEF_UNDEFINED
305#else
306# if _POSIX_THREAD_CPUTIME > 0
307# define CONF_DEF_POSIX_THREAD_CPUTIME CONF_DEF_DEFINED_SET
308# else
309# define CONF_DEF_POSIX_THREAD_CPUTIME CONF_DEF_DEFINED_UNSET
310# endif
311#endif
312
313#ifndef _POSIX_THREAD_SPORADIC_SERVER
314# define CONF_DEF_POSIX_THREAD_SPORADIC_SERVER CONF_DEF_UNDEFINED
315#else
316# if _POSIX_THREAD_SPORADIC_SERVER > 0
317# define CONF_DEF_POSIX_THREAD_SPORADIC_SERVER CONF_DEF_DEFINED_SET
318# else
319# define CONF_DEF_POSIX_THREAD_SPORADIC_SERVER CONF_DEF_DEFINED_UNSET
320# endif
321#endif
322
323#ifndef _POSIX_SHELL
324# define CONF_DEF_POSIX_SHELL CONF_DEF_UNDEFINED
325#else
326# if _POSIX_SHELL > 0
327# define CONF_DEF_POSIX_SHELL CONF_DEF_DEFINED_SET
328# else
329# define CONF_DEF_POSIX_SHELL CONF_DEF_DEFINED_UNSET
330# endif
331#endif
332
333#ifndef _POSIX_TYPED_MEMORY_OBJECTS
334# define CONF_DEF_POSIX_TYPED_MEMORY_OBJECTS CONF_DEF_UNDEFINED
335#else
336# if _POSIX_TYPED_MEMORY_OBJECTS > 0
337# define CONF_DEF_POSIX_TYPED_MEMORY_OBJECTS CONF_DEF_DEFINED_SET
338# else
339# define CONF_DEF_POSIX_TYPED_MEMORY_OBJECTS CONF_DEF_DEFINED_UNSET
340# endif
341#endif
342
343#ifndef _POSIX_BARRIERS
344# define CONF_DEF_POSIX_BARRIERS CONF_DEF_UNDEFINED
345#else
346# if _POSIX_BARRIERS > 0
347# define CONF_DEF_POSIX_BARRIERS CONF_DEF_DEFINED_SET
348# else
349# define CONF_DEF_POSIX_BARRIERS CONF_DEF_DEFINED_UNSET
350# endif
351#endif
352
353#ifndef _POSIX_CHILD_MAX
354# define CONF_DEF_POSIX_CHILD_MAX CONF_DEF_UNDEFINED
355#else
356# if _POSIX_CHILD_MAX > 0
357# define CONF_DEF_POSIX_CHILD_MAX CONF_DEF_DEFINED_SET
358# else
359# define CONF_DEF_POSIX_CHILD_MAX CONF_DEF_DEFINED_UNSET
360# endif
361#endif
362
363#ifndef _POSIX_THREAD_PROCESS_SHARED
364# define CONF_DEF_POSIX_THREAD_PROCESS_SHARED CONF_DEF_UNDEFINED
365#else
366# if _POSIX_THREAD_PROCESS_SHARED > 0
367# define CONF_DEF_POSIX_THREAD_PROCESS_SHARED CONF_DEF_DEFINED_SET
368# else
369# define CONF_DEF_POSIX_THREAD_PROCESS_SHARED CONF_DEF_DEFINED_UNSET
370# endif
371#endif
372
373#ifndef _POSIX_TRACE_LOG
374# define CONF_DEF_POSIX_TRACE_LOG CONF_DEF_UNDEFINED
375#else
376# if _POSIX_TRACE_LOG > 0
377# define CONF_DEF_POSIX_TRACE_LOG CONF_DEF_DEFINED_SET
378# else
379# define CONF_DEF_POSIX_TRACE_LOG CONF_DEF_DEFINED_UNSET
380# endif
381#endif
382
383#ifndef _POSIX_FIFO
384# define CONF_DEF_POSIX_FIFO CONF_DEF_UNDEFINED
385#else
386# if _POSIX_FIFO > 0
387# define CONF_DEF_POSIX_FIFO CONF_DEF_DEFINED_SET
388# else
389# define CONF_DEF_POSIX_FIFO CONF_DEF_DEFINED_UNSET
390# endif
391#endif
392
393#ifndef _POSIX_SINGLE_PROCESS
394# define CONF_DEF_POSIX_SINGLE_PROCESS CONF_DEF_UNDEFINED
395#else
396# if _POSIX_SINGLE_PROCESS > 0
397# define CONF_DEF_POSIX_SINGLE_PROCESS CONF_DEF_DEFINED_SET
398# else
399# define CONF_DEF_POSIX_SINGLE_PROCESS CONF_DEF_DEFINED_UNSET
400# endif
401#endif
402
403#ifndef _POSIX_ASYNCHRONOUS_IO
404# define CONF_DEF_POSIX_ASYNCHRONOUS_IO CONF_DEF_UNDEFINED
405#else
406# if _POSIX_ASYNCHRONOUS_IO > 0
407# define CONF_DEF_POSIX_ASYNCHRONOUS_IO CONF_DEF_DEFINED_SET
408# else
409# define CONF_DEF_POSIX_ASYNCHRONOUS_IO CONF_DEF_DEFINED_UNSET
410# endif
411#endif
412
413#ifndef _POSIX_SPIN_LOCKS
414# define CONF_DEF_POSIX_SPIN_LOCKS CONF_DEF_UNDEFINED
415#else
416# if _POSIX_SPIN_LOCKS > 0
417# define CONF_DEF_POSIX_SPIN_LOCKS CONF_DEF_DEFINED_SET
418# else
419# define CONF_DEF_POSIX_SPIN_LOCKS CONF_DEF_DEFINED_UNSET
420# endif
421#endif
422
423#ifndef _POSIX_PII_INTERNET_DGRAM
424# define CONF_DEF_POSIX_PII_INTERNET_DGRAM CONF_DEF_UNDEFINED
425#else
426# if _POSIX_PII_INTERNET_DGRAM > 0
427# define CONF_DEF_POSIX_PII_INTERNET_DGRAM CONF_DEF_DEFINED_SET
428# else
429# define CONF_DEF_POSIX_PII_INTERNET_DGRAM CONF_DEF_DEFINED_UNSET
430# endif
431#endif
432
433#ifndef _POSIX_JOB_CONTROL
434# define CONF_DEF_POSIX_JOB_CONTROL CONF_DEF_UNDEFINED
435#else
436# if _POSIX_JOB_CONTROL > 0
437# define CONF_DEF_POSIX_JOB_CONTROL CONF_DEF_DEFINED_SET
438# else
439# define CONF_DEF_POSIX_JOB_CONTROL CONF_DEF_DEFINED_UNSET
440# endif
441#endif
442
443#ifndef _POSIX_THREAD_PRIO_INHERIT
444# define CONF_DEF_POSIX_THREAD_PRIO_INHERIT CONF_DEF_UNDEFINED
445#else
446# if _POSIX_THREAD_PRIO_INHERIT > 0
447# define CONF_DEF_POSIX_THREAD_PRIO_INHERIT CONF_DEF_DEFINED_SET
448# else
449# define CONF_DEF_POSIX_THREAD_PRIO_INHERIT CONF_DEF_DEFINED_UNSET
450# endif
451#endif
452
453#ifndef _POSIX_V6_ILP32_OFF32
454# define CONF_DEF_POSIX_V6_ILP32_OFF32 CONF_DEF_UNDEFINED
455#else
456# if _POSIX_V6_ILP32_OFF32 > 0
457# define CONF_DEF_POSIX_V6_ILP32_OFF32 CONF_DEF_DEFINED_SET
458# else
459# define CONF_DEF_POSIX_V6_ILP32_OFF32 CONF_DEF_DEFINED_UNSET
460# endif
461#endif
462
463#ifndef _POSIX_SYNCHRONIZED_IO
464# define CONF_DEF_POSIX_SYNCHRONIZED_IO CONF_DEF_UNDEFINED
465#else
466# if _POSIX_SYNCHRONIZED_IO > 0
467# define CONF_DEF_POSIX_SYNCHRONIZED_IO CONF_DEF_DEFINED_SET
468# else
469# define CONF_DEF_POSIX_SYNCHRONIZED_IO CONF_DEF_DEFINED_UNSET
470# endif
471#endif
472
473#ifndef _POSIX_TZNAME_MAX
474# define CONF_DEF_POSIX_TZNAME_MAX CONF_DEF_UNDEFINED
475#else
476# if _POSIX_TZNAME_MAX > 0
477# define CONF_DEF_POSIX_TZNAME_MAX CONF_DEF_DEFINED_SET
478# else
479# define CONF_DEF_POSIX_TZNAME_MAX CONF_DEF_DEFINED_UNSET
480# endif
481#endif
482
483#ifndef _POSIX_TRACE
484# define CONF_DEF_POSIX_TRACE CONF_DEF_UNDEFINED
485#else
486# if _POSIX_TRACE > 0
487# define CONF_DEF_POSIX_TRACE CONF_DEF_DEFINED_SET
488# else
489# define CONF_DEF_POSIX_TRACE CONF_DEF_DEFINED_UNSET
490# endif
491#endif
492
493#ifndef _POSIX_SYSTEM_DATABASE
494# define CONF_DEF_POSIX_SYSTEM_DATABASE CONF_DEF_UNDEFINED
495#else
496# if _POSIX_SYSTEM_DATABASE > 0
497# define CONF_DEF_POSIX_SYSTEM_DATABASE CONF_DEF_DEFINED_SET
498# else
499# define CONF_DEF_POSIX_SYSTEM_DATABASE CONF_DEF_DEFINED_UNSET
500# endif
501#endif
502
503#ifndef _POSIX_PII
504# define CONF_DEF_POSIX_PII CONF_DEF_UNDEFINED
505#else
506# if _POSIX_PII > 0
507# define CONF_DEF_POSIX_PII CONF_DEF_DEFINED_SET
508# else
509# define CONF_DEF_POSIX_PII CONF_DEF_DEFINED_UNSET
510# endif
511#endif
512
513#ifndef _POSIX_SYSTEM_DATABASE_R
514# define CONF_DEF_POSIX_SYSTEM_DATABASE_R CONF_DEF_UNDEFINED
515#else
516# if _POSIX_SYSTEM_DATABASE_R > 0
517# define CONF_DEF_POSIX_SYSTEM_DATABASE_R CONF_DEF_DEFINED_SET
518# else
519# define CONF_DEF_POSIX_SYSTEM_DATABASE_R CONF_DEF_DEFINED_UNSET
520# endif
521#endif
522
523#ifndef _POSIX_PII_SOCKET
524# define CONF_DEF_POSIX_PII_SOCKET CONF_DEF_UNDEFINED
525#else
526# if _POSIX_PII_SOCKET > 0
527# define CONF_DEF_POSIX_PII_SOCKET CONF_DEF_DEFINED_SET
528# else
529# define CONF_DEF_POSIX_PII_SOCKET CONF_DEF_DEFINED_UNSET
530# endif
531#endif
532
533#ifndef _XBS5_LP64_OFF64
534# define CONF_DEF_XBS5_LP64_OFF64 CONF_DEF_UNDEFINED
535#else
536# if _XBS5_LP64_OFF64 > 0
537# define CONF_DEF_XBS5_LP64_OFF64 CONF_DEF_DEFINED_SET
538# else
539# define CONF_DEF_XBS5_LP64_OFF64 CONF_DEF_DEFINED_UNSET
540# endif
541#endif
542
543#ifndef _POSIX_PII_INTERNET
544# define CONF_DEF_POSIX_PII_INTERNET CONF_DEF_UNDEFINED
545#else
546# if _POSIX_PII_INTERNET > 0
547# define CONF_DEF_POSIX_PII_INTERNET CONF_DEF_DEFINED_SET
548# else
549# define CONF_DEF_POSIX_PII_INTERNET CONF_DEF_DEFINED_UNSET
550# endif
551#endif
552
553#ifndef _POSIX_SPORADIC_SERVER
554# define CONF_DEF_POSIX_SPORADIC_SERVER CONF_DEF_UNDEFINED
555#else
556# if _POSIX_SPORADIC_SERVER > 0
557# define CONF_DEF_POSIX_SPORADIC_SERVER CONF_DEF_DEFINED_SET
558# else
559# define CONF_DEF_POSIX_SPORADIC_SERVER CONF_DEF_DEFINED_UNSET
560# endif
561#endif
562
563#ifndef _POSIX_POLL
564# define CONF_DEF_POSIX_POLL CONF_DEF_UNDEFINED
565#else
566# if _POSIX_POLL > 0
567# define CONF_DEF_POSIX_POLL CONF_DEF_DEFINED_SET
568# else
569# define CONF_DEF_POSIX_POLL CONF_DEF_DEFINED_UNSET
570# endif
571#endif
572
573#ifndef _POSIX_PII_OSI_COTS
574# define CONF_DEF_POSIX_PII_OSI_COTS CONF_DEF_UNDEFINED
575#else
576# if _POSIX_PII_OSI_COTS > 0
577# define CONF_DEF_POSIX_PII_OSI_COTS CONF_DEF_DEFINED_SET
578# else
579# define CONF_DEF_POSIX_PII_OSI_COTS CONF_DEF_DEFINED_UNSET
580# endif
581#endif
582
583#ifndef _POSIX_CLOCK_SELECTION
584# define CONF_DEF_POSIX_CLOCK_SELECTION CONF_DEF_UNDEFINED
585#else
586# if _POSIX_CLOCK_SELECTION > 0
587# define CONF_DEF_POSIX_CLOCK_SELECTION CONF_DEF_DEFINED_SET
588# else
589# define CONF_DEF_POSIX_CLOCK_SELECTION CONF_DEF_DEFINED_UNSET
590# endif
591#endif
592
593#ifndef _POSIX_THREAD_ATTR_STACKADDR
594# define CONF_DEF_POSIX_THREAD_ATTR_STACKADDR CONF_DEF_UNDEFINED
595#else
596# if _POSIX_THREAD_ATTR_STACKADDR > 0
597# define CONF_DEF_POSIX_THREAD_ATTR_STACKADDR CONF_DEF_DEFINED_SET
598# else
599# define CONF_DEF_POSIX_THREAD_ATTR_STACKADDR CONF_DEF_DEFINED_UNSET
600# endif
601#endif
602
603#ifndef _POSIX_RAW_SOCKETS
604# define CONF_DEF_POSIX_RAW_SOCKETS CONF_DEF_UNDEFINED
605#else
606# if _POSIX_RAW_SOCKETS > 0
607# define CONF_DEF_POSIX_RAW_SOCKETS CONF_DEF_DEFINED_SET
608# else
609# define CONF_DEF_POSIX_RAW_SOCKETS CONF_DEF_DEFINED_UNSET
610# endif
611#endif
612
613#ifndef _POSIX_TRACE_INHERIT
614# define CONF_DEF_POSIX_TRACE_INHERIT CONF_DEF_UNDEFINED
615#else
616# if _POSIX_TRACE_INHERIT > 0
617# define CONF_DEF_POSIX_TRACE_INHERIT CONF_DEF_DEFINED_SET
618# else
619# define CONF_DEF_POSIX_TRACE_INHERIT CONF_DEF_DEFINED_UNSET
620# endif
621#endif
622
623#ifndef _POSIX_TRACE_EVENT_FILTER
624# define CONF_DEF_POSIX_TRACE_EVENT_FILTER CONF_DEF_UNDEFINED
625#else
626# if _POSIX_TRACE_EVENT_FILTER > 0
627# define CONF_DEF_POSIX_TRACE_EVENT_FILTER CONF_DEF_DEFINED_SET
628# else
629# define CONF_DEF_POSIX_TRACE_EVENT_FILTER CONF_DEF_DEFINED_UNSET
630# endif
631#endif
632
633#ifndef _POSIX_PII_OSI_M
634# define CONF_DEF_POSIX_PII_OSI_M CONF_DEF_UNDEFINED
635#else
636# if _POSIX_PII_OSI_M > 0
637# define CONF_DEF_POSIX_PII_OSI_M CONF_DEF_DEFINED_SET
638# else
639# define CONF_DEF_POSIX_PII_OSI_M CONF_DEF_DEFINED_UNSET
640# endif
641#endif
642
643#ifndef _POSIX_TIMEOUTS
644# define CONF_DEF_POSIX_TIMEOUTS CONF_DEF_UNDEFINED
645#else
646# if _POSIX_TIMEOUTS > 0
647# define CONF_DEF_POSIX_TIMEOUTS CONF_DEF_DEFINED_SET
648# else
649# define CONF_DEF_POSIX_TIMEOUTS CONF_DEF_DEFINED_UNSET
650# endif
651#endif
652
653#ifndef _POSIX_V7_LP64_OFF64
654# define CONF_DEF_POSIX_V7_LP64_OFF64 CONF_DEF_UNDEFINED
655#else
656# if _POSIX_V7_LP64_OFF64 > 0
657# define CONF_DEF_POSIX_V7_LP64_OFF64 CONF_DEF_DEFINED_SET
658# else
659# define CONF_DEF_POSIX_V7_LP64_OFF64 CONF_DEF_DEFINED_UNSET
660# endif
661#endif
662
663#ifndef _POSIX_SEMAPHORES
664# define CONF_DEF_POSIX_SEMAPHORES CONF_DEF_UNDEFINED
665#else
666# if _POSIX_SEMAPHORES > 0
667# define CONF_DEF_POSIX_SEMAPHORES CONF_DEF_DEFINED_SET
668# else
669# define CONF_DEF_POSIX_SEMAPHORES CONF_DEF_DEFINED_UNSET
670# endif
671#endif
672
673#ifndef _POSIX_FSYNC
674# define CONF_DEF_POSIX_FSYNC CONF_DEF_UNDEFINED
675#else
676# if _POSIX_FSYNC > 0
677# define CONF_DEF_POSIX_FSYNC CONF_DEF_DEFINED_SET
678# else
679# define CONF_DEF_POSIX_FSYNC CONF_DEF_DEFINED_UNSET
680# endif
681#endif
682
683#ifndef _POSIX_REGEXP
684# define CONF_DEF_POSIX_REGEXP CONF_DEF_UNDEFINED
685#else
686# if _POSIX_REGEXP > 0
687# define CONF_DEF_POSIX_REGEXP CONF_DEF_DEFINED_SET
688# else
689# define CONF_DEF_POSIX_REGEXP CONF_DEF_DEFINED_UNSET
690# endif
691#endif
692
693#ifndef _XBS5_ILP32_OFFBIG
694# define CONF_DEF_XBS5_ILP32_OFFBIG CONF_DEF_UNDEFINED
695#else
696# if _XBS5_ILP32_OFFBIG > 0
697# define CONF_DEF_XBS5_ILP32_OFFBIG CONF_DEF_DEFINED_SET
698# else
699# define CONF_DEF_XBS5_ILP32_OFFBIG CONF_DEF_DEFINED_UNSET
700# endif
701#endif
702
703#ifndef _POSIX_PRIORITY_SCHEDULING
704# define CONF_DEF_POSIX_PRIORITY_SCHEDULING CONF_DEF_UNDEFINED
705#else
706# if _POSIX_PRIORITY_SCHEDULING > 0
707# define CONF_DEF_POSIX_PRIORITY_SCHEDULING CONF_DEF_DEFINED_SET
708# else
709# define CONF_DEF_POSIX_PRIORITY_SCHEDULING CONF_DEF_DEFINED_UNSET
710# endif
711#endif
712
713#ifndef _POSIX_THREADS
714# define CONF_DEF_POSIX_THREADS CONF_DEF_UNDEFINED
715#else
716# if _POSIX_THREADS > 0
717# define CONF_DEF_POSIX_THREADS CONF_DEF_DEFINED_SET
718# else
719# define CONF_DEF_POSIX_THREADS CONF_DEF_DEFINED_UNSET
720# endif
721#endif
722
723#ifndef _POSIX_PII_XTI
724# define CONF_DEF_POSIX_PII_XTI CONF_DEF_UNDEFINED
725#else
726# if _POSIX_PII_XTI > 0
727# define CONF_DEF_POSIX_PII_XTI CONF_DEF_DEFINED_SET
728# else
729# define CONF_DEF_POSIX_PII_XTI CONF_DEF_DEFINED_UNSET
730# endif
731#endif
732
733#ifndef _POSIX_MESSAGE_PASSING
734# define CONF_DEF_POSIX_MESSAGE_PASSING CONF_DEF_UNDEFINED
735#else
736# if _POSIX_MESSAGE_PASSING > 0
737# define CONF_DEF_POSIX_MESSAGE_PASSING CONF_DEF_DEFINED_SET
738# else
739# define CONF_DEF_POSIX_MESSAGE_PASSING CONF_DEF_DEFINED_UNSET
740# endif
741#endif
742
743#ifndef _POSIX_READER_WRITER_LOCKS
744# define CONF_DEF_POSIX_READER_WRITER_LOCKS CONF_DEF_UNDEFINED
745#else
746# if _POSIX_READER_WRITER_LOCKS > 0
747# define CONF_DEF_POSIX_READER_WRITER_LOCKS CONF_DEF_DEFINED_SET
748# else
749# define CONF_DEF_POSIX_READER_WRITER_LOCKS CONF_DEF_DEFINED_UNSET
750# endif
751#endif
752
753#ifndef _POSIX_V6_ILP32_OFFBIG
754# define CONF_DEF_POSIX_V6_ILP32_OFFBIG CONF_DEF_UNDEFINED
755#else
756# if _POSIX_V6_ILP32_OFFBIG > 0
757# define CONF_DEF_POSIX_V6_ILP32_OFFBIG CONF_DEF_DEFINED_SET
758# else
759# define CONF_DEF_POSIX_V6_ILP32_OFFBIG CONF_DEF_DEFINED_UNSET
760# endif
761#endif
762
763#ifndef _POSIX_NGROUPS_MAX
764# define CONF_DEF_POSIX_NGROUPS_MAX CONF_DEF_UNDEFINED
765#else
766# if _POSIX_NGROUPS_MAX > 0
767# define CONF_DEF_POSIX_NGROUPS_MAX CONF_DEF_DEFINED_SET
768# else
769# define CONF_DEF_POSIX_NGROUPS_MAX CONF_DEF_DEFINED_UNSET
770# endif
771#endif
772
773#ifndef _POSIX_THREAD_PRIO_PROTECT
774# define CONF_DEF_POSIX_THREAD_PRIO_PROTECT CONF_DEF_UNDEFINED
775#else
776# if _POSIX_THREAD_PRIO_PROTECT > 0
777# define CONF_DEF_POSIX_THREAD_PRIO_PROTECT CONF_DEF_DEFINED_SET
778# else
779# define CONF_DEF_POSIX_THREAD_PRIO_PROTECT CONF_DEF_DEFINED_UNSET
780# endif
781#endif
782
783#ifndef _POSIX_SIGNALS
784# define CONF_DEF_POSIX_SIGNALS CONF_DEF_UNDEFINED
785#else
786# if _POSIX_SIGNALS > 0
787# define CONF_DEF_POSIX_SIGNALS CONF_DEF_DEFINED_SET
788# else
789# define CONF_DEF_POSIX_SIGNALS CONF_DEF_DEFINED_UNSET
790# endif
791#endif
792
793#ifndef _POSIX_SELECT
794# define CONF_DEF_POSIX_SELECT CONF_DEF_UNDEFINED
795#else
796# if _POSIX_SELECT > 0
797# define CONF_DEF_POSIX_SELECT CONF_DEF_DEFINED_SET
798# else
799# define CONF_DEF_POSIX_SELECT CONF_DEF_DEFINED_UNSET
800# endif
801#endif
802
803#ifndef _POSIX_OPEN_MAX
804# define CONF_DEF_POSIX_OPEN_MAX CONF_DEF_UNDEFINED
805#else
806# if _POSIX_OPEN_MAX > 0
807# define CONF_DEF_POSIX_OPEN_MAX CONF_DEF_DEFINED_SET
808# else
809# define CONF_DEF_POSIX_OPEN_MAX CONF_DEF_DEFINED_UNSET
810# endif
811#endif
812
813#ifndef _POSIX_FD_MGMT
814# define CONF_DEF_POSIX_FD_MGMT CONF_DEF_UNDEFINED
815#else
816# if _POSIX_FD_MGMT > 0
817# define CONF_DEF_POSIX_FD_MGMT CONF_DEF_DEFINED_SET
818# else
819# define CONF_DEF_POSIX_FD_MGMT CONF_DEF_DEFINED_UNSET
820# endif
821#endif
822
823#ifndef _POSIX_IPV6
824# define CONF_DEF_POSIX_IPV6 CONF_DEF_UNDEFINED
825#else
826# if _POSIX_IPV6 > 0
827# define CONF_DEF_POSIX_IPV6 CONF_DEF_DEFINED_SET
828# else
829# define CONF_DEF_POSIX_IPV6 CONF_DEF_DEFINED_UNSET
830# endif
831#endif
832
833#ifndef _POSIX_STREAM_MAX
834# define CONF_DEF_POSIX_STREAM_MAX CONF_DEF_UNDEFINED
835#else
836# if _POSIX_STREAM_MAX > 0
837# define CONF_DEF_POSIX_STREAM_MAX CONF_DEF_DEFINED_SET
838# else
839# define CONF_DEF_POSIX_STREAM_MAX CONF_DEF_DEFINED_UNSET
840# endif
841#endif
842
843#ifndef _POSIX_THREAD_ATTR_STACKSIZE
844# define CONF_DEF_POSIX_THREAD_ATTR_STACKSIZE CONF_DEF_UNDEFINED
845#else
846# if _POSIX_THREAD_ATTR_STACKSIZE > 0
847# define CONF_DEF_POSIX_THREAD_ATTR_STACKSIZE CONF_DEF_DEFINED_SET
848# else
849# define CONF_DEF_POSIX_THREAD_ATTR_STACKSIZE CONF_DEF_DEFINED_UNSET
850# endif
851#endif
852
853#ifndef _POSIX_USER_GROUPS
854# define CONF_DEF_POSIX_USER_GROUPS CONF_DEF_UNDEFINED
855#else
856# if _POSIX_USER_GROUPS > 0
857# define CONF_DEF_POSIX_USER_GROUPS CONF_DEF_DEFINED_SET
858# else
859# define CONF_DEF_POSIX_USER_GROUPS CONF_DEF_DEFINED_UNSET
860# endif
861#endif
862
863#ifndef _POSIX_TIMERS
864# define CONF_DEF_POSIX_TIMERS CONF_DEF_UNDEFINED
865#else
866# if _POSIX_TIMERS > 0
867# define CONF_DEF_POSIX_TIMERS CONF_DEF_DEFINED_SET
868# else
869# define CONF_DEF_POSIX_TIMERS CONF_DEF_DEFINED_UNSET
870# endif
871#endif
872
873#ifndef _XBS5_LPBIG_OFFBIG
874# define CONF_DEF_XBS5_LPBIG_OFFBIG CONF_DEF_UNDEFINED
875#else
876# if _XBS5_LPBIG_OFFBIG > 0
877# define CONF_DEF_XBS5_LPBIG_OFFBIG CONF_DEF_DEFINED_SET
878# else
879# define CONF_DEF_XBS5_LPBIG_OFFBIG CONF_DEF_DEFINED_UNSET
880# endif
881#endif
882
883#ifndef _POSIX_PRIORITIZED_IO
884# define CONF_DEF_POSIX_PRIORITIZED_IO CONF_DEF_UNDEFINED
885#else
886# if _POSIX_PRIORITIZED_IO > 0
887# define CONF_DEF_POSIX_PRIORITIZED_IO CONF_DEF_DEFINED_SET
888# else
889# define CONF_DEF_POSIX_PRIORITIZED_IO CONF_DEF_DEFINED_UNSET
890# endif
891#endif
892
893#ifndef _POSIX_PII_OSI_CLTS
894# define CONF_DEF_POSIX_PII_OSI_CLTS CONF_DEF_UNDEFINED
895#else
896# if _POSIX_PII_OSI_CLTS > 0
897# define CONF_DEF_POSIX_PII_OSI_CLTS CONF_DEF_DEFINED_SET
898# else
899# define CONF_DEF_POSIX_PII_OSI_CLTS CONF_DEF_DEFINED_UNSET
900# endif
901#endif
902
903#ifndef _POSIX_FILE_ATTRIBUTES
904# define CONF_DEF_POSIX_FILE_ATTRIBUTES CONF_DEF_UNDEFINED
905#else
906# if _POSIX_FILE_ATTRIBUTES > 0
907# define CONF_DEF_POSIX_FILE_ATTRIBUTES CONF_DEF_DEFINED_SET
908# else
909# define CONF_DEF_POSIX_FILE_ATTRIBUTES CONF_DEF_DEFINED_UNSET
910# endif
911#endif
912
913#ifndef _POSIX_BASE
914# define CONF_DEF_POSIX_BASE CONF_DEF_UNDEFINED
915#else
916# if _POSIX_BASE > 0
917# define CONF_DEF_POSIX_BASE CONF_DEF_DEFINED_SET
918# else
919# define CONF_DEF_POSIX_BASE CONF_DEF_DEFINED_UNSET
920# endif
921#endif
922
923#ifndef _POSIX_C_LANG_SUPPORT_R
924# define CONF_DEF_POSIX_C_LANG_SUPPORT_R CONF_DEF_UNDEFINED
925#else
926# if _POSIX_C_LANG_SUPPORT_R > 0
927# define CONF_DEF_POSIX_C_LANG_SUPPORT_R CONF_DEF_DEFINED_SET
928# else
929# define CONF_DEF_POSIX_C_LANG_SUPPORT_R CONF_DEF_DEFINED_UNSET
930# endif
931#endif
932
933#ifndef _POSIX_FILE_SYSTEM
934# define CONF_DEF_POSIX_FILE_SYSTEM CONF_DEF_UNDEFINED
935#else
936# if _POSIX_FILE_SYSTEM > 0
937# define CONF_DEF_POSIX_FILE_SYSTEM CONF_DEF_DEFINED_SET
938# else
939# define CONF_DEF_POSIX_FILE_SYSTEM CONF_DEF_DEFINED_UNSET
940# endif
941#endif
942
943#ifndef _XBS5_ILP32_OFF32
944# define CONF_DEF_XBS5_ILP32_OFF32 CONF_DEF_UNDEFINED
945#else
946# if _XBS5_ILP32_OFF32 > 0
947# define CONF_DEF_XBS5_ILP32_OFF32 CONF_DEF_DEFINED_SET
948# else
949# define CONF_DEF_XBS5_ILP32_OFF32 CONF_DEF_DEFINED_UNSET
950# endif
951#endif
952
953#ifndef _POSIX_V7_ILP32_OFF32
954# define CONF_DEF_POSIX_V7_ILP32_OFF32 CONF_DEF_UNDEFINED
955#else
956# if _POSIX_V7_ILP32_OFF32 > 0
957# define CONF_DEF_POSIX_V7_ILP32_OFF32 CONF_DEF_DEFINED_SET
958# else
959# define CONF_DEF_POSIX_V7_ILP32_OFF32 CONF_DEF_DEFINED_UNSET
960# endif
961#endif
962
963#ifndef _POSIX_NETWORKING
964# define CONF_DEF_POSIX_NETWORKING CONF_DEF_UNDEFINED
965#else
966# if _POSIX_NETWORKING > 0
967# define CONF_DEF_POSIX_NETWORKING CONF_DEF_DEFINED_SET
968# else
969# define CONF_DEF_POSIX_NETWORKING CONF_DEF_DEFINED_UNSET
970# endif
971#endif
972
973#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
974# define CONF_DEF_POSIX_THREAD_PRIORITY_SCHEDULING CONF_DEF_UNDEFINED
975#else
976# if _POSIX_THREAD_PRIORITY_SCHEDULING > 0
977# define CONF_DEF_POSIX_THREAD_PRIORITY_SCHEDULING CONF_DEF_DEFINED_SET
978# else
979# define CONF_DEF_POSIX_THREAD_PRIORITY_SCHEDULING CONF_DEF_DEFINED_UNSET
980# endif
981#endif
982
983#if NEED_SPEC_ARRAY
984static const struct { const char *name; int num; } specs[] =
985 {
986 { "POSIX_V6_ILP32_OFF32", _SC_V6_ILP32_OFF32 },
987 { "POSIX_V7_LPBIG_OFFBIG", _SC_V7_LPBIG_OFFBIG },
988 { "XBS5_LP64_OFF64", _SC_XBS5_LP64_OFF64 },
989 { "POSIX_V6_LP64_OFF64", _SC_V6_LP64_OFF64 },
990 { "POSIX_V7_ILP32_OFFBIG", _SC_V7_ILP32_OFFBIG },
991 { "POSIX_V6_LPBIG_OFFBIG", _SC_V6_LPBIG_OFFBIG },
992 { "POSIX_V7_LP64_OFF64", _SC_V7_LP64_OFF64 },
993 { "POSIX_V7_ILP32_OFF32", _SC_V7_ILP32_OFF32 },
994 { "XBS5_LPBIG_OFFBIG", _SC_XBS5_LPBIG_OFFBIG },
995 { "XBS5_ILP32_OFFBIG", _SC_XBS5_ILP32_OFFBIG },
996 { "POSIX_V6_ILP32_OFFBIG", _SC_V6_ILP32_OFFBIG },
997 { "XBS5_ILP32_OFF32", _SC_XBS5_ILP32_OFF32 },
998 };
999static const size_t nspecs = sizeof (specs) / sizeof (specs[0]);
1000#endif
1001