Ruby: ext/etc/constdefs.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

constdefs.h
Go to the documentation of this file.
1/* autogenerated file */
2
3#if !defined(_SC_AIO_LISTIO_MAX)
4# if defined(HAVE_CONST__SC_AIO_LISTIO_MAX)
5# define _SC_AIO_LISTIO_MAX _SC_AIO_LISTIO_MAX
6# endif
7#endif
8#if !defined(_SC_AIO_MAX)
9# if defined(HAVE_CONST__SC_AIO_MAX)
10# define _SC_AIO_MAX _SC_AIO_MAX
11# endif
12#endif
13#if !defined(_SC_AIO_PRIO_DELTA_MAX)
14# if defined(HAVE_CONST__SC_AIO_PRIO_DELTA_MAX)
15# define _SC_AIO_PRIO_DELTA_MAX _SC_AIO_PRIO_DELTA_MAX
16# endif
17#endif
18#if !defined(_SC_ARG_MAX)
19# if defined(HAVE_CONST__SC_ARG_MAX)
20# define _SC_ARG_MAX _SC_ARG_MAX
21# endif
22#endif
23#if !defined(_SC_ATEXIT_MAX)
24# if defined(HAVE_CONST__SC_ATEXIT_MAX)
25# define _SC_ATEXIT_MAX _SC_ATEXIT_MAX
26# endif
27#endif
28#if !defined(_SC_BC_BASE_MAX)
29# if defined(HAVE_CONST__SC_BC_BASE_MAX)
30# define _SC_BC_BASE_MAX _SC_BC_BASE_MAX
31# endif
32#endif
33#if !defined(_SC_BC_DIM_MAX)
34# if defined(HAVE_CONST__SC_BC_DIM_MAX)
35# define _SC_BC_DIM_MAX _SC_BC_DIM_MAX
36# endif
37#endif
38#if !defined(_SC_BC_SCALE_MAX)
39# if defined(HAVE_CONST__SC_BC_SCALE_MAX)
40# define _SC_BC_SCALE_MAX _SC_BC_SCALE_MAX
41# endif
42#endif
43#if !defined(_SC_BC_STRING_MAX)
44# if defined(HAVE_CONST__SC_BC_STRING_MAX)
45# define _SC_BC_STRING_MAX _SC_BC_STRING_MAX
46# endif
47#endif
48#if !defined(_SC_CHILD_MAX)
49# if defined(HAVE_CONST__SC_CHILD_MAX)
50# define _SC_CHILD_MAX _SC_CHILD_MAX
51# endif
52#endif
53#if !defined(_SC_CLK_TCK)
54# if defined(HAVE_CONST__SC_CLK_TCK)
55# define _SC_CLK_TCK _SC_CLK_TCK
56# endif
57#endif
58#if !defined(_SC_COLL_WEIGHTS_MAX)
59# if defined(HAVE_CONST__SC_COLL_WEIGHTS_MAX)
60# define _SC_COLL_WEIGHTS_MAX _SC_COLL_WEIGHTS_MAX
61# endif
62#endif
63#if !defined(_SC_DELAYTIMER_MAX)
64# if defined(HAVE_CONST__SC_DELAYTIMER_MAX)
65# define _SC_DELAYTIMER_MAX _SC_DELAYTIMER_MAX
66# endif
67#endif
68#if !defined(_SC_EXPR_NEST_MAX)
69# if defined(HAVE_CONST__SC_EXPR_NEST_MAX)
70# define _SC_EXPR_NEST_MAX _SC_EXPR_NEST_MAX
71# endif
72#endif
73#if !defined(_SC_HOST_NAME_MAX)
74# if defined(HAVE_CONST__SC_HOST_NAME_MAX)
75# define _SC_HOST_NAME_MAX _SC_HOST_NAME_MAX
76# endif
77#endif
78#if !defined(_SC_IOV_MAX)
79# if defined(HAVE_CONST__SC_IOV_MAX)
80# define _SC_IOV_MAX _SC_IOV_MAX
81# endif
82#endif
83#if !defined(_SC_LINE_MAX)
84# if defined(HAVE_CONST__SC_LINE_MAX)
85# define _SC_LINE_MAX _SC_LINE_MAX
86# endif
87#endif
88#if !defined(_SC_LOGIN_NAME_MAX)
89# if defined(HAVE_CONST__SC_LOGIN_NAME_MAX)
90# define _SC_LOGIN_NAME_MAX _SC_LOGIN_NAME_MAX
91# endif
92#endif
93#if !defined(_SC_NGROUPS_MAX)
94# if defined(HAVE_CONST__SC_NGROUPS_MAX)
95# define _SC_NGROUPS_MAX _SC_NGROUPS_MAX
96# endif
97#endif
98#if !defined(_SC_GETGR_R_SIZE_MAX)
99# if defined(HAVE_CONST__SC_GETGR_R_SIZE_MAX)
100# define _SC_GETGR_R_SIZE_MAX _SC_GETGR_R_SIZE_MAX
101# endif
102#endif
103#if !defined(_SC_GETPW_R_SIZE_MAX)
104# if defined(HAVE_CONST__SC_GETPW_R_SIZE_MAX)
105# define _SC_GETPW_R_SIZE_MAX _SC_GETPW_R_SIZE_MAX
106# endif
107#endif
108#if !defined(_SC_MQ_OPEN_MAX)
109# if defined(HAVE_CONST__SC_MQ_OPEN_MAX)
110# define _SC_MQ_OPEN_MAX _SC_MQ_OPEN_MAX
111# endif
112#endif
113#if !defined(_SC_MQ_PRIO_MAX)
114# if defined(HAVE_CONST__SC_MQ_PRIO_MAX)
115# define _SC_MQ_PRIO_MAX _SC_MQ_PRIO_MAX
116# endif
117#endif
118#if !defined(_SC_OPEN_MAX)
119# if defined(HAVE_CONST__SC_OPEN_MAX)
120# define _SC_OPEN_MAX _SC_OPEN_MAX
121# endif
122#endif
123#if !defined(_SC_ADVISORY_INFO)
124# if defined(HAVE_CONST__SC_ADVISORY_INFO)
125# define _SC_ADVISORY_INFO _SC_ADVISORY_INFO
126# endif
127#endif
128#if !defined(_SC_BARRIERS)
129# if defined(HAVE_CONST__SC_BARRIERS)
130# define _SC_BARRIERS _SC_BARRIERS
131# endif
132#endif
133#if !defined(_SC_ASYNCHRONOUS_IO)
134# if defined(HAVE_CONST__SC_ASYNCHRONOUS_IO)
135# define _SC_ASYNCHRONOUS_IO _SC_ASYNCHRONOUS_IO
136# endif
137#endif
138#if !defined(_SC_CLOCK_SELECTION)
139# if defined(HAVE_CONST__SC_CLOCK_SELECTION)
140# define _SC_CLOCK_SELECTION _SC_CLOCK_SELECTION
141# endif
142#endif
143#if !defined(_SC_CPUTIME)
144# if defined(HAVE_CONST__SC_CPUTIME)
145# define _SC_CPUTIME _SC_CPUTIME
146# endif
147#endif
148#if !defined(_SC_FSYNC)
149# if defined(HAVE_CONST__SC_FSYNC)
150# define _SC_FSYNC _SC_FSYNC
151# endif
152#endif
153#if !defined(_SC_IPV6)
154# if defined(HAVE_CONST__SC_IPV6)
155# define _SC_IPV6 _SC_IPV6
156# endif
157#endif
158#if !defined(_SC_JOB_CONTROL)
159# if defined(HAVE_CONST__SC_JOB_CONTROL)
160# define _SC_JOB_CONTROL _SC_JOB_CONTROL
161# endif
162#endif
163#if !defined(_SC_MAPPED_FILES)
164# if defined(HAVE_CONST__SC_MAPPED_FILES)
165# define _SC_MAPPED_FILES _SC_MAPPED_FILES
166# endif
167#endif
168#if !defined(_SC_MEMLOCK)
169# if defined(HAVE_CONST__SC_MEMLOCK)
170# define _SC_MEMLOCK _SC_MEMLOCK
171# endif
172#endif
173#if !defined(_SC_MEMLOCK_RANGE)
174# if defined(HAVE_CONST__SC_MEMLOCK_RANGE)
175# define _SC_MEMLOCK_RANGE _SC_MEMLOCK_RANGE
176# endif
177#endif
178#if !defined(_SC_MEMORY_PROTECTION)
179# if defined(HAVE_CONST__SC_MEMORY_PROTECTION)
180# define _SC_MEMORY_PROTECTION _SC_MEMORY_PROTECTION
181# endif
182#endif
183#if !defined(_SC_MESSAGE_PASSING)
184# if defined(HAVE_CONST__SC_MESSAGE_PASSING)
185# define _SC_MESSAGE_PASSING _SC_MESSAGE_PASSING
186# endif
187#endif
188#if !defined(_SC_MONOTONIC_CLOCK)
189# if defined(HAVE_CONST__SC_MONOTONIC_CLOCK)
190# define _SC_MONOTONIC_CLOCK _SC_MONOTONIC_CLOCK
191# endif
192#endif
193#if !defined(_SC_PRIORITIZED_IO)
194# if defined(HAVE_CONST__SC_PRIORITIZED_IO)
195# define _SC_PRIORITIZED_IO _SC_PRIORITIZED_IO
196# endif
197#endif
198#if !defined(_SC_PRIORITY_SCHEDULING)
199# if defined(HAVE_CONST__SC_PRIORITY_SCHEDULING)
200# define _SC_PRIORITY_SCHEDULING _SC_PRIORITY_SCHEDULING
201# endif
202#endif
203#if !defined(_SC_RAW_SOCKETS)
204# if defined(HAVE_CONST__SC_RAW_SOCKETS)
205# define _SC_RAW_SOCKETS _SC_RAW_SOCKETS
206# endif
207#endif
208#if !defined(_SC_READER_WRITER_LOCKS)
209# if defined(HAVE_CONST__SC_READER_WRITER_LOCKS)
210# define _SC_READER_WRITER_LOCKS _SC_READER_WRITER_LOCKS
211# endif
212#endif
213#if !defined(_SC_REALTIME_SIGNALS)
214# if defined(HAVE_CONST__SC_REALTIME_SIGNALS)
215# define _SC_REALTIME_SIGNALS _SC_REALTIME_SIGNALS
216# endif
217#endif
218#if !defined(_SC_REGEXP)
219# if defined(HAVE_CONST__SC_REGEXP)
220# define _SC_REGEXP _SC_REGEXP
221# endif
222#endif
223#if !defined(_SC_SAVED_IDS)
224# if defined(HAVE_CONST__SC_SAVED_IDS)
225# define _SC_SAVED_IDS _SC_SAVED_IDS
226# endif
227#endif
228#if !defined(_SC_SEMAPHORES)
229# if defined(HAVE_CONST__SC_SEMAPHORES)
230# define _SC_SEMAPHORES _SC_SEMAPHORES
231# endif
232#endif
233#if !defined(_SC_SHARED_MEMORY_OBJECTS)
234# if defined(HAVE_CONST__SC_SHARED_MEMORY_OBJECTS)
235# define _SC_SHARED_MEMORY_OBJECTS _SC_SHARED_MEMORY_OBJECTS
236# endif
237#endif
238#if !defined(_SC_SHELL)
239# if defined(HAVE_CONST__SC_SHELL)
240# define _SC_SHELL _SC_SHELL
241# endif
242#endif
243#if !defined(_SC_SPAWN)
244# if defined(HAVE_CONST__SC_SPAWN)
245# define _SC_SPAWN _SC_SPAWN
246# endif
247#endif
248#if !defined(_SC_SPIN_LOCKS)
249# if defined(HAVE_CONST__SC_SPIN_LOCKS)
250# define _SC_SPIN_LOCKS _SC_SPIN_LOCKS
251# endif
252#endif
253#if !defined(_SC_SPORADIC_SERVER)
254# if defined(HAVE_CONST__SC_SPORADIC_SERVER)
255# define _SC_SPORADIC_SERVER _SC_SPORADIC_SERVER
256# endif
257#endif
258#if !defined(_SC_SS_REPL_MAX)
259# if defined(HAVE_CONST__SC_SS_REPL_MAX)
260# define _SC_SS_REPL_MAX _SC_SS_REPL_MAX
261# endif
262#endif
263#if !defined(_SC_SYNCHRONIZED_IO)
264# if defined(HAVE_CONST__SC_SYNCHRONIZED_IO)
265# define _SC_SYNCHRONIZED_IO _SC_SYNCHRONIZED_IO
266# endif
267#endif
268#if !defined(_SC_THREAD_ATTR_STACKADDR)
269# if defined(HAVE_CONST__SC_THREAD_ATTR_STACKADDR)
270# define _SC_THREAD_ATTR_STACKADDR _SC_THREAD_ATTR_STACKADDR
271# endif
272#endif
273#if !defined(_SC_THREAD_ATTR_STACKSIZE)
274# if defined(HAVE_CONST__SC_THREAD_ATTR_STACKSIZE)
275# define _SC_THREAD_ATTR_STACKSIZE _SC_THREAD_ATTR_STACKSIZE
276# endif
277#endif
278#if !defined(_SC_THREAD_CPUTIME)
279# if defined(HAVE_CONST__SC_THREAD_CPUTIME)
280# define _SC_THREAD_CPUTIME _SC_THREAD_CPUTIME
281# endif
282#endif
283#if !defined(_SC_THREAD_PRIO_INHERIT)
284# if defined(HAVE_CONST__SC_THREAD_PRIO_INHERIT)
285# define _SC_THREAD_PRIO_INHERIT _SC_THREAD_PRIO_INHERIT
286# endif
287#endif
288#if !defined(_SC_THREAD_PRIO_PROTECT)
289# if defined(HAVE_CONST__SC_THREAD_PRIO_PROTECT)
290# define _SC_THREAD_PRIO_PROTECT _SC_THREAD_PRIO_PROTECT
291# endif
292#endif
293#if !defined(_SC_THREAD_PRIORITY_SCHEDULING)
294# if defined(HAVE_CONST__SC_THREAD_PRIORITY_SCHEDULING)
295# define _SC_THREAD_PRIORITY_SCHEDULING _SC_THREAD_PRIORITY_SCHEDULING
296# endif
297#endif
298#if !defined(_SC_THREAD_PROCESS_SHARED)
299# if defined(HAVE_CONST__SC_THREAD_PROCESS_SHARED)
300# define _SC_THREAD_PROCESS_SHARED _SC_THREAD_PROCESS_SHARED
301# endif
302#endif
303#if !defined(_SC_THREAD_ROBUST_PRIO_INHERIT)
304# if defined(HAVE_CONST__SC_THREAD_ROBUST_PRIO_INHERIT)
305# define _SC_THREAD_ROBUST_PRIO_INHERIT _SC_THREAD_ROBUST_PRIO_INHERIT
306# endif
307#endif
308#if !defined(_SC_THREAD_ROBUST_PRIO_PROTECT)
309# if defined(HAVE_CONST__SC_THREAD_ROBUST_PRIO_PROTECT)
310# define _SC_THREAD_ROBUST_PRIO_PROTECT _SC_THREAD_ROBUST_PRIO_PROTECT
311# endif
312#endif
313#if !defined(_SC_THREAD_SAFE_FUNCTIONS)
314# if defined(HAVE_CONST__SC_THREAD_SAFE_FUNCTIONS)
315# define _SC_THREAD_SAFE_FUNCTIONS _SC_THREAD_SAFE_FUNCTIONS
316# endif
317#endif
318#if !defined(_SC_THREAD_SPORADIC_SERVER)
319# if defined(HAVE_CONST__SC_THREAD_SPORADIC_SERVER)
320# define _SC_THREAD_SPORADIC_SERVER _SC_THREAD_SPORADIC_SERVER
321# endif
322#endif
323#if !defined(_SC_THREADS)
324# if defined(HAVE_CONST__SC_THREADS)
325# define _SC_THREADS _SC_THREADS
326# endif
327#endif
328#if !defined(_SC_TIMEOUTS)
329# if defined(HAVE_CONST__SC_TIMEOUTS)
330# define _SC_TIMEOUTS _SC_TIMEOUTS
331# endif
332#endif
333#if !defined(_SC_TIMERS)
334# if defined(HAVE_CONST__SC_TIMERS)
335# define _SC_TIMERS _SC_TIMERS
336# endif
337#endif
338#if !defined(_SC_TRACE)
339# if defined(HAVE_CONST__SC_TRACE)
340# define _SC_TRACE _SC_TRACE
341# endif
342#endif
343#if !defined(_SC_TRACE_EVENT_FILTER)
344# if defined(HAVE_CONST__SC_TRACE_EVENT_FILTER)
345# define _SC_TRACE_EVENT_FILTER _SC_TRACE_EVENT_FILTER
346# endif
347#endif
348#if !defined(_SC_TRACE_EVENT_NAME_MAX)
349# if defined(HAVE_CONST__SC_TRACE_EVENT_NAME_MAX)
350# define _SC_TRACE_EVENT_NAME_MAX _SC_TRACE_EVENT_NAME_MAX
351# endif
352#endif
353#if !defined(_SC_TRACE_INHERIT)
354# if defined(HAVE_CONST__SC_TRACE_INHERIT)
355# define _SC_TRACE_INHERIT _SC_TRACE_INHERIT
356# endif
357#endif
358#if !defined(_SC_TRACE_LOG)
359# if defined(HAVE_CONST__SC_TRACE_LOG)
360# define _SC_TRACE_LOG _SC_TRACE_LOG
361# endif
362#endif
363#if !defined(_SC_TRACE_NAME_MAX)
364# if defined(HAVE_CONST__SC_TRACE_NAME_MAX)
365# define _SC_TRACE_NAME_MAX _SC_TRACE_NAME_MAX
366# endif
367#endif
368#if !defined(_SC_TRACE_SYS_MAX)
369# if defined(HAVE_CONST__SC_TRACE_SYS_MAX)
370# define _SC_TRACE_SYS_MAX _SC_TRACE_SYS_MAX
371# endif
372#endif
373#if !defined(_SC_TRACE_USER_EVENT_MAX)
374# if defined(HAVE_CONST__SC_TRACE_USER_EVENT_MAX)
375# define _SC_TRACE_USER_EVENT_MAX _SC_TRACE_USER_EVENT_MAX
376# endif
377#endif
378#if !defined(_SC_TYPED_MEMORY_OBJECTS)
379# if defined(HAVE_CONST__SC_TYPED_MEMORY_OBJECTS)
380# define _SC_TYPED_MEMORY_OBJECTS _SC_TYPED_MEMORY_OBJECTS
381# endif
382#endif
383#if !defined(_SC_VERSION)
384# if defined(HAVE_CONST__SC_VERSION)
385# define _SC_VERSION _SC_VERSION
386# endif
387#endif
388#if !defined(_SC_V7_ILP32_OFF32)
389# if defined(HAVE_CONST__SC_V7_ILP32_OFF32)
390# define _SC_V7_ILP32_OFF32 _SC_V7_ILP32_OFF32
391# endif
392#endif
393#if !defined(_SC_V7_ILP32_OFFBIG)
394# if defined(HAVE_CONST__SC_V7_ILP32_OFFBIG)
395# define _SC_V7_ILP32_OFFBIG _SC_V7_ILP32_OFFBIG
396# endif
397#endif
398#if !defined(_SC_V7_LP64_OFF64)
399# if defined(HAVE_CONST__SC_V7_LP64_OFF64)
400# define _SC_V7_LP64_OFF64 _SC_V7_LP64_OFF64
401# endif
402#endif
403#if !defined(_SC_V7_LPBIG_OFFBIG)
404# if defined(HAVE_CONST__SC_V7_LPBIG_OFFBIG)
405# define _SC_V7_LPBIG_OFFBIG _SC_V7_LPBIG_OFFBIG
406# endif
407#endif
408#if !defined(_SC_V6_ILP32_OFF32)
409# if defined(HAVE_CONST__SC_V6_ILP32_OFF32)
410# define _SC_V6_ILP32_OFF32 _SC_V6_ILP32_OFF32
411# endif
412#endif
413#if !defined(_SC_V6_ILP32_OFFBIG)
414# if defined(HAVE_CONST__SC_V6_ILP32_OFFBIG)
415# define _SC_V6_ILP32_OFFBIG _SC_V6_ILP32_OFFBIG
416# endif
417#endif
418#if !defined(_SC_V6_LP64_OFF64)
419# if defined(HAVE_CONST__SC_V6_LP64_OFF64)
420# define _SC_V6_LP64_OFF64 _SC_V6_LP64_OFF64
421# endif
422#endif
423#if !defined(_SC_V6_LPBIG_OFFBIG)
424# if defined(HAVE_CONST__SC_V6_LPBIG_OFFBIG)
425# define _SC_V6_LPBIG_OFFBIG _SC_V6_LPBIG_OFFBIG
426# endif
427#endif
428#if !defined(_SC_2_C_BIND)
429# if defined(HAVE_CONST__SC_2_C_BIND)
430# define _SC_2_C_BIND _SC_2_C_BIND
431# endif
432#endif
433#if !defined(_SC_2_C_DEV)
434# if defined(HAVE_CONST__SC_2_C_DEV)
435# define _SC_2_C_DEV _SC_2_C_DEV
436# endif
437#endif
438#if !defined(_SC_2_CHAR_TERM)
439# if defined(HAVE_CONST__SC_2_CHAR_TERM)
440# define _SC_2_CHAR_TERM _SC_2_CHAR_TERM
441# endif
442#endif
443#if !defined(_SC_2_FORT_DEV)
444# if defined(HAVE_CONST__SC_2_FORT_DEV)
445# define _SC_2_FORT_DEV _SC_2_FORT_DEV
446# endif
447#endif
448#if !defined(_SC_2_FORT_RUN)
449# if defined(HAVE_CONST__SC_2_FORT_RUN)
450# define _SC_2_FORT_RUN _SC_2_FORT_RUN
451# endif
452#endif
453#if !defined(_SC_2_LOCALEDEF)
454# if defined(HAVE_CONST__SC_2_LOCALEDEF)
455# define _SC_2_LOCALEDEF _SC_2_LOCALEDEF
456# endif
457#endif
458#if !defined(_SC_2_PBS)
459# if defined(HAVE_CONST__SC_2_PBS)
460# define _SC_2_PBS _SC_2_PBS
461# endif
462#endif
463#if !defined(_SC_2_PBS_ACCOUNTING)
464# if defined(HAVE_CONST__SC_2_PBS_ACCOUNTING)
465# define _SC_2_PBS_ACCOUNTING _SC_2_PBS_ACCOUNTING
466# endif
467#endif
468#if !defined(_SC_2_PBS_CHECKPOINT)
469# if defined(HAVE_CONST__SC_2_PBS_CHECKPOINT)
470# define _SC_2_PBS_CHECKPOINT _SC_2_PBS_CHECKPOINT
471# endif
472#endif
473#if !defined(_SC_2_PBS_LOCATE)
474# if defined(HAVE_CONST__SC_2_PBS_LOCATE)
475# define _SC_2_PBS_LOCATE _SC_2_PBS_LOCATE
476# endif
477#endif
478#if !defined(_SC_2_PBS_MESSAGE)
479# if defined(HAVE_CONST__SC_2_PBS_MESSAGE)
480# define _SC_2_PBS_MESSAGE _SC_2_PBS_MESSAGE
481# endif
482#endif
483#if !defined(_SC_2_PBS_TRACK)
484# if defined(HAVE_CONST__SC_2_PBS_TRACK)
485# define _SC_2_PBS_TRACK _SC_2_PBS_TRACK
486# endif
487#endif
488#if !defined(_SC_2_SW_DEV)
489# if defined(HAVE_CONST__SC_2_SW_DEV)
490# define _SC_2_SW_DEV _SC_2_SW_DEV
491# endif
492#endif
493#if !defined(_SC_2_UPE)
494# if defined(HAVE_CONST__SC_2_UPE)
495# define _SC_2_UPE _SC_2_UPE
496# endif
497#endif
498#if !defined(_SC_2_VERSION)
499# if defined(HAVE_CONST__SC_2_VERSION)
500# define _SC_2_VERSION _SC_2_VERSION
501# endif
502#endif
503#if !defined(_SC_PAGE_SIZE)
504# if defined(HAVE_CONST__SC_PAGE_SIZE)
505# define _SC_PAGE_SIZE _SC_PAGE_SIZE
506# endif
507#endif
508#if !defined(_SC_PAGESIZE)
509# if defined(HAVE_CONST__SC_PAGESIZE)
510# define _SC_PAGESIZE _SC_PAGESIZE
511# endif
512#endif
513#if !defined(_SC_THREAD_DESTRUCTOR_ITERATIONS)
514# if defined(HAVE_CONST__SC_THREAD_DESTRUCTOR_ITERATIONS)
515# define _SC_THREAD_DESTRUCTOR_ITERATIONS _SC_THREAD_DESTRUCTOR_ITERATIONS
516# endif
517#endif
518#if !defined(_SC_THREAD_KEYS_MAX)
519# if defined(HAVE_CONST__SC_THREAD_KEYS_MAX)
520# define _SC_THREAD_KEYS_MAX _SC_THREAD_KEYS_MAX
521# endif
522#endif
523#if !defined(_SC_THREAD_STACK_MIN)
524# if defined(HAVE_CONST__SC_THREAD_STACK_MIN)
525# define _SC_THREAD_STACK_MIN _SC_THREAD_STACK_MIN
526# endif
527#endif
528#if !defined(_SC_THREAD_THREADS_MAX)
529# if defined(HAVE_CONST__SC_THREAD_THREADS_MAX)
530# define _SC_THREAD_THREADS_MAX _SC_THREAD_THREADS_MAX
531# endif
532#endif
533#if !defined(_SC_RE_DUP_MAX)
534# if defined(HAVE_CONST__SC_RE_DUP_MAX)
535# define _SC_RE_DUP_MAX _SC_RE_DUP_MAX
536# endif
537#endif
538#if !defined(_SC_RTSIG_MAX)
539# if defined(HAVE_CONST__SC_RTSIG_MAX)
540# define _SC_RTSIG_MAX _SC_RTSIG_MAX
541# endif
542#endif
543#if !defined(_SC_SEM_NSEMS_MAX)
544# if defined(HAVE_CONST__SC_SEM_NSEMS_MAX)
545# define _SC_SEM_NSEMS_MAX _SC_SEM_NSEMS_MAX
546# endif
547#endif
548#if !defined(_SC_SEM_VALUE_MAX)
549# if defined(HAVE_CONST__SC_SEM_VALUE_MAX)
550# define _SC_SEM_VALUE_MAX _SC_SEM_VALUE_MAX
551# endif
552#endif
553#if !defined(_SC_SIGQUEUE_MAX)
554# if defined(HAVE_CONST__SC_SIGQUEUE_MAX)
555# define _SC_SIGQUEUE_MAX _SC_SIGQUEUE_MAX
556# endif
557#endif
558#if !defined(_SC_STREAM_MAX)
559# if defined(HAVE_CONST__SC_STREAM_MAX)
560# define _SC_STREAM_MAX _SC_STREAM_MAX
561# endif
562#endif
563#if !defined(_SC_SYMLOOP_MAX)
564# if defined(HAVE_CONST__SC_SYMLOOP_MAX)
565# define _SC_SYMLOOP_MAX _SC_SYMLOOP_MAX
566# endif
567#endif
568#if !defined(_SC_TIMER_MAX)
569# if defined(HAVE_CONST__SC_TIMER_MAX)
570# define _SC_TIMER_MAX _SC_TIMER_MAX
571# endif
572#endif
573#if !defined(_SC_TTY_NAME_MAX)
574# if defined(HAVE_CONST__SC_TTY_NAME_MAX)
575# define _SC_TTY_NAME_MAX _SC_TTY_NAME_MAX
576# endif
577#endif
578#if !defined(_SC_TZNAME_MAX)
579# if defined(HAVE_CONST__SC_TZNAME_MAX)
580# define _SC_TZNAME_MAX _SC_TZNAME_MAX
581# endif
582#endif
583#if !defined(_SC_XOPEN_CRYPT)
584# if defined(HAVE_CONST__SC_XOPEN_CRYPT)
585# define _SC_XOPEN_CRYPT _SC_XOPEN_CRYPT
586# endif
587#endif
588#if !defined(_SC_XOPEN_ENH_I18N)
589# if defined(HAVE_CONST__SC_XOPEN_ENH_I18N)
590# define _SC_XOPEN_ENH_I18N _SC_XOPEN_ENH_I18N
591# endif
592#endif
593#if !defined(_SC_XOPEN_REALTIME)
594# if defined(HAVE_CONST__SC_XOPEN_REALTIME)
595# define _SC_XOPEN_REALTIME _SC_XOPEN_REALTIME
596# endif
597#endif
598#if !defined(_SC_XOPEN_REALTIME_THREADS)
599# if defined(HAVE_CONST__SC_XOPEN_REALTIME_THREADS)
600# define _SC_XOPEN_REALTIME_THREADS _SC_XOPEN_REALTIME_THREADS
601# endif
602#endif
603#if !defined(_SC_XOPEN_SHM)
604# if defined(HAVE_CONST__SC_XOPEN_SHM)
605# define _SC_XOPEN_SHM _SC_XOPEN_SHM
606# endif
607#endif
608#if !defined(_SC_XOPEN_STREAMS)
609# if defined(HAVE_CONST__SC_XOPEN_STREAMS)
610# define _SC_XOPEN_STREAMS _SC_XOPEN_STREAMS
611# endif
612#endif
613#if !defined(_SC_XOPEN_UNIX)
614# if defined(HAVE_CONST__SC_XOPEN_UNIX)
615# define _SC_XOPEN_UNIX _SC_XOPEN_UNIX
616# endif
617#endif
618#if !defined(_SC_XOPEN_UUCP)
619# if defined(HAVE_CONST__SC_XOPEN_UUCP)
620# define _SC_XOPEN_UUCP _SC_XOPEN_UUCP
621# endif
622#endif
623#if !defined(_SC_XOPEN_VERSION)
624# if defined(HAVE_CONST__SC_XOPEN_VERSION)
625# define _SC_XOPEN_VERSION _SC_XOPEN_VERSION
626# endif
627#endif
628#if !defined(_SC_PHYS_PAGES)
629# if defined(HAVE_CONST__SC_PHYS_PAGES)
630# define _SC_PHYS_PAGES _SC_PHYS_PAGES
631# endif
632#endif
633#if !defined(_SC_AVPHYS_PAGES)
634# if defined(HAVE_CONST__SC_AVPHYS_PAGES)
635# define _SC_AVPHYS_PAGES _SC_AVPHYS_PAGES
636# endif
637#endif
638#if !defined(_SC_NPROCESSORS_CONF)
639# if defined(HAVE_CONST__SC_NPROCESSORS_CONF)
640# define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_CONF
641# endif
642#endif
643#if !defined(_SC_NPROCESSORS_ONLN)
644# if defined(HAVE_CONST__SC_NPROCESSORS_ONLN)
645# define _SC_NPROCESSORS_ONLN _SC_NPROCESSORS_ONLN
646# endif
647#endif
648#if !defined(_SC_CPUSET_SIZE)
649# if defined(HAVE_CONST__SC_CPUSET_SIZE)
650# define _SC_CPUSET_SIZE _SC_CPUSET_SIZE
651# endif
652#endif
653#if !defined(_CS_PATH)
654# if defined(HAVE_CONST__CS_PATH)
655# define _CS_PATH _CS_PATH
656# endif
657#endif
658#if !defined(_CS_POSIX_V7_ILP32_OFF32_CFLAGS)
659# if defined(HAVE_CONST__CS_POSIX_V7_ILP32_OFF32_CFLAGS)
660# define _CS_POSIX_V7_ILP32_OFF32_CFLAGS _CS_POSIX_V7_ILP32_OFF32_CFLAGS
661# endif
662#endif
663#if !defined(_CS_POSIX_V7_ILP32_OFF32_LDFLAGS)
664# if defined(HAVE_CONST__CS_POSIX_V7_ILP32_OFF32_LDFLAGS)
665# define _CS_POSIX_V7_ILP32_OFF32_LDFLAGS _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
666# endif
667#endif
668#if !defined(_CS_POSIX_V7_ILP32_OFF32_LIBS)
669# if defined(HAVE_CONST__CS_POSIX_V7_ILP32_OFF32_LIBS)
670# define _CS_POSIX_V7_ILP32_OFF32_LIBS _CS_POSIX_V7_ILP32_OFF32_LIBS
671# endif
672#endif
673#if !defined(_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS)
674# if defined(HAVE_CONST__CS_POSIX_V7_ILP32_OFFBIG_CFLAGS)
675# define _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
676# endif
677#endif
678#if !defined(_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS)
679# if defined(HAVE_CONST__CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS)
680# define _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
681# endif
682#endif
683#if !defined(_CS_POSIX_V7_ILP32_OFFBIG_LIBS)
684# if defined(HAVE_CONST__CS_POSIX_V7_ILP32_OFFBIG_LIBS)
685# define _CS_POSIX_V7_ILP32_OFFBIG_LIBS _CS_POSIX_V7_ILP32_OFFBIG_LIBS
686# endif
687#endif
688#if !defined(_CS_POSIX_V7_LP64_OFF64_CFLAGS)
689# if defined(HAVE_CONST__CS_POSIX_V7_LP64_OFF64_CFLAGS)
690# define _CS_POSIX_V7_LP64_OFF64_CFLAGS _CS_POSIX_V7_LP64_OFF64_CFLAGS
691# endif
692#endif
693#if !defined(_CS_POSIX_V7_LP64_OFF64_LDFLAGS)
694# if defined(HAVE_CONST__CS_POSIX_V7_LP64_OFF64_LDFLAGS)
695# define _CS_POSIX_V7_LP64_OFF64_LDFLAGS _CS_POSIX_V7_LP64_OFF64_LDFLAGS
696# endif
697#endif
698#if !defined(_CS_POSIX_V7_LP64_OFF64_LIBS)
699# if defined(HAVE_CONST__CS_POSIX_V7_LP64_OFF64_LIBS)
700# define _CS_POSIX_V7_LP64_OFF64_LIBS _CS_POSIX_V7_LP64_OFF64_LIBS
701# endif
702#endif
703#if !defined(_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS)
704# if defined(HAVE_CONST__CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS)
705# define _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
706# endif
707#endif
708#if !defined(_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS)
709# if defined(HAVE_CONST__CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS)
710# define _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
711# endif
712#endif
713#if !defined(_CS_POSIX_V7_LPBIG_OFFBIG_LIBS)
714# if defined(HAVE_CONST__CS_POSIX_V7_LPBIG_OFFBIG_LIBS)
715# define _CS_POSIX_V7_LPBIG_OFFBIG_LIBS _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
716# endif
717#endif
718#if !defined(_CS_POSIX_V7_THREADS_CFLAGS)
719# if defined(HAVE_CONST__CS_POSIX_V7_THREADS_CFLAGS)
720# define _CS_POSIX_V7_THREADS_CFLAGS _CS_POSIX_V7_THREADS_CFLAGS
721# endif
722#endif
723#if !defined(_CS_POSIX_V7_THREADS_LDFLAGS)
724# if defined(HAVE_CONST__CS_POSIX_V7_THREADS_LDFLAGS)
725# define _CS_POSIX_V7_THREADS_LDFLAGS _CS_POSIX_V7_THREADS_LDFLAGS
726# endif
727#endif
728#if !defined(_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS)
729# if defined(HAVE_CONST__CS_POSIX_V7_WIDTH_RESTRICTED_ENVS)
730# define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS
731# endif
732#endif
733#if !defined(_CS_V7_ENV)
734# if defined(HAVE_CONST__CS_V7_ENV)
735# define _CS_V7_ENV _CS_V7_ENV
736# endif
737#endif
738#if !defined(_CS_POSIX_V6_ILP32_OFF32_CFLAGS)
739# if defined(HAVE_CONST__CS_POSIX_V6_ILP32_OFF32_CFLAGS)
740# define _CS_POSIX_V6_ILP32_OFF32_CFLAGS _CS_POSIX_V6_ILP32_OFF32_CFLAGS
741# endif
742#endif
743#if !defined(_CS_POSIX_V6_ILP32_OFF32_LDFLAGS)
744# if defined(HAVE_CONST__CS_POSIX_V6_ILP32_OFF32_LDFLAGS)
745# define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS _CS_POSIX_V6_ILP32_OFF32_LDFLAGS
746# endif
747#endif
748#if !defined(_CS_POSIX_V6_ILP32_OFF32_LIBS)
749# if defined(HAVE_CONST__CS_POSIX_V6_ILP32_OFF32_LIBS)
750# define _CS_POSIX_V6_ILP32_OFF32_LIBS _CS_POSIX_V6_ILP32_OFF32_LIBS
751# endif
752#endif
753#if !defined(_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS)
754# if defined(HAVE_CONST__CS_POSIX_V6_ILP32_OFFBIG_CFLAGS)
755# define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
756# endif
757#endif
758#if !defined(_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS)
759# if defined(HAVE_CONST__CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS)
760# define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
761# endif
762#endif
763#if !defined(_CS_POSIX_V6_ILP32_OFFBIG_LIBS)
764# if defined(HAVE_CONST__CS_POSIX_V6_ILP32_OFFBIG_LIBS)
765# define _CS_POSIX_V6_ILP32_OFFBIG_LIBS _CS_POSIX_V6_ILP32_OFFBIG_LIBS
766# endif
767#endif
768#if !defined(_CS_POSIX_V6_LP64_OFF64_CFLAGS)
769# if defined(HAVE_CONST__CS_POSIX_V6_LP64_OFF64_CFLAGS)
770# define _CS_POSIX_V6_LP64_OFF64_CFLAGS _CS_POSIX_V6_LP64_OFF64_CFLAGS
771# endif
772#endif
773#if !defined(_CS_POSIX_V6_LP64_OFF64_LDFLAGS)
774# if defined(HAVE_CONST__CS_POSIX_V6_LP64_OFF64_LDFLAGS)
775# define _CS_POSIX_V6_LP64_OFF64_LDFLAGS _CS_POSIX_V6_LP64_OFF64_LDFLAGS
776# endif
777#endif
778#if !defined(_CS_POSIX_V6_LP64_OFF64_LIBS)
779# if defined(HAVE_CONST__CS_POSIX_V6_LP64_OFF64_LIBS)
780# define _CS_POSIX_V6_LP64_OFF64_LIBS _CS_POSIX_V6_LP64_OFF64_LIBS
781# endif
782#endif
783#if !defined(_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS)
784# if defined(HAVE_CONST__CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS)
785# define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
786# endif
787#endif
788#if !defined(_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS)
789# if defined(HAVE_CONST__CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS)
790# define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
791# endif
792#endif
793#if !defined(_CS_POSIX_V6_LPBIG_OFFBIG_LIBS)
794# if defined(HAVE_CONST__CS_POSIX_V6_LPBIG_OFFBIG_LIBS)
795# define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
796# endif
797#endif
798#if !defined(_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS)
799# if defined(HAVE_CONST__CS_POSIX_V6_WIDTH_RESTRICTED_ENVS)
800# define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
801# endif
802#endif
803#if !defined(_CS_V6_ENV)
804# if defined(HAVE_CONST__CS_V6_ENV)
805# define _CS_V6_ENV _CS_V6_ENV
806# endif
807#endif
808#if !defined(_CS_GNU_LIBC_VERSION)
809# if defined(HAVE_CONST__CS_GNU_LIBC_VERSION)
810# define _CS_GNU_LIBC_VERSION _CS_GNU_LIBC_VERSION
811# endif
812#endif
813#if !defined(_CS_GNU_LIBPTHREAD_VERSION)
814# if defined(HAVE_CONST__CS_GNU_LIBPTHREAD_VERSION)
815# define _CS_GNU_LIBPTHREAD_VERSION _CS_GNU_LIBPTHREAD_VERSION
816# endif
817#endif
818#if !defined(_PC_FILESIZEBITS)
819# if defined(HAVE_CONST__PC_FILESIZEBITS)
820# define _PC_FILESIZEBITS _PC_FILESIZEBITS
821# endif
822#endif
823#if !defined(_PC_LINK_MAX)
824# if defined(HAVE_CONST__PC_LINK_MAX)
825# define _PC_LINK_MAX _PC_LINK_MAX
826# endif
827#endif
828#if !defined(_PC_MAX_CANON)
829# if defined(HAVE_CONST__PC_MAX_CANON)
830# define _PC_MAX_CANON _PC_MAX_CANON
831# endif
832#endif
833#if !defined(_PC_MAX_INPUT)
834# if defined(HAVE_CONST__PC_MAX_INPUT)
835# define _PC_MAX_INPUT _PC_MAX_INPUT
836# endif
837#endif
838#if !defined(_PC_NAME_MAX)
839# if defined(HAVE_CONST__PC_NAME_MAX)
840# define _PC_NAME_MAX _PC_NAME_MAX
841# endif
842#endif
843#if !defined(_PC_PATH_MAX)
844# if defined(HAVE_CONST__PC_PATH_MAX)
845# define _PC_PATH_MAX _PC_PATH_MAX
846# endif
847#endif
848#if !defined(_PC_PIPE_BUF)
849# if defined(HAVE_CONST__PC_PIPE_BUF)
850# define _PC_PIPE_BUF _PC_PIPE_BUF
851# endif
852#endif
853#if !defined(_PC_2_SYMLINKS)
854# if defined(HAVE_CONST__PC_2_SYMLINKS)
855# define _PC_2_SYMLINKS _PC_2_SYMLINKS
856# endif
857#endif
858#if !defined(_PC_ALLOC_SIZE_MIN)
859# if defined(HAVE_CONST__PC_ALLOC_SIZE_MIN)
860# define _PC_ALLOC_SIZE_MIN _PC_ALLOC_SIZE_MIN
861# endif
862#endif
863#if !defined(_PC_REC_INCR_XFER_SIZE)
864# if defined(HAVE_CONST__PC_REC_INCR_XFER_SIZE)
865# define _PC_REC_INCR_XFER_SIZE _PC_REC_INCR_XFER_SIZE
866# endif
867#endif
868#if !defined(_PC_REC_MAX_XFER_SIZE)
869# if defined(HAVE_CONST__PC_REC_MAX_XFER_SIZE)
870# define _PC_REC_MAX_XFER_SIZE _PC_REC_MAX_XFER_SIZE
871# endif
872#endif
873#if !defined(_PC_REC_MIN_XFER_SIZE)
874# if defined(HAVE_CONST__PC_REC_MIN_XFER_SIZE)
875# define _PC_REC_MIN_XFER_SIZE _PC_REC_MIN_XFER_SIZE
876# endif
877#endif
878#if !defined(_PC_REC_XFER_ALIGN)
879# if defined(HAVE_CONST__PC_REC_XFER_ALIGN)
880# define _PC_REC_XFER_ALIGN _PC_REC_XFER_ALIGN
881# endif
882#endif
883#if !defined(_PC_SYMLINK_MAX)
884# if defined(HAVE_CONST__PC_SYMLINK_MAX)
885# define _PC_SYMLINK_MAX _PC_SYMLINK_MAX
886# endif
887#endif
888#if !defined(_PC_CHOWN_RESTRICTED)
889# if defined(HAVE_CONST__PC_CHOWN_RESTRICTED)
890# define _PC_CHOWN_RESTRICTED _PC_CHOWN_RESTRICTED
891# endif
892#endif
893#if !defined(_PC_NO_TRUNC)
894# if defined(HAVE_CONST__PC_NO_TRUNC)
895# define _PC_NO_TRUNC _PC_NO_TRUNC
896# endif
897#endif
898#if !defined(_PC_VDISABLE)
899# if defined(HAVE_CONST__PC_VDISABLE)
900# define _PC_VDISABLE _PC_VDISABLE
901# endif
902#endif
903#if !defined(_PC_ASYNC_IO)
904# if defined(HAVE_CONST__PC_ASYNC_IO)
905# define _PC_ASYNC_IO _PC_ASYNC_IO
906# endif
907#endif
908#if !defined(_PC_PRIO_IO)
909# if defined(HAVE_CONST__PC_PRIO_IO)
910# define _PC_PRIO_IO _PC_PRIO_IO
911# endif
912#endif
913#if !defined(_PC_SYNC_IO)
914# if defined(HAVE_CONST__PC_SYNC_IO)
915# define _PC_SYNC_IO _PC_SYNC_IO
916# endif
917#endif
918#if !defined(_PC_TIMESTAMP_RESOLUTION)
919# if defined(HAVE_CONST__PC_TIMESTAMP_RESOLUTION)
920# define _PC_TIMESTAMP_RESOLUTION _PC_TIMESTAMP_RESOLUTION
921# endif
922#endif
923
924/* autogenerated file */
925
926#ifdef HAVE_LONG_LONG
927#define INTEGER2NUM(n) \
928 (FIXNUM_MAX < (n) ? ULL2NUM(n) : \
929 FIXNUM_MIN > (LONG_LONG)(n) ? LL2NUM(n) : \
930 LONG2FIX(n))
931#else
932#define INTEGER2NUM(n) \
933 (FIXNUM_MAX < (n) ? ULONG2NUM(n) : \
934 FIXNUM_MIN > (long)(n) ? LONG2NUM(n) : \
935 LONG2FIX(n))
936#endif
937
938static void
939init_constants(VALUE mod)
940{
941#if defined(_SC_AIO_LISTIO_MAX)
942 rb_define_const(mod, "SC_AIO_LISTIO_MAX", INTEGER2NUM(_SC_AIO_LISTIO_MAX));
943#endif
944#if defined(_SC_AIO_MAX)
945 rb_define_const(mod, "SC_AIO_MAX", INTEGER2NUM(_SC_AIO_MAX));
946#endif
947#if defined(_SC_AIO_PRIO_DELTA_MAX)
948 rb_define_const(mod, "SC_AIO_PRIO_DELTA_MAX", INTEGER2NUM(_SC_AIO_PRIO_DELTA_MAX));
949#endif
950#if defined(_SC_ARG_MAX)
951 rb_define_const(mod, "SC_ARG_MAX", INTEGER2NUM(_SC_ARG_MAX));
952#endif
953#if defined(_SC_ATEXIT_MAX)
954 rb_define_const(mod, "SC_ATEXIT_MAX", INTEGER2NUM(_SC_ATEXIT_MAX));
955#endif
956#if defined(_SC_BC_BASE_MAX)
957 rb_define_const(mod, "SC_BC_BASE_MAX", INTEGER2NUM(_SC_BC_BASE_MAX));
958#endif
959#if defined(_SC_BC_DIM_MAX)
960 rb_define_const(mod, "SC_BC_DIM_MAX", INTEGER2NUM(_SC_BC_DIM_MAX));
961#endif
962#if defined(_SC_BC_SCALE_MAX)
963 rb_define_const(mod, "SC_BC_SCALE_MAX", INTEGER2NUM(_SC_BC_SCALE_MAX));
964#endif
965#if defined(_SC_BC_STRING_MAX)
966 rb_define_const(mod, "SC_BC_STRING_MAX", INTEGER2NUM(_SC_BC_STRING_MAX));
967#endif
968#if defined(_SC_CHILD_MAX)
969 rb_define_const(mod, "SC_CHILD_MAX", INTEGER2NUM(_SC_CHILD_MAX));
970#endif
971#if defined(_SC_CLK_TCK)
972 rb_define_const(mod, "SC_CLK_TCK", INTEGER2NUM(_SC_CLK_TCK));
973#endif
974#if defined(_SC_COLL_WEIGHTS_MAX)
975 rb_define_const(mod, "SC_COLL_WEIGHTS_MAX", INTEGER2NUM(_SC_COLL_WEIGHTS_MAX));
976#endif
977#if defined(_SC_DELAYTIMER_MAX)
978 rb_define_const(mod, "SC_DELAYTIMER_MAX", INTEGER2NUM(_SC_DELAYTIMER_MAX));
979#endif
980#if defined(_SC_EXPR_NEST_MAX)
981 rb_define_const(mod, "SC_EXPR_NEST_MAX", INTEGER2NUM(_SC_EXPR_NEST_MAX));
982#endif
983#if defined(_SC_HOST_NAME_MAX)
984 rb_define_const(mod, "SC_HOST_NAME_MAX", INTEGER2NUM(_SC_HOST_NAME_MAX));
985#endif
986#if defined(_SC_IOV_MAX)
987 rb_define_const(mod, "SC_IOV_MAX", INTEGER2NUM(_SC_IOV_MAX));
988#endif
989#if defined(_SC_LINE_MAX)
990 rb_define_const(mod, "SC_LINE_MAX", INTEGER2NUM(_SC_LINE_MAX));
991#endif
992#if defined(_SC_LOGIN_NAME_MAX)
993 rb_define_const(mod, "SC_LOGIN_NAME_MAX", INTEGER2NUM(_SC_LOGIN_NAME_MAX));
994#endif
995#if defined(_SC_NGROUPS_MAX)
996 rb_define_const(mod, "SC_NGROUPS_MAX", INTEGER2NUM(_SC_NGROUPS_MAX));
997#endif
998#if defined(_SC_GETGR_R_SIZE_MAX)
999 rb_define_const(mod, "SC_GETGR_R_SIZE_MAX", INTEGER2NUM(_SC_GETGR_R_SIZE_MAX));
1000#endif
1001#if defined(_SC_GETPW_R_SIZE_MAX)
1002 rb_define_const(mod, "SC_GETPW_R_SIZE_MAX", INTEGER2NUM(_SC_GETPW_R_SIZE_MAX));
1003#endif
1004#if defined(_SC_MQ_OPEN_MAX)
1005 rb_define_const(mod, "SC_MQ_OPEN_MAX", INTEGER2NUM(_SC_MQ_OPEN_MAX));
1006#endif
1007#if defined(_SC_MQ_PRIO_MAX)
1008 rb_define_const(mod, "SC_MQ_PRIO_MAX", INTEGER2NUM(_SC_MQ_PRIO_MAX));
1009#endif
1010#if defined(_SC_OPEN_MAX)
1011 rb_define_const(mod, "SC_OPEN_MAX", INTEGER2NUM(_SC_OPEN_MAX));
1012#endif
1013#if defined(_SC_ADVISORY_INFO)
1014 rb_define_const(mod, "SC_ADVISORY_INFO", INTEGER2NUM(_SC_ADVISORY_INFO));
1015#endif
1016#if defined(_SC_BARRIERS)
1017 rb_define_const(mod, "SC_BARRIERS", INTEGER2NUM(_SC_BARRIERS));
1018#endif
1019#if defined(_SC_ASYNCHRONOUS_IO)
1020 rb_define_const(mod, "SC_ASYNCHRONOUS_IO", INTEGER2NUM(_SC_ASYNCHRONOUS_IO));
1021#endif
1022#if defined(_SC_CLOCK_SELECTION)
1023 rb_define_const(mod, "SC_CLOCK_SELECTION", INTEGER2NUM(_SC_CLOCK_SELECTION));
1024#endif
1025#if defined(_SC_CPUTIME)
1026 rb_define_const(mod, "SC_CPUTIME", INTEGER2NUM(_SC_CPUTIME));
1027#endif
1028#if defined(_SC_FSYNC)
1029 rb_define_const(mod, "SC_FSYNC", INTEGER2NUM(_SC_FSYNC));
1030#endif
1031#if defined(_SC_IPV6)
1032 rb_define_const(mod, "SC_IPV6", INTEGER2NUM(_SC_IPV6));
1033#endif
1034#if defined(_SC_JOB_CONTROL)
1035 rb_define_const(mod, "SC_JOB_CONTROL", INTEGER2NUM(_SC_JOB_CONTROL));
1036#endif
1037#if defined(_SC_MAPPED_FILES)
1038 rb_define_const(mod, "SC_MAPPED_FILES", INTEGER2NUM(_SC_MAPPED_FILES));
1039#endif
1040#if defined(_SC_MEMLOCK)
1041 rb_define_const(mod, "SC_MEMLOCK", INTEGER2NUM(_SC_MEMLOCK));
1042#endif
1043#if defined(_SC_MEMLOCK_RANGE)
1044 rb_define_const(mod, "SC_MEMLOCK_RANGE", INTEGER2NUM(_SC_MEMLOCK_RANGE));
1045#endif
1046#if defined(_SC_MEMORY_PROTECTION)
1047 rb_define_const(mod, "SC_MEMORY_PROTECTION", INTEGER2NUM(_SC_MEMORY_PROTECTION));
1048#endif
1049#if defined(_SC_MESSAGE_PASSING)
1050 rb_define_const(mod, "SC_MESSAGE_PASSING", INTEGER2NUM(_SC_MESSAGE_PASSING));
1051#endif
1052#if defined(_SC_MONOTONIC_CLOCK)
1053 rb_define_const(mod, "SC_MONOTONIC_CLOCK", INTEGER2NUM(_SC_MONOTONIC_CLOCK));
1054#endif
1055#if defined(_SC_PRIORITIZED_IO)
1056 rb_define_const(mod, "SC_PRIORITIZED_IO", INTEGER2NUM(_SC_PRIORITIZED_IO));
1057#endif
1058#if defined(_SC_PRIORITY_SCHEDULING)
1059 rb_define_const(mod, "SC_PRIORITY_SCHEDULING", INTEGER2NUM(_SC_PRIORITY_SCHEDULING));
1060#endif
1061#if defined(_SC_RAW_SOCKETS)
1062 rb_define_const(mod, "SC_RAW_SOCKETS", INTEGER2NUM(_SC_RAW_SOCKETS));
1063#endif
1064#if defined(_SC_READER_WRITER_LOCKS)
1065 rb_define_const(mod, "SC_READER_WRITER_LOCKS", INTEGER2NUM(_SC_READER_WRITER_LOCKS));
1066#endif
1067#if defined(_SC_REALTIME_SIGNALS)
1068 rb_define_const(mod, "SC_REALTIME_SIGNALS", INTEGER2NUM(_SC_REALTIME_SIGNALS));
1069#endif
1070#if defined(_SC_REGEXP)
1071 rb_define_const(mod, "SC_REGEXP", INTEGER2NUM(_SC_REGEXP));
1072#endif
1073#if defined(_SC_SAVED_IDS)
1074 rb_define_const(mod, "SC_SAVED_IDS", INTEGER2NUM(_SC_SAVED_IDS));
1075#endif
1076#if defined(_SC_SEMAPHORES)
1077 rb_define_const(mod, "SC_SEMAPHORES", INTEGER2NUM(_SC_SEMAPHORES));
1078#endif
1079#if defined(_SC_SHARED_MEMORY_OBJECTS)
1080 rb_define_const(mod, "SC_SHARED_MEMORY_OBJECTS", INTEGER2NUM(_SC_SHARED_MEMORY_OBJECTS));
1081#endif
1082#if defined(_SC_SHELL)
1083 rb_define_const(mod, "SC_SHELL", INTEGER2NUM(_SC_SHELL));
1084#endif
1085#if defined(_SC_SPAWN)
1086 rb_define_const(mod, "SC_SPAWN", INTEGER2NUM(_SC_SPAWN));
1087#endif
1088#if defined(_SC_SPIN_LOCKS)
1089 rb_define_const(mod, "SC_SPIN_LOCKS", INTEGER2NUM(_SC_SPIN_LOCKS));
1090#endif
1091#if defined(_SC_SPORADIC_SERVER)
1092 rb_define_const(mod, "SC_SPORADIC_SERVER", INTEGER2NUM(_SC_SPORADIC_SERVER));
1093#endif
1094#if defined(_SC_SS_REPL_MAX)
1095 rb_define_const(mod, "SC_SS_REPL_MAX", INTEGER2NUM(_SC_SS_REPL_MAX));
1096#endif
1097#if defined(_SC_SYNCHRONIZED_IO)
1098 rb_define_const(mod, "SC_SYNCHRONIZED_IO", INTEGER2NUM(_SC_SYNCHRONIZED_IO));
1099#endif
1100#if defined(_SC_THREAD_ATTR_STACKADDR)
1101 rb_define_const(mod, "SC_THREAD_ATTR_STACKADDR", INTEGER2NUM(_SC_THREAD_ATTR_STACKADDR));
1102#endif
1103#if defined(_SC_THREAD_ATTR_STACKSIZE)
1104 rb_define_const(mod, "SC_THREAD_ATTR_STACKSIZE", INTEGER2NUM(_SC_THREAD_ATTR_STACKSIZE));
1105#endif
1106#if defined(_SC_THREAD_CPUTIME)
1107 rb_define_const(mod, "SC_THREAD_CPUTIME", INTEGER2NUM(_SC_THREAD_CPUTIME));
1108#endif
1109#if defined(_SC_THREAD_PRIO_INHERIT)
1110 rb_define_const(mod, "SC_THREAD_PRIO_INHERIT", INTEGER2NUM(_SC_THREAD_PRIO_INHERIT));
1111#endif
1112#if defined(_SC_THREAD_PRIO_PROTECT)
1113 rb_define_const(mod, "SC_THREAD_PRIO_PROTECT", INTEGER2NUM(_SC_THREAD_PRIO_PROTECT));
1114#endif
1115#if defined(_SC_THREAD_PRIORITY_SCHEDULING)
1116 rb_define_const(mod, "SC_THREAD_PRIORITY_SCHEDULING", INTEGER2NUM(_SC_THREAD_PRIORITY_SCHEDULING));
1117#endif
1118#if defined(_SC_THREAD_PROCESS_SHARED)
1119 rb_define_const(mod, "SC_THREAD_PROCESS_SHARED", INTEGER2NUM(_SC_THREAD_PROCESS_SHARED));
1120#endif
1121#if defined(_SC_THREAD_ROBUST_PRIO_INHERIT)
1122 rb_define_const(mod, "SC_THREAD_ROBUST_PRIO_INHERIT", INTEGER2NUM(_SC_THREAD_ROBUST_PRIO_INHERIT));
1123#endif
1124#if defined(_SC_THREAD_ROBUST_PRIO_PROTECT)
1125 rb_define_const(mod, "SC_THREAD_ROBUST_PRIO_PROTECT", INTEGER2NUM(_SC_THREAD_ROBUST_PRIO_PROTECT));
1126#endif
1127#if defined(_SC_THREAD_SAFE_FUNCTIONS)
1128 rb_define_const(mod, "SC_THREAD_SAFE_FUNCTIONS", INTEGER2NUM(_SC_THREAD_SAFE_FUNCTIONS));
1129#endif
1130#if defined(_SC_THREAD_SPORADIC_SERVER)
1131 rb_define_const(mod, "SC_THREAD_SPORADIC_SERVER", INTEGER2NUM(_SC_THREAD_SPORADIC_SERVER));
1132#endif
1133#if defined(_SC_THREADS)
1134 rb_define_const(mod, "SC_THREADS", INTEGER2NUM(_SC_THREADS));
1135#endif
1136#if defined(_SC_TIMEOUTS)
1137 rb_define_const(mod, "SC_TIMEOUTS", INTEGER2NUM(_SC_TIMEOUTS));
1138#endif
1139#if defined(_SC_TIMERS)
1140 rb_define_const(mod, "SC_TIMERS", INTEGER2NUM(_SC_TIMERS));
1141#endif
1142#if defined(_SC_TRACE)
1143 rb_define_const(mod, "SC_TRACE", INTEGER2NUM(_SC_TRACE));
1144#endif
1145#if defined(_SC_TRACE_EVENT_FILTER)
1146 rb_define_const(mod, "SC_TRACE_EVENT_FILTER", INTEGER2NUM(_SC_TRACE_EVENT_FILTER));
1147#endif
1148#if defined(_SC_TRACE_EVENT_NAME_MAX)
1149 rb_define_const(mod, "SC_TRACE_EVENT_NAME_MAX", INTEGER2NUM(_SC_TRACE_EVENT_NAME_MAX));
1150#endif
1151#if defined(_SC_TRACE_INHERIT)
1152 rb_define_const(mod, "SC_TRACE_INHERIT", INTEGER2NUM(_SC_TRACE_INHERIT));
1153#endif
1154#if defined(_SC_TRACE_LOG)
1155 rb_define_const(mod, "SC_TRACE_LOG", INTEGER2NUM(_SC_TRACE_LOG));
1156#endif
1157#if defined(_SC_TRACE_NAME_MAX)
1158 rb_define_const(mod, "SC_TRACE_NAME_MAX", INTEGER2NUM(_SC_TRACE_NAME_MAX));
1159#endif
1160#if defined(_SC_TRACE_SYS_MAX)
1161 rb_define_const(mod, "SC_TRACE_SYS_MAX", INTEGER2NUM(_SC_TRACE_SYS_MAX));
1162#endif
1163#if defined(_SC_TRACE_USER_EVENT_MAX)
1164 rb_define_const(mod, "SC_TRACE_USER_EVENT_MAX", INTEGER2NUM(_SC_TRACE_USER_EVENT_MAX));
1165#endif
1166#if defined(_SC_TYPED_MEMORY_OBJECTS)
1167 rb_define_const(mod, "SC_TYPED_MEMORY_OBJECTS", INTEGER2NUM(_SC_TYPED_MEMORY_OBJECTS));
1168#endif
1169#if defined(_SC_VERSION)
1170 rb_define_const(mod, "SC_VERSION", INTEGER2NUM(_SC_VERSION));
1171#endif
1172#if defined(_SC_V7_ILP32_OFF32)
1173 rb_define_const(mod, "SC_V7_ILP32_OFF32", INTEGER2NUM(_SC_V7_ILP32_OFF32));
1174#endif
1175#if defined(_SC_V7_ILP32_OFFBIG)
1176 rb_define_const(mod, "SC_V7_ILP32_OFFBIG", INTEGER2NUM(_SC_V7_ILP32_OFFBIG));
1177#endif
1178#if defined(_SC_V7_LP64_OFF64)
1179 rb_define_const(mod, "SC_V7_LP64_OFF64", INTEGER2NUM(_SC_V7_LP64_OFF64));
1180#endif
1181#if defined(_SC_V7_LPBIG_OFFBIG)
1182 rb_define_const(mod, "SC_V7_LPBIG_OFFBIG", INTEGER2NUM(_SC_V7_LPBIG_OFFBIG));
1183#endif
1184#if defined(_SC_V6_ILP32_OFF32)
1185 rb_define_const(mod, "SC_V6_ILP32_OFF32", INTEGER2NUM(_SC_V6_ILP32_OFF32));
1186#endif
1187#if defined(_SC_V6_ILP32_OFFBIG)
1188 rb_define_const(mod, "SC_V6_ILP32_OFFBIG", INTEGER2NUM(_SC_V6_ILP32_OFFBIG));
1189#endif
1190#if defined(_SC_V6_LP64_OFF64)
1191 rb_define_const(mod, "SC_V6_LP64_OFF64", INTEGER2NUM(_SC_V6_LP64_OFF64));
1192#endif
1193#if defined(_SC_V6_LPBIG_OFFBIG)
1194 rb_define_const(mod, "SC_V6_LPBIG_OFFBIG", INTEGER2NUM(_SC_V6_LPBIG_OFFBIG));
1195#endif
1196#if defined(_SC_2_C_BIND)
1197 rb_define_const(mod, "SC_2_C_BIND", INTEGER2NUM(_SC_2_C_BIND));
1198#endif
1199#if defined(_SC_2_C_DEV)
1200 rb_define_const(mod, "SC_2_C_DEV", INTEGER2NUM(_SC_2_C_DEV));
1201#endif
1202#if defined(_SC_2_CHAR_TERM)
1203 rb_define_const(mod, "SC_2_CHAR_TERM", INTEGER2NUM(_SC_2_CHAR_TERM));
1204#endif
1205#if defined(_SC_2_FORT_DEV)
1206 rb_define_const(mod, "SC_2_FORT_DEV", INTEGER2NUM(_SC_2_FORT_DEV));
1207#endif
1208#if defined(_SC_2_FORT_RUN)
1209 rb_define_const(mod, "SC_2_FORT_RUN", INTEGER2NUM(_SC_2_FORT_RUN));
1210#endif
1211#if defined(_SC_2_LOCALEDEF)
1212 rb_define_const(mod, "SC_2_LOCALEDEF", INTEGER2NUM(_SC_2_LOCALEDEF));
1213#endif
1214#if defined(_SC_2_PBS)
1215 rb_define_const(mod, "SC_2_PBS", INTEGER2NUM(_SC_2_PBS));
1216#endif
1217#if defined(_SC_2_PBS_ACCOUNTING)
1218 rb_define_const(mod, "SC_2_PBS_ACCOUNTING", INTEGER2NUM(_SC_2_PBS_ACCOUNTING));
1219#endif
1220#if defined(_SC_2_PBS_CHECKPOINT)
1221 rb_define_const(mod, "SC_2_PBS_CHECKPOINT", INTEGER2NUM(_SC_2_PBS_CHECKPOINT));
1222#endif
1223#if defined(_SC_2_PBS_LOCATE)
1224 rb_define_const(mod, "SC_2_PBS_LOCATE", INTEGER2NUM(_SC_2_PBS_LOCATE));
1225#endif
1226#if defined(_SC_2_PBS_MESSAGE)
1227 rb_define_const(mod, "SC_2_PBS_MESSAGE", INTEGER2NUM(_SC_2_PBS_MESSAGE));
1228#endif
1229#if defined(_SC_2_PBS_TRACK)
1230 rb_define_const(mod, "SC_2_PBS_TRACK", INTEGER2NUM(_SC_2_PBS_TRACK));
1231#endif
1232#if defined(_SC_2_SW_DEV)
1233 rb_define_const(mod, "SC_2_SW_DEV", INTEGER2NUM(_SC_2_SW_DEV));
1234#endif
1235#if defined(_SC_2_UPE)
1236 rb_define_const(mod, "SC_2_UPE", INTEGER2NUM(_SC_2_UPE));
1237#endif
1238#if defined(_SC_2_VERSION)
1239 rb_define_const(mod, "SC_2_VERSION", INTEGER2NUM(_SC_2_VERSION));
1240#endif
1241#if defined(_SC_PAGE_SIZE)
1242 rb_define_const(mod, "SC_PAGE_SIZE", INTEGER2NUM(_SC_PAGE_SIZE));
1243#endif
1244#if defined(_SC_PAGESIZE)
1245 rb_define_const(mod, "SC_PAGESIZE", INTEGER2NUM(_SC_PAGESIZE));
1246#endif
1247#if defined(_SC_THREAD_DESTRUCTOR_ITERATIONS)
1248 rb_define_const(mod, "SC_THREAD_DESTRUCTOR_ITERATIONS", INTEGER2NUM(_SC_THREAD_DESTRUCTOR_ITERATIONS));
1249#endif
1250#if defined(_SC_THREAD_KEYS_MAX)
1251 rb_define_const(mod, "SC_THREAD_KEYS_MAX", INTEGER2NUM(_SC_THREAD_KEYS_MAX));
1252#endif
1253#if defined(_SC_THREAD_STACK_MIN)
1254 rb_define_const(mod, "SC_THREAD_STACK_MIN", INTEGER2NUM(_SC_THREAD_STACK_MIN));
1255#endif
1256#if defined(_SC_THREAD_THREADS_MAX)
1257 rb_define_const(mod, "SC_THREAD_THREADS_MAX", INTEGER2NUM(_SC_THREAD_THREADS_MAX));
1258#endif
1259#if defined(_SC_RE_DUP_MAX)
1260 rb_define_const(mod, "SC_RE_DUP_MAX", INTEGER2NUM(_SC_RE_DUP_MAX));
1261#endif
1262#if defined(_SC_RTSIG_MAX)
1263 rb_define_const(mod, "SC_RTSIG_MAX", INTEGER2NUM(_SC_RTSIG_MAX));
1264#endif
1265#if defined(_SC_SEM_NSEMS_MAX)
1266 rb_define_const(mod, "SC_SEM_NSEMS_MAX", INTEGER2NUM(_SC_SEM_NSEMS_MAX));
1267#endif
1268#if defined(_SC_SEM_VALUE_MAX)
1269 rb_define_const(mod, "SC_SEM_VALUE_MAX", INTEGER2NUM(_SC_SEM_VALUE_MAX));
1270#endif
1271#if defined(_SC_SIGQUEUE_MAX)
1272 rb_define_const(mod, "SC_SIGQUEUE_MAX", INTEGER2NUM(_SC_SIGQUEUE_MAX));
1273#endif
1274#if defined(_SC_STREAM_MAX)
1275 rb_define_const(mod, "SC_STREAM_MAX", INTEGER2NUM(_SC_STREAM_MAX));
1276#endif
1277#if defined(_SC_SYMLOOP_MAX)
1278 rb_define_const(mod, "SC_SYMLOOP_MAX", INTEGER2NUM(_SC_SYMLOOP_MAX));
1279#endif
1280#if defined(_SC_TIMER_MAX)
1281 rb_define_const(mod, "SC_TIMER_MAX", INTEGER2NUM(_SC_TIMER_MAX));
1282#endif
1283#if defined(_SC_TTY_NAME_MAX)
1284 rb_define_const(mod, "SC_TTY_NAME_MAX", INTEGER2NUM(_SC_TTY_NAME_MAX));
1285#endif
1286#if defined(_SC_TZNAME_MAX)
1287 rb_define_const(mod, "SC_TZNAME_MAX", INTEGER2NUM(_SC_TZNAME_MAX));
1288#endif
1289#if defined(_SC_XOPEN_CRYPT)
1290 rb_define_const(mod, "SC_XOPEN_CRYPT", INTEGER2NUM(_SC_XOPEN_CRYPT));
1291#endif
1292#if defined(_SC_XOPEN_ENH_I18N)
1293 rb_define_const(mod, "SC_XOPEN_ENH_I18N", INTEGER2NUM(_SC_XOPEN_ENH_I18N));
1294#endif
1295#if defined(_SC_XOPEN_REALTIME)
1296 rb_define_const(mod, "SC_XOPEN_REALTIME", INTEGER2NUM(_SC_XOPEN_REALTIME));
1297#endif
1298#if defined(_SC_XOPEN_REALTIME_THREADS)
1299 rb_define_const(mod, "SC_XOPEN_REALTIME_THREADS", INTEGER2NUM(_SC_XOPEN_REALTIME_THREADS));
1300#endif
1301#if defined(_SC_XOPEN_SHM)
1302 rb_define_const(mod, "SC_XOPEN_SHM", INTEGER2NUM(_SC_XOPEN_SHM));
1303#endif
1304#if defined(_SC_XOPEN_STREAMS)
1305 rb_define_const(mod, "SC_XOPEN_STREAMS", INTEGER2NUM(_SC_XOPEN_STREAMS));
1306#endif
1307#if defined(_SC_XOPEN_UNIX)
1308 rb_define_const(mod, "SC_XOPEN_UNIX", INTEGER2NUM(_SC_XOPEN_UNIX));
1309#endif
1310#if defined(_SC_XOPEN_UUCP)
1311 rb_define_const(mod, "SC_XOPEN_UUCP", INTEGER2NUM(_SC_XOPEN_UUCP));
1312#endif
1313#if defined(_SC_XOPEN_VERSION)
1314 rb_define_const(mod, "SC_XOPEN_VERSION", INTEGER2NUM(_SC_XOPEN_VERSION));
1315#endif
1316#if defined(_SC_PHYS_PAGES)
1317 rb_define_const(mod, "SC_PHYS_PAGES", INTEGER2NUM(_SC_PHYS_PAGES));
1318#endif
1319#if defined(_SC_AVPHYS_PAGES)
1320 rb_define_const(mod, "SC_AVPHYS_PAGES", INTEGER2NUM(_SC_AVPHYS_PAGES));
1321#endif
1322#if defined(_SC_NPROCESSORS_CONF)
1323 rb_define_const(mod, "SC_NPROCESSORS_CONF", INTEGER2NUM(_SC_NPROCESSORS_CONF));
1324#endif
1325#if defined(_SC_NPROCESSORS_ONLN)
1326 rb_define_const(mod, "SC_NPROCESSORS_ONLN", INTEGER2NUM(_SC_NPROCESSORS_ONLN));
1327#endif
1328#if defined(_SC_CPUSET_SIZE)
1329 rb_define_const(mod, "SC_CPUSET_SIZE", INTEGER2NUM(_SC_CPUSET_SIZE));
1330#endif
1331#if defined(_CS_PATH)
1332 rb_define_const(mod, "CS_PATH", INTEGER2NUM(_CS_PATH));
1333#endif
1334#if defined(_CS_POSIX_V7_ILP32_OFF32_CFLAGS)
1335 rb_define_const(mod, "CS_POSIX_V7_ILP32_OFF32_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFF32_CFLAGS));
1336#endif
1337#if defined(_CS_POSIX_V7_ILP32_OFF32_LDFLAGS)
1338 rb_define_const(mod, "CS_POSIX_V7_ILP32_OFF32_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFF32_LDFLAGS));
1339#endif
1340#if defined(_CS_POSIX_V7_ILP32_OFF32_LIBS)
1341 rb_define_const(mod, "CS_POSIX_V7_ILP32_OFF32_LIBS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFF32_LIBS));
1342#endif
1343#if defined(_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS)
1344 rb_define_const(mod, "CS_POSIX_V7_ILP32_OFFBIG_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS));
1345#endif
1346#if defined(_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS)
1347 rb_define_const(mod, "CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS));
1348#endif
1349#if defined(_CS_POSIX_V7_ILP32_OFFBIG_LIBS)
1350 rb_define_const(mod, "CS_POSIX_V7_ILP32_OFFBIG_LIBS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFFBIG_LIBS));
1351#endif
1352#if defined(_CS_POSIX_V7_LP64_OFF64_CFLAGS)
1353 rb_define_const(mod, "CS_POSIX_V7_LP64_OFF64_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_LP64_OFF64_CFLAGS));
1354#endif
1355#if defined(_CS_POSIX_V7_LP64_OFF64_LDFLAGS)
1356 rb_define_const(mod, "CS_POSIX_V7_LP64_OFF64_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_LP64_OFF64_LDFLAGS));
1357#endif
1358#if defined(_CS_POSIX_V7_LP64_OFF64_LIBS)
1359 rb_define_const(mod, "CS_POSIX_V7_LP64_OFF64_LIBS", INTEGER2NUM(_CS_POSIX_V7_LP64_OFF64_LIBS));
1360#endif
1361#if defined(_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS)
1362 rb_define_const(mod, "CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS));
1363#endif
1364#if defined(_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS)
1365 rb_define_const(mod, "CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS));
1366#endif
1367#if defined(_CS_POSIX_V7_LPBIG_OFFBIG_LIBS)
1368 rb_define_const(mod, "CS_POSIX_V7_LPBIG_OFFBIG_LIBS", INTEGER2NUM(_CS_POSIX_V7_LPBIG_OFFBIG_LIBS));
1369#endif
1370#if defined(_CS_POSIX_V7_THREADS_CFLAGS)
1371 rb_define_const(mod, "CS_POSIX_V7_THREADS_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_THREADS_CFLAGS));
1372#endif
1373#if defined(_CS_POSIX_V7_THREADS_LDFLAGS)
1374 rb_define_const(mod, "CS_POSIX_V7_THREADS_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_THREADS_LDFLAGS));
1375#endif
1376#if defined(_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS)
1377 rb_define_const(mod, "CS_POSIX_V7_WIDTH_RESTRICTED_ENVS", INTEGER2NUM(_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS));
1378#endif
1379#if defined(_CS_V7_ENV)
1380 rb_define_const(mod, "CS_V7_ENV", INTEGER2NUM(_CS_V7_ENV));
1381#endif
1382#if defined(_CS_POSIX_V6_ILP32_OFF32_CFLAGS)
1383 rb_define_const(mod, "CS_POSIX_V6_ILP32_OFF32_CFLAGS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFF32_CFLAGS));
1384#endif
1385#if defined(_CS_POSIX_V6_ILP32_OFF32_LDFLAGS)
1386 rb_define_const(mod, "CS_POSIX_V6_ILP32_OFF32_LDFLAGS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFF32_LDFLAGS));
1387#endif
1388#if defined(_CS_POSIX_V6_ILP32_OFF32_LIBS)
1389 rb_define_const(mod, "CS_POSIX_V6_ILP32_OFF32_LIBS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFF32_LIBS));
1390#endif
1391#if defined(_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS)
1392 rb_define_const(mod, "CS_POSIX_V6_ILP32_OFFBIG_CFLAGS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS));
1393#endif
1394#if defined(_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS)
1395 rb_define_const(mod, "CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS));
1396#endif
1397#if defined(_CS_POSIX_V6_ILP32_OFFBIG_LIBS)
1398 rb_define_const(mod, "CS_POSIX_V6_ILP32_OFFBIG_LIBS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFFBIG_LIBS));
1399#endif
1400#if defined(_CS_POSIX_V6_LP64_OFF64_CFLAGS)
1401 rb_define_const(mod, "CS_POSIX_V6_LP64_OFF64_CFLAGS", INTEGER2NUM(_CS_POSIX_V6_LP64_OFF64_CFLAGS));
1402#endif
1403#if defined(_CS_POSIX_V6_LP64_OFF64_LDFLAGS)
1404 rb_define_const(mod, "CS_POSIX_V6_LP64_OFF64_LDFLAGS", INTEGER2NUM(_CS_POSIX_V6_LP64_OFF64_LDFLAGS));
1405#endif
1406#if defined(_CS_POSIX_V6_LP64_OFF64_LIBS)
1407 rb_define_const(mod, "CS_POSIX_V6_LP64_OFF64_LIBS", INTEGER2NUM(_CS_POSIX_V6_LP64_OFF64_LIBS));
1408#endif
1409#if defined(_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS)
1410 rb_define_const(mod, "CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS", INTEGER2NUM(_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS));
1411#endif
1412#if defined(_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS)
1413 rb_define_const(mod, "CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS", INTEGER2NUM(_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS));
1414#endif
1415#if defined(_CS_POSIX_V6_LPBIG_OFFBIG_LIBS)
1416 rb_define_const(mod, "CS_POSIX_V6_LPBIG_OFFBIG_LIBS", INTEGER2NUM(_CS_POSIX_V6_LPBIG_OFFBIG_LIBS));
1417#endif
1418#if defined(_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS)
1419 rb_define_const(mod, "CS_POSIX_V6_WIDTH_RESTRICTED_ENVS", INTEGER2NUM(_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS));
1420#endif
1421#if defined(_CS_V6_ENV)
1422 rb_define_const(mod, "CS_V6_ENV", INTEGER2NUM(_CS_V6_ENV));
1423#endif
1424#if defined(_CS_GNU_LIBC_VERSION)
1425 rb_define_const(mod, "CS_GNU_LIBC_VERSION", INTEGER2NUM(_CS_GNU_LIBC_VERSION));
1426#endif
1427#if defined(_CS_GNU_LIBPTHREAD_VERSION)
1428 rb_define_const(mod, "CS_GNU_LIBPTHREAD_VERSION", INTEGER2NUM(_CS_GNU_LIBPTHREAD_VERSION));
1429#endif
1430#if defined(_PC_FILESIZEBITS)
1431 rb_define_const(mod, "PC_FILESIZEBITS", INTEGER2NUM(_PC_FILESIZEBITS));
1432#endif
1433#if defined(_PC_LINK_MAX)
1434 rb_define_const(mod, "PC_LINK_MAX", INTEGER2NUM(_PC_LINK_MAX));
1435#endif
1436#if defined(_PC_MAX_CANON)
1437 rb_define_const(mod, "PC_MAX_CANON", INTEGER2NUM(_PC_MAX_CANON));
1438#endif
1439#if defined(_PC_MAX_INPUT)
1440 rb_define_const(mod, "PC_MAX_INPUT", INTEGER2NUM(_PC_MAX_INPUT));
1441#endif
1442#if defined(_PC_NAME_MAX)
1443 rb_define_const(mod, "PC_NAME_MAX", INTEGER2NUM(_PC_NAME_MAX));
1444#endif
1445#if defined(_PC_PATH_MAX)
1446 rb_define_const(mod, "PC_PATH_MAX", INTEGER2NUM(_PC_PATH_MAX));
1447#endif
1448#if defined(_PC_PIPE_BUF)
1449 rb_define_const(mod, "PC_PIPE_BUF", INTEGER2NUM(_PC_PIPE_BUF));
1450#endif
1451#if defined(_PC_2_SYMLINKS)
1452 rb_define_const(mod, "PC_2_SYMLINKS", INTEGER2NUM(_PC_2_SYMLINKS));
1453#endif
1454#if defined(_PC_ALLOC_SIZE_MIN)
1455 rb_define_const(mod, "PC_ALLOC_SIZE_MIN", INTEGER2NUM(_PC_ALLOC_SIZE_MIN));
1456#endif
1457#if defined(_PC_REC_INCR_XFER_SIZE)
1458 rb_define_const(mod, "PC_REC_INCR_XFER_SIZE", INTEGER2NUM(_PC_REC_INCR_XFER_SIZE));
1459#endif
1460#if defined(_PC_REC_MAX_XFER_SIZE)
1461 rb_define_const(mod, "PC_REC_MAX_XFER_SIZE", INTEGER2NUM(_PC_REC_MAX_XFER_SIZE));
1462#endif
1463#if defined(_PC_REC_MIN_XFER_SIZE)
1464 rb_define_const(mod, "PC_REC_MIN_XFER_SIZE", INTEGER2NUM(_PC_REC_MIN_XFER_SIZE));
1465#endif
1466#if defined(_PC_REC_XFER_ALIGN)
1467 rb_define_const(mod, "PC_REC_XFER_ALIGN", INTEGER2NUM(_PC_REC_XFER_ALIGN));
1468#endif
1469#if defined(_PC_SYMLINK_MAX)
1470 rb_define_const(mod, "PC_SYMLINK_MAX", INTEGER2NUM(_PC_SYMLINK_MAX));
1471#endif
1472#if defined(_PC_CHOWN_RESTRICTED)
1473 rb_define_const(mod, "PC_CHOWN_RESTRICTED", INTEGER2NUM(_PC_CHOWN_RESTRICTED));
1474#endif
1475#if defined(_PC_NO_TRUNC)
1476 rb_define_const(mod, "PC_NO_TRUNC", INTEGER2NUM(_PC_NO_TRUNC));
1477#endif
1478#if defined(_PC_VDISABLE)
1479 rb_define_const(mod, "PC_VDISABLE", INTEGER2NUM(_PC_VDISABLE));
1480#endif
1481#if defined(_PC_ASYNC_IO)
1482 rb_define_const(mod, "PC_ASYNC_IO", INTEGER2NUM(_PC_ASYNC_IO));
1483#endif
1484#if defined(_PC_PRIO_IO)
1485 rb_define_const(mod, "PC_PRIO_IO", INTEGER2NUM(_PC_PRIO_IO));
1486#endif
1487#if defined(_PC_SYNC_IO)
1488 rb_define_const(mod, "PC_SYNC_IO", INTEGER2NUM(_PC_SYNC_IO));
1489#endif
1490#if defined(_PC_TIMESTAMP_RESOLUTION)
1491 rb_define_const(mod, "PC_TIMESTAMP_RESOLUTION", INTEGER2NUM(_PC_TIMESTAMP_RESOLUTION));
1492#endif
1493
1494}
mod
#define mod(x, y)
Definition: date_strftime.c:28
INTEGER2NUM
#define INTEGER2NUM(n)
Definition: constdefs.h:932
rb_define_const
void rb_define_const(VALUE, const char *, VALUE)
Definition: variable.c:3150
VALUE
unsigned long VALUE
Definition: value.h:38