This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[PATCH] assertions
[perl5.git] / uconfig.h
CommitLineData
3ebb1980
JH
1/*
2 * This file was produced by running the config_h.SH script, which
3 * gets its values from uconfig.sh, which is generally produced by
4 * running Configure.
5 *
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit uconfig.sh and rerun config_h.SH.
9 *
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
11 */
12
13/*
14 * Package name :
15 * Source directory :
16 * Configuration time:
17 * Configured by :
18 * Target system : unknown
19 */
20
21#ifndef _config_h_
22#define _config_h_
23
24/* LOC_SED:
25 * This symbol holds the complete pathname to the sed program.
26 */
27#define LOC_SED "" /**/
28
29/* HAS_ALARM:
30 * This symbol, if defined, indicates that the alarm routine is
31 * available.
32 */
33/*#define HAS_ALARM / **/
34
35/* HASATTRIBUTE:
36 * This symbol indicates the C compiler can check for function attributes,
37 * such as printf formats. This is normally only supported by GNU cc.
38 */
39/*#define HASATTRIBUTE / **/
40#ifndef HASATTRIBUTE
41#define __attribute__(_arg_)
42#endif
43
44/* HAS_BCMP:
45 * This symbol is defined if the bcmp() routine is available to
46 * compare blocks of memory.
47 */
48/*#define HAS_BCMP / **/
49
50/* HAS_BCOPY:
51 * This symbol is defined if the bcopy() routine is available to
52 * copy blocks of memory.
53 */
54/*#define HAS_BCOPY / **/
55
56/* HAS_BZERO:
57 * This symbol is defined if the bzero() routine is available to
58 * set a memory block to 0.
59 */
60/*#define HAS_BZERO / **/
61
62/* HAS_CHOWN:
63 * This symbol, if defined, indicates that the chown routine is
64 * available.
65 */
66/*#define HAS_CHOWN / **/
67
68/* HAS_CHROOT:
69 * This symbol, if defined, indicates that the chroot routine is
70 * available.
71 */
72/*#define HAS_CHROOT / **/
73
74/* HAS_CHSIZE:
75 * This symbol, if defined, indicates that the chsize routine is available
76 * to truncate files. You might need a -lx to get this routine.
77 */
78/*#define HAS_CHSIZE / **/
79
80/* HASCONST:
81 * This symbol, if defined, indicates that this C compiler knows about
82 * the const type. There is no need to actually test for that symbol
83 * within your programs. The mere use of the "const" keyword will
84 * trigger the necessary tests.
85 */
86/*#define HASCONST / **/
87#ifndef HASCONST
88#define const
89#endif
90
3ebb1980
JH
91/* HAS_CUSERID:
92 * This symbol, if defined, indicates that the cuserid routine is
93 * available to get character login names.
94 */
95/*#define HAS_CUSERID / **/
96
97/* HAS_DBL_DIG:
98 * This symbol, if defined, indicates that this system's <float.h>
99 * or <limits.h> defines the symbol DBL_DIG, which is the number
100 * of significant digits in a double precision number. If this
101 * symbol is not defined, a guess of 15 is usually pretty good.
102 */
103/*#define HAS_DBL_DIG / * */
104
105/* HAS_DIFFTIME:
106 * This symbol, if defined, indicates that the difftime routine is
107 * available.
108 */
109/*#define HAS_DIFFTIME / **/
110
111/* HAS_DLERROR:
112 * This symbol, if defined, indicates that the dlerror routine is
113 * available to return a string describing the last error that
114 * occurred from a call to dlopen(), dlclose() or dlsym().
115 */
116/*#define HAS_DLERROR / **/
117
3ebb1980
JH
118/* HAS_DUP2:
119 * This symbol, if defined, indicates that the dup2 routine is
120 * available to duplicate file descriptors.
121 */
122/*#define HAS_DUP2 / **/
123
124/* HAS_FCHMOD:
125 * This symbol, if defined, indicates that the fchmod routine is available
126 * to change mode of opened files. If unavailable, use chmod().
127 */
128/*#define HAS_FCHMOD / **/
129
130/* HAS_FCHOWN:
131 * This symbol, if defined, indicates that the fchown routine is available
132 * to change ownership of opened files. If unavailable, use chown().
133 */
134/*#define HAS_FCHOWN / **/
135
136/* HAS_FCNTL:
137 * This symbol, if defined, indicates to the C program that
138 * the fcntl() function exists.
139 */
140/*#define HAS_FCNTL / **/
141
142/* HAS_FGETPOS:
143 * This symbol, if defined, indicates that the fgetpos routine is
144 * available to get the file position indicator, similar to ftell().
145 */
146/*#define HAS_FGETPOS / **/
147
148/* HAS_FLOCK:
149 * This symbol, if defined, indicates that the flock routine is
150 * available to do file locking.
151 */
152/*#define HAS_FLOCK / **/
153
154/* HAS_FORK:
155 * This symbol, if defined, indicates that the fork routine is
156 * available.
157 */
158#define HAS_FORK /**/
159
160/* HAS_FSETPOS:
161 * This symbol, if defined, indicates that the fsetpos routine is
162 * available to set the file position indicator, similar to fseek().
163 */
164/*#define HAS_FSETPOS / **/
165
166/* HAS_GETTIMEOFDAY:
167 * This symbol, if defined, indicates that the gettimeofday() system
168 * call is available for a sub-second accuracy clock. Usually, the file
169 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
170 * The type "Timeval" should be used to refer to "struct timeval".
171 */
172/*#define HAS_GETTIMEOFDAY / **/
173#ifdef HAS_GETTIMEOFDAY
174#define Timeval struct timeval /* Structure used by gettimeofday() */
175#endif
176
177/* HAS_GETGROUPS:
178 * This symbol, if defined, indicates that the getgroups() routine is
179 * available to get the list of process groups. If unavailable, multiple
180 * groups are probably not supported.
181 */
182/*#define HAS_GETGROUPS / **/
183
184/* HAS_GETLOGIN:
185 * This symbol, if defined, indicates that the getlogin routine is
186 * available to get the login name.
187 */
188/*#define HAS_GETLOGIN / **/
189
190/* HAS_GETPGID:
191 * This symbol, if defined, indicates to the C program that
192 * the getpgid(pid) function is available to get the
193 * process group id.
194 */
195/*#define HAS_GETPGID / **/
196
3ebb1980
JH
197/* HAS_GETPGRP2:
198 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
199 * routine is available to get the current process group.
200 */
201/*#define HAS_GETPGRP2 / **/
202
203/* HAS_GETPPID:
204 * This symbol, if defined, indicates that the getppid routine is
205 * available to get the parent process ID.
206 */
207/*#define HAS_GETPPID / **/
208
209/* HAS_GETPRIORITY:
210 * This symbol, if defined, indicates that the getpriority routine is
211 * available to get a process's priority.
212 */
213/*#define HAS_GETPRIORITY / **/
214
215/* HAS_INET_ATON:
216 * This symbol, if defined, indicates to the C program that the
217 * inet_aton() function is available to parse IP address "dotted-quad"
218 * strings.
219 */
220/*#define HAS_INET_ATON / **/
221
222/* HAS_KILLPG:
223 * This symbol, if defined, indicates that the killpg routine is available
224 * to kill process groups. If unavailable, you probably should use kill
225 * with a negative process number.
226 */
227/*#define HAS_KILLPG / **/
228
229/* HAS_LINK:
230 * This symbol, if defined, indicates that the link routine is
231 * available to create hard links.
232 */
233/*#define HAS_LINK / **/
234
235/* HAS_LOCALECONV:
236 * This symbol, if defined, indicates that the localeconv routine is
237 * available for numeric and monetary formatting conventions.
238 */
239/*#define HAS_LOCALECONV / **/
240
241/* HAS_LOCKF:
242 * This symbol, if defined, indicates that the lockf routine is
243 * available to do file locking.
244 */
245/*#define HAS_LOCKF / **/
246
247/* HAS_LSTAT:
248 * This symbol, if defined, indicates that the lstat routine is
249 * available to do file stats on symbolic links.
250 */
251/*#define HAS_LSTAT / **/
252
253/* HAS_MBLEN:
254 * This symbol, if defined, indicates that the mblen routine is available
255 * to find the number of bytes in a multibye character.
256 */
257/*#define HAS_MBLEN / **/
258
259/* HAS_MBSTOWCS:
260 * This symbol, if defined, indicates that the mbstowcs routine is
261 * available to covert a multibyte string into a wide character string.
262 */
263/*#define HAS_MBSTOWCS / **/
264
265/* HAS_MBTOWC:
266 * This symbol, if defined, indicates that the mbtowc routine is available
267 * to covert a multibyte to a wide character.
268 */
269/*#define HAS_MBTOWC / **/
270
271/* HAS_MEMCMP:
272 * This symbol, if defined, indicates that the memcmp routine is available
273 * to compare blocks of memory.
274 */
275/*#define HAS_MEMCMP / **/
276
277/* HAS_MEMCPY:
278 * This symbol, if defined, indicates that the memcpy routine is available
279 * to copy blocks of memory.
280 */
281/*#define HAS_MEMCPY / **/
282
283/* HAS_MEMMOVE:
284 * This symbol, if defined, indicates that the memmove routine is available
285 * to copy potentially overlapping blocks of memory. This should be used
286 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
287 * own version.
288 */
289/*#define HAS_MEMMOVE / **/
290
291/* HAS_MEMSET:
292 * This symbol, if defined, indicates that the memset routine is available
293 * to set blocks of memory.
294 */
295/*#define HAS_MEMSET / **/
296
297/* HAS_MKDIR:
298 * This symbol, if defined, indicates that the mkdir routine is available
299 * to create directories. Otherwise you should fork off a new process to
300 * exec /bin/mkdir.
301 */
302/*#define HAS_MKDIR / **/
303
304/* HAS_MKFIFO:
305 * This symbol, if defined, indicates that the mkfifo routine is
306 * available to create FIFOs. Otherwise, mknod should be able to
307 * do it for you. However, if mkfifo is there, mknod might require
308 * super-user privileges which mkfifo will not.
309 */
310/*#define HAS_MKFIFO / **/
311
312/* HAS_MKTIME:
313 * This symbol, if defined, indicates that the mktime routine is
314 * available.
315 */
316/*#define HAS_MKTIME / **/
317
318/* HAS_MSYNC:
319 * This symbol, if defined, indicates that the msync system call is
320 * available to synchronize a mapped file.
321 */
322/*#define HAS_MSYNC / **/
323
324/* HAS_MUNMAP:
325 * This symbol, if defined, indicates that the munmap system call is
326 * available to unmap a region, usually mapped by mmap().
327 */
328/*#define HAS_MUNMAP / **/
329
330/* HAS_NICE:
331 * This symbol, if defined, indicates that the nice routine is
332 * available.
333 */
334/*#define HAS_NICE / **/
335
336/* HAS_PATHCONF:
337 * This symbol, if defined, indicates that pathconf() is available
338 * to determine file-system related limits and options associated
339 * with a given filename.
340 */
341/* HAS_FPATHCONF:
342 * This symbol, if defined, indicates that pathconf() is available
343 * to determine file-system related limits and options associated
344 * with a given open file descriptor.
345 */
346/*#define HAS_PATHCONF / **/
347/*#define HAS_FPATHCONF / **/
348
349/* HAS_PAUSE:
350 * This symbol, if defined, indicates that the pause routine is
351 * available to suspend a process until a signal is received.
352 */
353/*#define HAS_PAUSE / **/
354
355/* HAS_PIPE:
356 * This symbol, if defined, indicates that the pipe routine is
357 * available to create an inter-process channel.
358 */
359/*#define HAS_PIPE / **/
360
361/* HAS_POLL:
362 * This symbol, if defined, indicates that the poll routine is
363 * available to poll active file descriptors. You may safely
364 * include <poll.h> when this symbol is defined.
365 */
366/*#define HAS_POLL / **/
367
368/* HAS_READDIR:
369 * This symbol, if defined, indicates that the readdir routine is
370 * available to read directory entries. You may have to include
371 * <dirent.h>. See I_DIRENT.
372 */
373/*#define HAS_READDIR / **/
374
375/* HAS_SEEKDIR:
376 * This symbol, if defined, indicates that the seekdir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
378 */
379/*#define HAS_SEEKDIR / **/
380
381/* HAS_TELLDIR:
382 * This symbol, if defined, indicates that the telldir routine is
383 * available. You may have to include <dirent.h>. See I_DIRENT.
384 */
385/*#define HAS_TELLDIR / **/
386
387/* HAS_REWINDDIR:
388 * This symbol, if defined, indicates that the rewinddir routine is
389 * available. You may have to include <dirent.h>. See I_DIRENT.
390 */
391/*#define HAS_REWINDDIR / **/
392
393/* HAS_READLINK:
394 * This symbol, if defined, indicates that the readlink routine is
395 * available to read the value of a symbolic link.
396 */
397/*#define HAS_READLINK / **/
398
399/* HAS_RENAME:
400 * This symbol, if defined, indicates that the rename routine is available
401 * to rename files. Otherwise you should do the unlink(), link(), unlink()
402 * trick.
403 */
404/*#define HAS_RENAME / **/
405
406/* HAS_RMDIR:
407 * This symbol, if defined, indicates that the rmdir routine is
408 * available to remove directories. Otherwise you should fork off a
409 * new process to exec /bin/rmdir.
410 */
411/*#define HAS_RMDIR / **/
412
413/* HAS_SELECT:
414 * This symbol, if defined, indicates that the select routine is
415 * available to select active file descriptors. If the timeout field
416 * is used, <sys/time.h> may need to be included.
417 */
418/*#define HAS_SELECT / **/
419
420/* HAS_SETEGID:
421 * This symbol, if defined, indicates that the setegid routine is available
422 * to change the effective gid of the current program.
423 */
424/*#define HAS_SETEGID / **/
425
426/* HAS_SETEUID:
427 * This symbol, if defined, indicates that the seteuid routine is available
428 * to change the effective uid of the current program.
429 */
430/*#define HAS_SETEUID / **/
431
432/* HAS_SETLINEBUF:
433 * This symbol, if defined, indicates that the setlinebuf routine is
434 * available to change stderr or stdout from block-buffered or unbuffered
435 * to a line-buffered mode.
436 */
437/*#define HAS_SETLINEBUF / **/
438
439/* HAS_SETLOCALE:
440 * This symbol, if defined, indicates that the setlocale routine is
441 * available to handle locale-specific ctype implementations.
442 */
443/*#define HAS_SETLOCALE / **/
444
445/* HAS_SETPGID:
446 * This symbol, if defined, indicates that the setpgid(pid, gpid)
447 * routine is available to set process group ID.
448 */
449/*#define HAS_SETPGID / **/
450
3ebb1980
JH
451/* HAS_SETPGRP2:
452 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
453 * routine is available to set the current process group.
454 */
455/*#define HAS_SETPGRP2 / **/
456
457/* HAS_SETPRIORITY:
458 * This symbol, if defined, indicates that the setpriority routine is
459 * available to set a process's priority.
460 */
461/*#define HAS_SETPRIORITY / **/
462
463/* HAS_SETREGID:
464 * This symbol, if defined, indicates that the setregid routine is
465 * available to change the real and effective gid of the current
466 * process.
467 */
468/* HAS_SETRESGID:
469 * This symbol, if defined, indicates that the setresgid routine is
470 * available to change the real, effective and saved gid of the current
471 * process.
472 */
473/*#define HAS_SETREGID / **/
474/*#define HAS_SETRESGID / **/
475
476/* HAS_SETREUID:
477 * This symbol, if defined, indicates that the setreuid routine is
478 * available to change the real and effective uid of the current
479 * process.
480 */
481/* HAS_SETRESUID:
482 * This symbol, if defined, indicates that the setresuid routine is
483 * available to change the real, effective and saved uid of the current
484 * process.
485 */
486/*#define HAS_SETREUID / **/
487/*#define HAS_SETRESUID / **/
488
489/* HAS_SETRGID:
490 * This symbol, if defined, indicates that the setrgid routine is available
491 * to change the real gid of the current program.
492 */
493/*#define HAS_SETRGID / **/
494
495/* HAS_SETRUID:
496 * This symbol, if defined, indicates that the setruid routine is available
497 * to change the real uid of the current program.
498 */
499/*#define HAS_SETRUID / **/
500
501/* HAS_SETSID:
502 * This symbol, if defined, indicates that the setsid routine is
503 * available to set the process group ID.
504 */
505/*#define HAS_SETSID / **/
506
3ebb1980
JH
507/* HAS_STRCHR:
508 * This symbol is defined to indicate that the strchr()/strrchr()
509 * functions are available for string searching. If not, try the
510 * index()/rindex() pair.
511 */
512/* HAS_INDEX:
513 * This symbol is defined to indicate that the index()/rindex()
514 * functions are available for string searching.
515 */
516/*#define HAS_STRCHR / **/
517/*#define HAS_INDEX / **/
518
519/* HAS_STRCOLL:
520 * This symbol, if defined, indicates that the strcoll routine is
521 * available to compare strings using collating information.
522 */
523/*#define HAS_STRCOLL / **/
524
525/* USE_STRUCT_COPY:
526 * This symbol, if defined, indicates that this C compiler knows how
527 * to copy structures. If undefined, you'll need to use a block copy
528 * routine of some sort instead.
529 */
530/*#define USE_STRUCT_COPY / **/
531
532/* HAS_STRTOD:
533 * This symbol, if defined, indicates that the strtod routine is
534 * available to provide better numeric string conversion than atof().
535 */
536/*#define HAS_STRTOD / **/
537
538/* HAS_STRTOL:
539 * This symbol, if defined, indicates that the strtol routine is available
540 * to provide better numeric string conversion than atoi() and friends.
541 */
542/*#define HAS_STRTOL / **/
543
3ebb1980
JH
544/* HAS_STRXFRM:
545 * This symbol, if defined, indicates that the strxfrm() routine is
546 * available to transform strings.
547 */
548/*#define HAS_STRXFRM / **/
549
550/* HAS_SYMLINK:
551 * This symbol, if defined, indicates that the symlink routine is available
552 * to create symbolic links.
553 */
554/*#define HAS_SYMLINK / **/
555
556/* HAS_SYSCALL:
557 * This symbol, if defined, indicates that the syscall routine is
558 * available to call arbitrary system calls. If undefined, that's tough.
559 */
560/*#define HAS_SYSCALL / **/
561
562/* HAS_SYSCONF:
563 * This symbol, if defined, indicates that sysconf() is available
564 * to determine system related limits and options.
565 */
566/*#define HAS_SYSCONF / **/
567
568/* HAS_SYSTEM:
569 * This symbol, if defined, indicates that the system routine is
570 * available to issue a shell command.
571 */
572/*#define HAS_SYSTEM / **/
573
574/* HAS_TCGETPGRP:
575 * This symbol, if defined, indicates that the tcgetpgrp routine is
576 * available to get foreground process group ID.
577 */
578/*#define HAS_TCGETPGRP / **/
579
580/* HAS_TCSETPGRP:
581 * This symbol, if defined, indicates that the tcsetpgrp routine is
582 * available to set foreground process group ID.
583 */
584/*#define HAS_TCSETPGRP / **/
585
586/* HAS_TRUNCATE:
587 * This symbol, if defined, indicates that the truncate routine is
588 * available to truncate files.
589 */
590/*#define HAS_TRUNCATE / **/
591
592/* HAS_TZNAME:
593 * This symbol, if defined, indicates that the tzname[] array is
594 * available to access timezone names.
595 */
596/*#define HAS_TZNAME / **/
597
598/* HAS_UMASK:
599 * This symbol, if defined, indicates that the umask routine is
600 * available to set and get the value of the file creation mask.
601 */
602/*#define HAS_UMASK / **/
603
4e0554ec
JH
604/* HAS_USLEEP:
605 * This symbol, if defined, indicates that the usleep routine is
606 * available to let the process sleep on a sub-second accuracy.
607 */
608/*#define HAS_USLEEP / **/
609
3ebb1980
JH
610/* HASVOLATILE:
611 * This symbol, if defined, indicates that this C compiler knows about
612 * the volatile declaration.
613 */
614/*#define HASVOLATILE / **/
615#ifndef HASVOLATILE
616#define volatile
617#endif
618
619/* HAS_WAIT4:
620 * This symbol, if defined, indicates that wait4() exists.
621 */
622/*#define HAS_WAIT4 / **/
623
624/* HAS_WAITPID:
625 * This symbol, if defined, indicates that the waitpid routine is
626 * available to wait for child process.
627 */
628/*#define HAS_WAITPID / **/
629
630/* HAS_WCSTOMBS:
631 * This symbol, if defined, indicates that the wcstombs routine is
632 * available to convert wide character strings to multibyte strings.
633 */
634/*#define HAS_WCSTOMBS / **/
635
636/* HAS_WCTOMB:
637 * This symbol, if defined, indicates that the wctomb routine is available
638 * to covert a wide character to a multibyte.
639 */
640/*#define HAS_WCTOMB / **/
641
642/* I_ARPA_INET:
643 * This symbol, if defined, indicates to the C program that it should
644 * include <arpa/inet.h> to get inet_addr and friends declarations.
645 */
646/*#define I_ARPA_INET / **/
647
648/* I_DBM:
649 * This symbol, if defined, indicates that <dbm.h> exists and should
650 * be included.
651 */
652/* I_RPCSVC_DBM:
653 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
654 * should be included.
655 */
656/*#define I_DBM / **/
657/*#define I_RPCSVC_DBM / **/
658
659/* I_DIRENT:
660 * This symbol, if defined, indicates to the C program that it should
661 * include <dirent.h>. Using this symbol also triggers the definition
662 * of the Direntry_t define which ends up being 'struct dirent' or
663 * 'struct direct' depending on the availability of <dirent.h>.
664 */
665/* DIRNAMLEN:
666 * This symbol, if defined, indicates to the C program that the length
667 * of directory entry names is provided by a d_namlen field. Otherwise
668 * you need to do strlen() on the d_name field.
669 */
670/* Direntry_t:
671 * This symbol is set to 'struct direct' or 'struct dirent' depending on
672 * whether dirent is available or not. You should use this pseudo type to
673 * portably declare your directory entries.
674 */
675/*#define I_DIRENT / **/
676/*#define DIRNAMLEN / **/
677#define Direntry_t struct dirent
678
679/* I_DLFCN:
680 * This symbol, if defined, indicates that <dlfcn.h> exists and should
681 * be included.
682 */
683/*#define I_DLFCN / **/
684
685/* I_FCNTL:
686 * This manifest constant tells the C program to include <fcntl.h>.
687 */
688/*#define I_FCNTL / **/
689
690/* I_FLOAT:
691 * This symbol, if defined, indicates to the C program that it should
692 * include <float.h> to get definition of symbols like DBL_MAX or
693 * DBL_MIN, i.e. machine dependent floating point values.
694 */
695/*#define I_FLOAT / **/
696
697/* I_LIMITS:
698 * This symbol, if defined, indicates to the C program that it should
699 * include <limits.h> to get definition of symbols like WORD_BIT or
700 * LONG_MAX, i.e. machine dependant limitations.
701 */
702/*#define I_LIMITS / **/
703
704/* I_LOCALE:
705 * This symbol, if defined, indicates to the C program that it should
706 * include <locale.h>.
707 */
708/*#define I_LOCALE / **/
709
710/* I_MATH:
711 * This symbol, if defined, indicates to the C program that it should
712 * include <math.h>.
713 */
251f6efd 714#define I_MATH /**/
3ebb1980
JH
715
716/* I_MEMORY:
717 * This symbol, if defined, indicates to the C program that it should
718 * include <memory.h>.
719 */
720/*#define I_MEMORY / **/
721
3ebb1980
JH
722/* I_NET_ERRNO:
723 * This symbol, if defined, indicates that <net/errno.h> exists and
724 * should be included.
725 */
726/*#define I_NET_ERRNO / **/
727
728/* I_NETINET_IN:
729 * This symbol, if defined, indicates to the C program that it should
730 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
731 */
732/*#define I_NETINET_IN / **/
733
734/* I_SFIO:
735 * This symbol, if defined, indicates to the C program that it should
736 * include <sfio.h>.
737 */
738/*#define I_SFIO / **/
739
740/* I_STDDEF:
741 * This symbol, if defined, indicates that <stddef.h> exists and should
742 * be included.
743 */
744/*#define I_STDDEF / **/
745
746/* I_STDLIB:
747 * This symbol, if defined, indicates that <stdlib.h> exists and should
748 * be included.
749 */
750/*#define I_STDLIB / **/
751
752/* I_STRING:
753 * This symbol, if defined, indicates to the C program that it should
754 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
755 */
756#define I_STRING /**/
757
758/* I_SYS_DIR:
759 * This symbol, if defined, indicates to the C program that it should
760 * include <sys/dir.h>.
761 */
762/*#define I_SYS_DIR / **/
763
764/* I_SYS_FILE:
765 * This symbol, if defined, indicates to the C program that it should
766 * include <sys/file.h> to get definition of R_OK and friends.
767 */
768/*#define I_SYS_FILE / **/
769
770/* I_SYS_IOCTL:
771 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
772 * be included. Otherwise, include <sgtty.h> or <termio.h>.
773 */
49a78c82
JH
774/* I_SYS_SOCKIO:
775 * This symbol, if defined, indicates the <sys/sockio.h> should be included
776 * to get socket ioctl options, like SIOCATMARK.
777 */
3ebb1980 778/*#define I_SYS_IOCTL / **/
49a78c82 779/*#define I_SYS_SOCKIO / **/
3ebb1980
JH
780
781/* I_SYS_NDIR:
782 * This symbol, if defined, indicates to the C program that it should
783 * include <sys/ndir.h>.
784 */
785/*#define I_SYS_NDIR / **/
786
787/* I_SYS_PARAM:
788 * This symbol, if defined, indicates to the C program that it should
789 * include <sys/param.h>.
790 */
791/*#define I_SYS_PARAM / **/
792
793/* I_SYS_RESOURCE:
794 * This symbol, if defined, indicates to the C program that it should
795 * include <sys/resource.h>.
796 */
797/*#define I_SYS_RESOURCE / **/
798
799/* I_SYS_SELECT:
800 * This symbol, if defined, indicates to the C program that it should
801 * include <sys/select.h> in order to get definition of struct timeval.
802 */
803/*#define I_SYS_SELECT / **/
804
805/* I_SYS_STAT:
806 * This symbol, if defined, indicates to the C program that it should
807 * include <sys/stat.h>.
808 */
809#define I_SYS_STAT /**/
810
811/* I_SYS_TIMES:
812 * This symbol, if defined, indicates to the C program that it should
813 * include <sys/times.h>.
814 */
815/*#define I_SYS_TIMES / **/
816
817/* I_SYS_TYPES:
818 * This symbol, if defined, indicates to the C program that it should
819 * include <sys/types.h>.
820 */
821/*#define I_SYS_TYPES / **/
822
823/* I_SYS_UN:
824 * This symbol, if defined, indicates to the C program that it should
825 * include <sys/un.h> to get UNIX domain socket definitions.
826 */
827/*#define I_SYS_UN / **/
828
829/* I_SYS_WAIT:
830 * This symbol, if defined, indicates to the C program that it should
831 * include <sys/wait.h>.
832 */
833/*#define I_SYS_WAIT / **/
834
835/* I_TERMIO:
836 * This symbol, if defined, indicates that the program should include
837 * <termio.h> rather than <sgtty.h>. There are also differences in
838 * the ioctl() calls that depend on the value of this symbol.
839 */
840/* I_TERMIOS:
841 * This symbol, if defined, indicates that the program should include
842 * the POSIX termios.h rather than sgtty.h or termio.h.
843 * There are also differences in the ioctl() calls that depend on the
844 * value of this symbol.
845 */
846/* I_SGTTY:
847 * This symbol, if defined, indicates that the program should include
848 * <sgtty.h> rather than <termio.h>. There are also differences in
849 * the ioctl() calls that depend on the value of this symbol.
850 */
851/*#define I_TERMIO / **/
852/*#define I_TERMIOS / **/
853/*#define I_SGTTY / **/
854
855/* I_UNISTD:
856 * This symbol, if defined, indicates to the C program that it should
857 * include <unistd.h>.
858 */
859/*#define I_UNISTD / **/
860
861/* I_UTIME:
862 * This symbol, if defined, indicates to the C program that it should
863 * include <utime.h>.
864 */
865/*#define I_UTIME / **/
866
867/* I_VALUES:
868 * This symbol, if defined, indicates to the C program that it should
869 * include <values.h> to get definition of symbols like MINFLOAT or
870 * MAXLONG, i.e. machine dependant limitations. Probably, you
871 * should use <limits.h> instead, if it is available.
872 */
873/*#define I_VALUES / **/
874
3ebb1980
JH
875/* I_VFORK:
876 * This symbol, if defined, indicates to the C program that it should
877 * include vfork.h.
878 */
879/*#define I_VFORK / **/
880
3ebb1980
JH
881/* INTSIZE:
882 * This symbol contains the value of sizeof(int) so that the C
883 * preprocessor can make decisions based on it.
884 */
885/* LONGSIZE:
886 * This symbol contains the value of sizeof(long) so that the C
887 * preprocessor can make decisions based on it.
888 */
889/* SHORTSIZE:
890 * This symbol contains the value of sizeof(short) so that the C
891 * preprocessor can make decisions based on it.
892 */
e67aeab1 893#define INTSIZE 4 /**/
a24ffc0b 894#define LONGSIZE 4 /**/
e67aeab1 895#define SHORTSIZE 2 /**/
3ebb1980
JH
896
897/* MULTIARCH:
898 * This symbol, if defined, signifies that the build
899 * process will produce some binary files that are going to be
900 * used in a cross-platform environment. This is the case for
901 * example with the NeXT "fat" binaries that contain executables
902 * for several CPUs.
903 */
904/*#define MULTIARCH / **/
905
906/* HAS_QUAD:
907 * This symbol, if defined, tells that there's a 64-bit integer type,
908 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
909 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
910 */
911/*#define HAS_QUAD / **/
912#ifdef HAS_QUAD
913# define Quad_t int64_t /**/
914# define Uquad_t uint64_t /**/
915# define QUADKIND 4 /**/
916# define QUAD_IS_INT 1
917# define QUAD_IS_LONG 2
918# define QUAD_IS_LONG_LONG 3
919# define QUAD_IS_INT64_T 4
920#endif
921
922/* HAS_ACCESSX:
923 * This symbol, if defined, indicates that the accessx routine is
924 * available to do extended access checks.
925 */
926/*#define HAS_ACCESSX / **/
927
928/* HAS_EACCESS:
929 * This symbol, if defined, indicates that the eaccess routine is
930 * available to do extended access checks.
931 */
932/*#define HAS_EACCESS / **/
933
934/* I_SYS_ACCESS:
935 * This symbol, if defined, indicates to the C program that it should
936 * include <sys/access.h>.
937 */
938/*#define I_SYS_ACCESS / **/
939
940/* I_SYS_SECURITY:
941 * This symbol, if defined, indicates to the C program that it should
942 * include <sys/security.h>.
943 */
944/*#define I_SYS_SECURITY / **/
945
a838cfe5
JH
946/* OSNAME:
947 * This symbol contains the name of the operating system, as determined
948 * by Configure. You shouldn't rely on it too much; the specific
949 * feature tests from Configure are generally more reliable.
950 */
951/* OSVERS:
952 * This symbol contains the version of the operating system, as determined
953 * by Configure. You shouldn't rely on it too much; the specific
954 * feature tests from Configure are generally more reliable.
955 */
956#define OSNAME "unknown" /**/
957#define OSVERS "" /**/
958
3ebb1980
JH
959/* MEM_ALIGNBYTES:
960 * This symbol contains the number of bytes required to align a
961 * double, or a long double when applicable. Usual values are 2,
962 * 4 and 8. The default is eight, for safety.
963 */
5440bc8e 964#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
cb5953d6 965# define MEM_ALIGNBYTES 8
3ebb1980
JH
966#else
967#define MEM_ALIGNBYTES 4
968#endif
969
a838cfe5
JH
970/* ARCHLIB:
971 * This variable, if defined, holds the name of the directory in
972 * which the user wants to put architecture-dependent public
973 * library files for . It is most often a local directory
974 * such as /usr/local/lib. Programs using this variable must be
975 * prepared to deal with filename expansion. If ARCHLIB is the
976 * same as PRIVLIB, it is not defined, since presumably the
977 * program already searches PRIVLIB.
978 */
979/* ARCHLIB_EXP:
980 * This symbol contains the ~name expanded version of ARCHLIB, to be used
981 * in programs that are not prepared to deal with ~ expansion at run-time.
982 */
983/*#define ARCHLIB "/usr/local/lib/perl5/5.7/unknown" / **/
984/*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.7/unknown" / **/
985
986/* ARCHNAME:
987 * This symbol holds a string representing the architecture name.
988 * It may be used to construct an architecture-dependant pathname
989 * where library files may be held under a private library, for
990 * instance.
991 */
992#define ARCHNAME "unknown" /**/
993
994/* HAS_ATOLF:
995 * This symbol, if defined, indicates that the atolf routine is
996 * available to convert strings into long doubles.
997 */
998/*#define HAS_ATOLF / **/
999
1000/* HAS_ATOLL:
1001 * This symbol, if defined, indicates that the atoll routine is
1002 * available to convert strings into long longs.
1003 */
1004/*#define HAS_ATOLL / **/
1005
1006/* BIN:
1007 * This symbol holds the path of the bin directory where the package will
1008 * be installed. Program must be prepared to deal with ~name substitution.
1009 */
1010/* BIN_EXP:
1011 * This symbol is the filename expanded version of the BIN symbol, for
1012 * programs that do not want to deal with that at run-time.
1013 */
1014#define BIN "/usr/local/bin" /**/
1015#define BIN_EXP "" /**/
1016
3ebb1980
JH
1017/* BYTEORDER:
1018 * This symbol holds the hexadecimal constant defined in byteorder,
089ffa16 1019 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
3ebb1980
JH
1020 * If the compiler supports cross-compiling or multiple-architecture
1021 * binaries (eg. on NeXT systems), use compiler-defined macros to
1022 * determine the byte order.
1023 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1024 * Binaries (MAB) on either big endian or little endian machines.
1025 * The endian-ness is available at compile-time. This only matters
1026 * for perl, where the config.h can be generated and installed on
1027 * one system, and used by a different architecture to build an
1028 * extension. Older versions of NeXT that might not have
1029 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1030 * so the default case (for NeXT) is big endian to catch them.
1031 * This might matter for NeXT 3.0.
1032 */
5440bc8e 1033#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
3ebb1980
JH
1034# ifdef __LITTLE_ENDIAN__
1035# if LONGSIZE == 4
1036# define BYTEORDER 0x1234
1037# else
1038# if LONGSIZE == 8
1039# define BYTEORDER 0x12345678
1040# endif
1041# endif
1042# else
1043# ifdef __BIG_ENDIAN__
1044# if LONGSIZE == 4
1045# define BYTEORDER 0x4321
1046# else
1047# if LONGSIZE == 8
1048# define BYTEORDER 0x87654321
1049# endif
1050# endif
1051# endif
1052# endif
1053# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1054# define BYTEORDER 0x4321
1055# endif
1056#else
a24ffc0b 1057#define BYTEORDER 0x1234 /* large digits for MSB */
3ebb1980
JH
1058#endif /* NeXT */
1059
a838cfe5
JH
1060/* CAT2:
1061 * This macro catenates 2 tokens together.
1062 */
1063/* STRINGIFY:
1064 * This macro surrounds its token with double quotes.
1065 */
1066#if 42 == 1
1067#define CAT2(a,b) a/**/b
1068#define STRINGIFY(a) "a"
1069 /* If you can get stringification with catify, tell me how! */
1070#endif
1071#if 42 == 42
1072#define PeRl_CaTiFy(a, b) a ## b
1073#define PeRl_StGiFy(a) #a
1074/* the additional level of indirection enables these macros to be
1075 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1076#define CAT2(a,b) PeRl_CaTiFy(a,b)
1077#define StGiFy(a) PeRl_StGiFy(a)
1078#define STRINGIFY(a) PeRl_StGiFy(a)
1079#endif
1080#if 42 != 1 && 42 != 42
1081# include "Bletch: How does this C preprocessor catenate tokens?"
1082#endif
1083
1084/* CPPSTDIN:
1085 * This symbol contains the first part of the string which will invoke
1086 * the C preprocessor on the standard input and produce to standard
1087 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1088 * call a wrapper. See CPPRUN.
1089 */
1090/* CPPMINUS:
1091 * This symbol contains the second part of the string which will invoke
1092 * the C preprocessor on the standard input and produce to standard
1093 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1094 * to specify standard input, otherwise the value is "".
1095 */
1096/* CPPRUN:
1097 * This symbol contains the string which will invoke a C preprocessor on
1098 * the standard input and produce to standard output. It needs to end
1099 * with CPPLAST, after all other preprocessor flags have been specified.
1100 * The main difference with CPPSTDIN is that this program will never be a
1101 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1102 * available directly to the user. Note that it may well be different from
1103 * the preprocessor used to compile the C program.
1104 */
1105/* CPPLAST:
1106 * This symbol is intended to be used along with CPPRUN in the same manner
1107 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1108 */
1109#define CPPSTDIN ""
1110#define CPPMINUS ""
1111#define CPPRUN ""
1112#define CPPLAST ""
1113
1114/* HAS__FWALK:
1115 * This symbol, if defined, indicates that the _fwalk system call is
1116 * available to apply a function to all the file handles.
1117 */
1118/*#define HAS__FWALK / **/
1119
1120/* HAS_ACCESS:
1121 * This manifest constant lets the C program know that the access()
1122 * system call is available to check for accessibility using real UID/GID.
1123 * (always present on UNIX.)
1124 */
1125/*#define HAS_ACCESS / **/
1126
10bc17b6
JH
1127/* HAS_ASCTIME_R:
1128 * This symbol, if defined, indicates that the asctime_r routine
1129 * is available to asctime re-entrantly.
1130 */
1131/* ASCTIME_R_PROTO:
1132 * This symbol encodes the prototype of asctime_r.
298695c9
JH
1133 * It is zero if d_asctime_r is undef, and one of the
1134 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1135 * is defined.
10bc17b6
JH
1136 */
1137/*#define HAS_ASCTIME_R / **/
1138#define ASCTIME_R_PROTO 0 /**/
1139
3ebb1980
JH
1140/* CASTI32:
1141 * This symbol is defined if the C compiler can cast negative
1142 * or large floating point numbers to 32-bit ints.
1143 */
1144/*#define CASTI32 / **/
1145
1146/* CASTNEGFLOAT:
1147 * This symbol is defined if the C compiler can cast negative
1148 * numbers to unsigned longs, ints and shorts.
1149 */
1150/* CASTFLAGS:
1151 * This symbol contains flags that say what difficulties the compiler
1152 * has casting odd floating values to unsigned long:
1153 * 0 = ok
1154 * 1 = couldn't cast < 0
1155 * 2 = couldn't cast >= 0x80000000
1156 * 4 = couldn't cast in argument expression list
1157 */
1158/*#define CASTNEGFLOAT / **/
1159#define CASTFLAGS 0 /**/
1160
a838cfe5
JH
1161/* HAS_CLASS:
1162 * This symbol, if defined, indicates that the class routine is
1163 * available to classify doubles. Available for example in AIX.
1164 * The returned values are defined in <float.h> and are:
1165 *
1166 * FP_PLUS_NORM Positive normalized, nonzero
1167 * FP_MINUS_NORM Negative normalized, nonzero
1168 * FP_PLUS_DENORM Positive denormalized, nonzero
1169 * FP_MINUS_DENORM Negative denormalized, nonzero
1170 * FP_PLUS_ZERO +0.0
1171 * FP_MINUS_ZERO -0.0
1172 * FP_PLUS_INF +INF
1173 * FP_MINUS_INF -INF
1174 * FP_NANS Signaling Not a Number (NaNS)
1175 * FP_NANQ Quiet Not a Number (NaNQ)
1176 */
1177/*#define HAS_CLASS / **/
1178
3ebb1980
JH
1179/* VOID_CLOSEDIR:
1180 * This symbol, if defined, indicates that the closedir() routine
1181 * does not return a value.
1182 */
1183/*#define VOID_CLOSEDIR / **/
1184
a838cfe5
JH
1185/* HAS_STRUCT_CMSGHDR:
1186 * This symbol, if defined, indicates that the struct cmsghdr
1187 * is supported.
3ebb1980 1188 */
a838cfe5 1189/*#define HAS_STRUCT_CMSGHDR / **/
3ebb1980 1190
10bc17b6
JH
1191/* HAS_CRYPT_R:
1192 * This symbol, if defined, indicates that the crypt_r routine
1193 * is available to crypt re-entrantly.
1194 */
1195/* CRYPT_R_PROTO:
1196 * This symbol encodes the prototype of crypt_r.
298695c9
JH
1197 * It is zero if d_crypt_r is undef, and one of the
1198 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1199 * is defined.
10bc17b6
JH
1200 */
1201/*#define HAS_CRYPT_R / **/
1202#define CRYPT_R_PROTO 0 /**/
1203
a838cfe5
JH
1204/* HAS_CSH:
1205 * This symbol, if defined, indicates that the C-shell exists.
3ebb1980 1206 */
a838cfe5
JH
1207/* CSH:
1208 * This symbol, if defined, contains the full pathname of csh.
3ebb1980 1209 */
a838cfe5
JH
1210/*#define HAS_CSH / **/
1211#ifdef HAS_CSH
1212#define CSH "" /**/
e9a8643a 1213#endif
a838cfe5 1214
10bc17b6
JH
1215/* HAS_CTIME_R:
1216 * This symbol, if defined, indicates that the ctime_r routine
1217 * is available to ctime re-entrantly.
1218 */
1219/* CTIME_R_PROTO:
1220 * This symbol encodes the prototype of ctime_r.
298695c9
JH
1221 * It is zero if d_ctime_r is undef, and one of the
1222 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1223 * is defined.
10bc17b6
JH
1224 */
1225/*#define HAS_CTIME_R / **/
1226#define CTIME_R_PROTO 0 /**/
1227
a838cfe5
JH
1228/* DLSYM_NEEDS_UNDERSCORE:
1229 * This symbol, if defined, indicates that we need to prepend an
1230 * underscore to the symbol name before calling dlsym(). This only
1231 * makes sense if you *have* dlsym, which we will presume is the
1232 * case if you're using dl_dlopen.xs.
3ebb1980 1233 */
a838cfe5 1234/*#define DLSYM_NEEDS_UNDERSCORE / **/
3ebb1980 1235
10bc17b6
JH
1236/* HAS_DRAND48_R:
1237 * This symbol, if defined, indicates that the drand48_r routine
1238 * is available to drand48 re-entrantly.
1239 */
1240/* DRAND48_R_PROTO:
1241 * This symbol encodes the prototype of drand48_r.
298695c9
JH
1242 * It is zero if d_drand48_r is undef, and one of the
1243 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1244 * is defined.
10bc17b6
JH
1245 */
1246/*#define HAS_DRAND48_R / **/
1247#define DRAND48_R_PROTO 0 /**/
1248
a838cfe5
JH
1249/* HAS_DRAND48_PROTO:
1250 * This symbol, if defined, indicates that the system provides
1251 * a prototype for the drand48() function. Otherwise, it is up
1252 * to the program to supply one. A good guess is
c68a00c0 1253 * extern double drand48(void);
3ebb1980 1254 */
a838cfe5 1255/*#define HAS_DRAND48_PROTO / **/
e9a8643a 1256
a838cfe5
JH
1257/* HAS_ENDGRENT:
1258 * This symbol, if defined, indicates that the getgrent routine is
1259 * available for finalizing sequential access of the group database.
e9a8643a 1260 */
a838cfe5 1261/*#define HAS_ENDGRENT / **/
e9a8643a 1262
10bc17b6
JH
1263/* HAS_ENDGRENT_R:
1264 * This symbol, if defined, indicates that the endgrent_r routine
1265 * is available to endgrent re-entrantly.
1266 */
1267/* ENDGRENT_R_PROTO:
1268 * This symbol encodes the prototype of endgrent_r.
298695c9
JH
1269 * It is zero if d_endgrent_r is undef, and one of the
1270 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1271 * is defined.
10bc17b6
JH
1272 */
1273/*#define HAS_ENDGRENT_R / **/
1274#define ENDGRENT_R_PROTO 0 /**/
1275
a838cfe5
JH
1276/* HAS_ENDHOSTENT:
1277 * This symbol, if defined, indicates that the endhostent() routine is
1278 * available to close whatever was being used for host queries.
e9a8643a 1279 */
a838cfe5 1280/*#define HAS_ENDHOSTENT / **/
e9a8643a 1281
a838cfe5
JH
1282/* HAS_ENDNETENT:
1283 * This symbol, if defined, indicates that the endnetent() routine is
1284 * available to close whatever was being used for network queries.
e9a8643a 1285 */
a838cfe5 1286/*#define HAS_ENDNETENT / **/
e9a8643a 1287
a838cfe5
JH
1288/* HAS_ENDPROTOENT:
1289 * This symbol, if defined, indicates that the endprotoent() routine is
1290 * available to close whatever was being used for protocol queries.
e9a8643a 1291 */
a838cfe5 1292/*#define HAS_ENDPROTOENT / **/
e9a8643a 1293
a838cfe5
JH
1294/* HAS_ENDPWENT:
1295 * This symbol, if defined, indicates that the getgrent routine is
1296 * available for finalizing sequential access of the passwd database.
e9a8643a 1297 */
a838cfe5 1298/*#define HAS_ENDPWENT / **/
e9a8643a 1299
10bc17b6
JH
1300/* HAS_ENDPWENT_R:
1301 * This symbol, if defined, indicates that the endpwent_r routine
1302 * is available to endpwent re-entrantly.
1303 */
1304/* ENDPWENT_R_PROTO:
1305 * This symbol encodes the prototype of endpwent_r.
298695c9
JH
1306 * It is zero if d_endpwent_r is undef, and one of the
1307 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1308 * is defined.
10bc17b6
JH
1309 */
1310/*#define HAS_ENDPWENT_R / **/
1311#define ENDPWENT_R_PROTO 0 /**/
1312
a838cfe5
JH
1313/* HAS_ENDSERVENT:
1314 * This symbol, if defined, indicates that the endservent() routine is
1315 * available to close whatever was being used for service queries.
e9a8643a 1316 */
a838cfe5 1317/*#define HAS_ENDSERVENT / **/
3ebb1980 1318
b363b713
JH
1319/* HAS_FCHDIR:
1320 * This symbol, if defined, indicates that the fchdir routine is
1321 * available to change directory using a file descriptor.
1322 */
1323/*#define HAS_FCHDIR / **/
1324
a7fea17f
JH
1325/* FCNTL_CAN_LOCK:
1326 * This symbol, if defined, indicates that fcntl() can be used
1327 * for file locking. Normally on Unix systems this is defined.
1328 * It may be undefined on VMS.
1329 */
1330/*#define FCNTL_CAN_LOCK / **/
1331
a838cfe5
JH
1332/* HAS_FD_SET:
1333 * This symbol, when defined, indicates presence of the fd_set typedef
1334 * in <sys/types.h>
1335 */
1336/*#define HAS_FD_SET / **/
1337
758a5d79
JH
1338/* HAS_FINITE:
1339 * This symbol, if defined, indicates that the finite routine is
1340 * available to check whether a double is finite (non-infinity non-NaN).
1341 */
1342/*#define HAS_FINITE / **/
1343
1344/* HAS_FINITEL:
1345 * This symbol, if defined, indicates that the finitel routine is
1346 * available to check whether a long double is finite
1347 * (non-infinity non-NaN).
1348 */
1349/*#define HAS_FINITEL / **/
1350
a838cfe5
JH
1351/* FLEXFILENAMES:
1352 * This symbol, if defined, indicates that the system supports filenames
1353 * longer than 14 characters.
3ebb1980 1354 */
a838cfe5 1355/*#define FLEXFILENAMES / **/
3ebb1980 1356
758a5d79
JH
1357/* HAS_FP_CLASS:
1358 * This symbol, if defined, indicates that the fp_class routine is
1359 * available to classify doubles. Available for example in Digital UNIX.
1360 * The returned values are defined in <math.h> and are:
1361 *
1362 * FP_SNAN Signaling NaN (Not-a-Number)
1363 * FP_QNAN Quiet NaN (Not-a-Number)
1364 * FP_POS_INF +infinity
1365 * FP_NEG_INF -infinity
1366 * FP_POS_NORM Positive normalized
1367 * FP_NEG_NORM Negative normalized
1368 * FP_POS_DENORM Positive denormalized
1369 * FP_NEG_DENORM Negative denormalized
1370 * FP_POS_ZERO +0.0 (positive zero)
1371 * FP_NEG_ZERO -0.0 (negative zero)
1372 */
1373/*#define HAS_FP_CLASS / **/
1374
1375/* HAS_FPCLASS:
1376 * This symbol, if defined, indicates that the fpclass routine is
1377 * available to classify doubles. Available for example in Solaris/SVR4.
1378 * The returned values are defined in <ieeefp.h> and are:
1379 *
1380 * FP_SNAN signaling NaN
1381 * FP_QNAN quiet NaN
1382 * FP_NINF negative infinity
1383 * FP_PINF positive infinity
1384 * FP_NDENORM negative denormalized non-zero
1385 * FP_PDENORM positive denormalized non-zero
1386 * FP_NZERO negative zero
1387 * FP_PZERO positive zero
1388 * FP_NNORM negative normalized non-zero
1389 * FP_PNORM positive normalized non-zero
1390 */
1391/*#define HAS_FPCLASS / **/
1392
1393/* HAS_FPCLASSIFY:
1394 * This symbol, if defined, indicates that the fpclassify routine is
1395 * available to classify doubles. Available for example in HP-UX.
1396 * The returned values are defined in <math.h> and are
1397 *
1398 * FP_NORMAL Normalized
1399 * FP_ZERO Zero
1400 * FP_INFINITE Infinity
1401 * FP_SUBNORMAL Denormalized
1402 * FP_NAN NaN
1403 *
1404 */
a838cfe5 1405/*#define HAS_FPCLASSIFY / **/
e9a8643a 1406
3ebb1980
JH
1407/* HAS_FPOS64_T:
1408 * This symbol will be defined if the C compiler supports fpos64_t.
1409 */
1410/*#define HAS_FPOS64_T / **/
1411
1412/* HAS_FREXPL:
1413 * This symbol, if defined, indicates that the frexpl routine is
1414 * available to break a long double floating-point number into
1415 * a normalized fraction and an integral power of 2.
1416 */
1417/*#define HAS_FREXPL / **/
1418
1419/* HAS_STRUCT_FS_DATA:
1420 * This symbol, if defined, indicates that the struct fs_data
1421 * to do statfs() is supported.
1422 */
1423/*#define HAS_STRUCT_FS_DATA / **/
1424
1425/* HAS_FSEEKO:
1426 * This symbol, if defined, indicates that the fseeko routine is
1427 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1428 */
1429/*#define HAS_FSEEKO / **/
1430
1431/* HAS_FSTATFS:
1432 * This symbol, if defined, indicates that the fstatfs routine is
1433 * available to stat filesystems by file descriptors.
1434 */
1435/*#define HAS_FSTATFS / **/
e9a8643a
JH
1436
1437/* HAS_FSYNC:
1438 * This symbol, if defined, indicates that the fsync routine is
1439 * available to write a file's modified data and attributes to
1440 * permanent storage.
3ebb1980 1441 */
e9a8643a
JH
1442/*#define HAS_FSYNC / **/
1443
1444/* HAS_FTELLO:
1445 * This symbol, if defined, indicates that the ftello routine is
1446 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1447 */
1448/*#define HAS_FTELLO / **/
3ebb1980 1449
a838cfe5
JH
1450/* Gconvert:
1451 * This preprocessor macro is defined to convert a floating point
1452 * number to a string without a trailing decimal point. This
1453 * emulates the behavior of sprintf("%g"), but is sometimes much more
1454 * efficient. If gconvert() is not available, but gcvt() drops the
1455 * trailing decimal point, then gcvt() is used. If all else fails,
1456 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1457 * macro are: value, number of digits, whether trailing zeros should
1458 * be retained, and the output buffer.
a3c02183 1459 * The usual values are:
a838cfe5
JH
1460 * d_Gconvert='gconvert((x),(n),(t),(b))'
1461 * d_Gconvert='gcvt((x),(n),(b))'
1462 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1463 * The last two assume trailing zeros should not be kept.
1464 */
1465#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1466
3ebb1980
JH
1467/* HAS_GETCWD:
1468 * This symbol, if defined, indicates that the getcwd routine is
1469 * available to get the current working directory.
1470 */
1471/*#define HAS_GETCWD / **/
1472
1473/* HAS_GETESPWNAM:
1474 * This symbol, if defined, indicates that the getespwnam system call is
1475 * available to retrieve enchanced (shadow) password entries by name.
1476 */
1477/*#define HAS_GETESPWNAM / **/
1478
1479/* HAS_GETFSSTAT:
1480 * This symbol, if defined, indicates that the getfsstat routine is
1481 * available to stat filesystems in bulk.
1482 */
1483/*#define HAS_GETFSSTAT / **/
1484
a838cfe5
JH
1485/* HAS_GETGRENT:
1486 * This symbol, if defined, indicates that the getgrent routine is
1487 * available for sequential access of the group database.
1488 */
1489/*#define HAS_GETGRENT / **/
1490
10bc17b6
JH
1491/* HAS_GETGRENT_R:
1492 * This symbol, if defined, indicates that the getgrent_r routine
1493 * is available to getgrent re-entrantly.
1494 */
1495/* GETGRENT_R_PROTO:
1496 * This symbol encodes the prototype of getgrent_r.
298695c9
JH
1497 * It is zero if d_getgrent_r is undef, and one of the
1498 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1499 * is defined.
10bc17b6
JH
1500 */
1501/*#define HAS_GETGRENT_R / **/
1502#define GETGRENT_R_PROTO 0 /**/
1503
1504/* HAS_GETGRGID_R:
1505 * This symbol, if defined, indicates that the getgrgid_r routine
1506 * is available to getgrgid re-entrantly.
1507 */
1508/* GETGRGID_R_PROTO:
1509 * This symbol encodes the prototype of getgrgid_r.
298695c9
JH
1510 * It is zero if d_getgrgid_r is undef, and one of the
1511 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1512 * is defined.
10bc17b6
JH
1513 */
1514/*#define HAS_GETGRGID_R / **/
1515#define GETGRGID_R_PROTO 0 /**/
1516
1517/* HAS_GETGRNAM_R:
1518 * This symbol, if defined, indicates that the getgrnam_r routine
1519 * is available to getgrnam re-entrantly.
1520 */
1521/* GETGRNAM_R_PROTO:
1522 * This symbol encodes the prototype of getgrnam_r.
298695c9
JH
1523 * It is zero if d_getgrnam_r is undef, and one of the
1524 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1525 * is defined.
10bc17b6
JH
1526 */
1527/*#define HAS_GETGRNAM_R / **/
1528#define GETGRNAM_R_PROTO 0 /**/
1529
a838cfe5
JH
1530/* HAS_GETHOSTBYADDR:
1531 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1532 * available to look up hosts by their IP addresses.
1533 */
1534/*#define HAS_GETHOSTBYADDR / **/
1535
1536/* HAS_GETHOSTBYNAME:
1537 * This symbol, if defined, indicates that the gethostbyname() routine is
1538 * available to look up host names in some data base or other.
1539 */
1540/*#define HAS_GETHOSTBYNAME / **/
1541
1542/* HAS_GETHOSTENT:
1543 * This symbol, if defined, indicates that the gethostent() routine is
1544 * available to look up host names in some data base or another.
1545 */
1546/*#define HAS_GETHOSTENT / **/
1547
1548/* HAS_GETHOSTNAME:
1549 * This symbol, if defined, indicates that the C program may use the
1550 * gethostname() routine to derive the host name. See also HAS_UNAME
1551 * and PHOSTNAME.
1552 */
1553/* HAS_UNAME:
1554 * This symbol, if defined, indicates that the C program may use the
1555 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1556 * and PHOSTNAME.
1557 */
1558/* PHOSTNAME:
1559 * This symbol, if defined, indicates the command to feed to the
1560 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1561 * and HAS_UNAME. Note that the command uses a fully qualified path,
1562 * so that it is safe even if used by a process with super-user
1563 * privileges.
1564 */
1565/* HAS_PHOSTNAME:
1566 * This symbol, if defined, indicates that the C program may use the
1567 * contents of PHOSTNAME as a command to feed to the popen() routine
1568 * to derive the host name.
1569 */
1570/*#define HAS_GETHOSTNAME / **/
1571/*#define HAS_UNAME / **/
1572/*#define HAS_PHOSTNAME / **/
1573#ifdef HAS_PHOSTNAME
1574#define PHOSTNAME "" /* How to get the host name */
1575#endif
1576
1577/* HAS_GETHOST_PROTOS:
1578 * This symbol, if defined, indicates that <netdb.h> includes
1579 * prototypes for gethostent(), gethostbyname(), and
1580 * gethostbyaddr(). Otherwise, it is up to the program to guess
1581 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1582 */
1583/*#define HAS_GETHOST_PROTOS / **/
1584
4e0554ec
JH
1585/* HAS_GETITIMER:
1586 * This symbol, if defined, indicates that the getitimer routine is
1587 * available to return interval timers.
1588 */
1589/*#define HAS_GETITIMER / **/
1590
10bc17b6
JH
1591/* HAS_GETLOGIN_R:
1592 * This symbol, if defined, indicates that the getlogin_r routine
1593 * is available to getlogin re-entrantly.
1594 */
1595/* GETLOGIN_R_PROTO:
1596 * This symbol encodes the prototype of getlogin_r.
298695c9
JH
1597 * It is zero if d_getlogin_r is undef, and one of the
1598 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1599 * is defined.
10bc17b6
JH
1600 */
1601/*#define HAS_GETLOGIN_R / **/
1602#define GETLOGIN_R_PROTO 0 /**/
1603
3ebb1980
JH
1604/* HAS_GETMNT:
1605 * This symbol, if defined, indicates that the getmnt routine is
1606 * available to get filesystem mount info by filename.
1607 */
1608/*#define HAS_GETMNT / **/
1609
1610/* HAS_GETMNTENT:
1611 * This symbol, if defined, indicates that the getmntent routine is
1612 * available to iterate through mounted file systems to get their info.
1613 */
1614/*#define HAS_GETMNTENT / **/
1615
a838cfe5
JH
1616/* HAS_GETNETBYADDR:
1617 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1618 * available to look up networks by their IP addresses.
1619 */
1620/*#define HAS_GETNETBYADDR / **/
1621
1622/* HAS_GETNETBYNAME:
1623 * This symbol, if defined, indicates that the getnetbyname() routine is
1624 * available to look up networks by their names.
1625 */
1626/*#define HAS_GETNETBYNAME / **/
1627
1628/* HAS_GETNETENT:
1629 * This symbol, if defined, indicates that the getnetent() routine is
1630 * available to look up network names in some data base or another.
1631 */
1632/*#define HAS_GETNETENT / **/
1633
1634/* HAS_GETNET_PROTOS:
1635 * This symbol, if defined, indicates that <netdb.h> includes
1636 * prototypes for getnetent(), getnetbyname(), and
1637 * getnetbyaddr(). Otherwise, it is up to the program to guess
1638 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1639 */
1640/*#define HAS_GETNET_PROTOS / **/
1641
1642/* HAS_GETPAGESIZE:
1643 * This symbol, if defined, indicates that the getpagesize system call
1644 * is available to get system page size, which is the granularity of
1645 * many memory management calls.
1646 */
1647/*#define HAS_GETPAGESIZE / **/
1648
1649/* HAS_GETPROTOENT:
1650 * This symbol, if defined, indicates that the getprotoent() routine is
1651 * available to look up protocols in some data base or another.
1652 */
1653/*#define HAS_GETPROTOENT / **/
1654
1655/* HAS_GETPGRP:
1656 * This symbol, if defined, indicates that the getpgrp routine is
1657 * available to get the current process group.
1658 */
1659/* USE_BSD_GETPGRP:
1660 * This symbol, if defined, indicates that getpgrp needs one
1661 * arguments whereas USG one needs none.
1662 */
1663/*#define HAS_GETPGRP / **/
1664/*#define USE_BSD_GETPGRP / **/
1665
1666/* HAS_GETPROTOBYNAME:
1667 * This symbol, if defined, indicates that the getprotobyname()
1668 * routine is available to look up protocols by their name.
1669 */
1670/* HAS_GETPROTOBYNUMBER:
1671 * This symbol, if defined, indicates that the getprotobynumber()
1672 * routine is available to look up protocols by their number.
1673 */
1674/*#define HAS_GETPROTOBYNAME / **/
1675/*#define HAS_GETPROTOBYNUMBER / **/
1676
1677/* HAS_GETPROTO_PROTOS:
1678 * This symbol, if defined, indicates that <netdb.h> includes
1679 * prototypes for getprotoent(), getprotobyname(), and
1680 * getprotobyaddr(). Otherwise, it is up to the program to guess
1681 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1682 */
1683/*#define HAS_GETPROTO_PROTOS / **/
1684
3ebb1980
JH
1685/* HAS_GETPRPWNAM:
1686 * This symbol, if defined, indicates that the getprpwnam system call is
1687 * available to retrieve protected (shadow) password entries by name.
1688 */
1689/*#define HAS_GETPRPWNAM / **/
1690
a838cfe5
JH
1691/* HAS_GETPWENT:
1692 * This symbol, if defined, indicates that the getpwent routine is
1693 * available for sequential access of the passwd database.
1694 * If this is not available, the older getpw() function may be available.
1695 */
1696/*#define HAS_GETPWENT / **/
1697
10bc17b6
JH
1698/* HAS_GETPWENT_R:
1699 * This symbol, if defined, indicates that the getpwent_r routine
1700 * is available to getpwent re-entrantly.
1701 */
1702/* GETPWENT_R_PROTO:
1703 * This symbol encodes the prototype of getpwent_r.
298695c9
JH
1704 * It is zero if d_getpwent_r is undef, and one of the
1705 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1706 * is defined.
10bc17b6
JH
1707 */
1708/*#define HAS_GETPWENT_R / **/
1709#define GETPWENT_R_PROTO 0 /**/
1710
1711/* HAS_GETPWNAM_R:
1712 * This symbol, if defined, indicates that the getpwnam_r routine
1713 * is available to getpwnam re-entrantly.
1714 */
1715/* GETPWNAM_R_PROTO:
1716 * This symbol encodes the prototype of getpwnam_r.
298695c9
JH
1717 * It is zero if d_getpwnam_r is undef, and one of the
1718 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1719 * is defined.
10bc17b6
JH
1720 */
1721/*#define HAS_GETPWNAM_R / **/
1722#define GETPWNAM_R_PROTO 0 /**/
1723
1724/* HAS_GETPWUID_R:
1725 * This symbol, if defined, indicates that the getpwuid_r routine
1726 * is available to getpwuid re-entrantly.
1727 */
1728/* GETPWUID_R_PROTO:
1729 * This symbol encodes the prototype of getpwuid_r.
298695c9
JH
1730 * It is zero if d_getpwuid_r is undef, and one of the
1731 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1732 * is defined.
10bc17b6
JH
1733 */
1734/*#define HAS_GETPWUID_R / **/
1735#define GETPWUID_R_PROTO 0 /**/
1736
a838cfe5
JH
1737/* HAS_GETSERVENT:
1738 * This symbol, if defined, indicates that the getservent() routine is
1739 * available to look up network services in some data base or another.
1740 */
1741/*#define HAS_GETSERVENT / **/
1742
1743/* HAS_GETSERV_PROTOS:
1744 * This symbol, if defined, indicates that <netdb.h> includes
1745 * prototypes for getservent(), getservbyname(), and
1746 * getservbyaddr(). Otherwise, it is up to the program to guess
1747 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1748 */
1749/*#define HAS_GETSERV_PROTOS / **/
1750
3ebb1980
JH
1751/* HAS_GETSPNAM:
1752 * This symbol, if defined, indicates that the getspnam system call is
1753 * available to retrieve SysV shadow password entries by name.
1754 */
1755/*#define HAS_GETSPNAM / **/
1756
10bc17b6
JH
1757/* HAS_GETSPNAM_R:
1758 * This symbol, if defined, indicates that the getspnam_r routine
1759 * is available to getspnam re-entrantly.
1760 */
1761/* GETSPNAM_R_PROTO:
1762 * This symbol encodes the prototype of getspnam_r.
298695c9
JH
1763 * It is zero if d_getspnam_r is undef, and one of the
1764 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1765 * is defined.
10bc17b6
JH
1766 */
1767/*#define HAS_GETSPNAM_R / **/
1768#define GETSPNAM_R_PROTO 0 /**/
1769
a838cfe5
JH
1770/* HAS_GETSERVBYNAME:
1771 * This symbol, if defined, indicates that the getservbyname()
1772 * routine is available to look up services by their name.
1773 */
1774/* HAS_GETSERVBYPORT:
1775 * This symbol, if defined, indicates that the getservbyport()
1776 * routine is available to look up services by their port.
1777 */
1778/*#define HAS_GETSERVBYNAME / **/
1779/*#define HAS_GETSERVBYPORT / **/
1780
10bc17b6
JH
1781/* HAS_GMTIME_R:
1782 * This symbol, if defined, indicates that the gmtime_r routine
1783 * is available to gmtime re-entrantly.
1784 */
1785/* GMTIME_R_PROTO:
1786 * This symbol encodes the prototype of gmtime_r.
298695c9
JH
1787 * It is zero if d_gmtime_r is undef, and one of the
1788 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1789 * is defined.
10bc17b6
JH
1790 */
1791/*#define HAS_GMTIME_R / **/
1792#define GMTIME_R_PROTO 0 /**/
1793
a838cfe5
JH
1794/* HAS_GNULIBC:
1795 * This symbol, if defined, indicates to the C program that
033348ab
JH
1796 * the GNU C library is being used. A better check is to use
1797 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
a838cfe5
JH
1798 */
1799/*#define HAS_GNULIBC / **/
1800#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1801# define _GNU_SOURCE
1802#endif
3ebb1980
JH
1803/* HAS_HASMNTOPT:
1804 * This symbol, if defined, indicates that the hasmntopt routine is
1805 * available to query the mount options of file systems.
1806 */
1807/*#define HAS_HASMNTOPT / **/
1808
a838cfe5
JH
1809/* HAS_HTONL:
1810 * This symbol, if defined, indicates that the htonl() routine (and
1811 * friends htons() ntohl() ntohs()) are available to do network
1812 * order byte swapping.
1813 */
1814/* HAS_HTONS:
1815 * This symbol, if defined, indicates that the htons() routine (and
1816 * friends htonl() ntohl() ntohs()) are available to do network
1817 * order byte swapping.
1818 */
1819/* HAS_NTOHL:
1820 * This symbol, if defined, indicates that the ntohl() routine (and
1821 * friends htonl() htons() ntohs()) are available to do network
1822 * order byte swapping.
1823 */
1824/* HAS_NTOHS:
1825 * This symbol, if defined, indicates that the ntohs() routine (and
1826 * friends htonl() htons() ntohl()) are available to do network
1827 * order byte swapping.
1828 */
1829/*#define HAS_HTONL / **/
1830/*#define HAS_HTONS / **/
1831/*#define HAS_NTOHL / **/
1832/*#define HAS_NTOHS / **/
1833
3ebb1980
JH
1834/* HAS_INT64_T:
1835 * This symbol will defined if the C compiler supports int64_t.
1836 * Usually the <inttypes.h> needs to be included, but sometimes
1837 * <sys/types.h> is enough.
1838 */
1839/*#define HAS_INT64_T / **/
1840
a838cfe5
JH
1841/* HAS_ISASCII:
1842 * This manifest constant lets the C program know that isascii
1843 * is available.
1844 */
1845/*#define HAS_ISASCII / **/
1846
758a5d79
JH
1847/* HAS_ISFINITE:
1848 * This symbol, if defined, indicates that the isfinite routine is
1849 * available to check whether a double is finite (non-infinity non-NaN).
1850 */
1851/*#define HAS_ISFINITE / **/
1852
1853/* HAS_ISINF:
1854 * This symbol, if defined, indicates that the isinf routine is
1855 * available to check whether a double is an infinity.
1856 */
1857/*#define HAS_ISINF / **/
1858
3ebb1980
JH
1859/* HAS_ISNAN:
1860 * This symbol, if defined, indicates that the isnan routine is
1861 * available to check whether a double is a NaN.
1862 */
1863/*#define HAS_ISNAN / **/
1864
e9a8643a
JH
1865/* HAS_ISNANL:
1866 * This symbol, if defined, indicates that the isnanl routine is
1867 * available to check whether a long double is a NaN.
3ebb1980 1868 */
a838cfe5
JH
1869/*#define HAS_ISNANL / **/
1870
1871/* HAS_LCHOWN:
1872 * This symbol, if defined, indicates that the lchown routine is
1873 * available to operate on a symbolic link (instead of following the
1874 * link).
1875 */
1876/*#define HAS_LCHOWN / **/
1877
1878/* HAS_LDBL_DIG:
1879 * This symbol, if defined, indicates that this system's <float.h>
1880 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1881 * of significant digits in a long double precision number. Unlike
1882 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1883 */
1884/*#define HAS_LDBL_DIG / * */
1885
10bc17b6
JH
1886/* HAS_LOCALTIME_R:
1887 * This symbol, if defined, indicates that the localtime_r routine
1888 * is available to localtime re-entrantly.
1889 */
1890/* LOCALTIME_R_PROTO:
1891 * This symbol encodes the prototype of localtime_r.
298695c9
JH
1892 * It is zero if d_localtime_r is undef, and one of the
1893 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1894 * is defined.
10bc17b6
JH
1895 */
1896/*#define HAS_LOCALTIME_R / **/
1897#define LOCALTIME_R_PROTO 0 /**/
1898
a838cfe5
JH
1899/* HAS_LONG_DOUBLE:
1900 * This symbol will be defined if the C compiler supports long
1901 * doubles.
1902 */
1903/* LONG_DOUBLESIZE:
1904 * This symbol contains the size of a long double, so that the
1905 * C preprocessor can make decisions based on it. It is only
1906 * defined if the system supports long doubles.
1907 */
1908/*#define HAS_LONG_DOUBLE / **/
1909#ifdef HAS_LONG_DOUBLE
1910#define LONG_DOUBLESIZE 8 /**/
1911#endif
1912
1913/* HAS_LONG_LONG:
1914 * This symbol will be defined if the C compiler supports long long.
1915 */
1916/* LONGLONGSIZE:
1917 * This symbol contains the size of a long long, so that the
1918 * C preprocessor can make decisions based on it. It is only
1919 * defined if the system supports long long.
1920 */
1921/*#define HAS_LONG_LONG / **/
1922#ifdef HAS_LONG_LONG
1923#define LONGLONGSIZE 8 /**/
1924#endif
3ebb1980 1925
a838cfe5
JH
1926/* HAS_LSEEK_PROTO:
1927 * This symbol, if defined, indicates that the system provides
1928 * a prototype for the lseek() function. Otherwise, it is up
1929 * to the program to supply one. A good guess is
1930 * extern off_t lseek(int, off_t, int);
3ebb1980 1931 */
a838cfe5 1932/*#define HAS_LSEEK_PROTO / **/
3ebb1980
JH
1933
1934/* HAS_MADVISE:
1935 * This symbol, if defined, indicates that the madvise system call is
1936 * available to map a file into memory.
1937 */
1938/*#define HAS_MADVISE / **/
1939
a838cfe5
JH
1940/* HAS_MEMCHR:
1941 * This symbol, if defined, indicates that the memchr routine is available
1942 * to locate characters within a C string.
1943 */
1944/*#define HAS_MEMCHR / **/
1945
3ebb1980
JH
1946/* HAS_MKDTEMP:
1947 * This symbol, if defined, indicates that the mkdtemp routine is
1948 * available to exclusively create a uniquely named temporary directory.
1949 */
1950/*#define HAS_MKDTEMP / **/
1951
a838cfe5
JH
1952/* HAS_MKSTEMP:
1953 * This symbol, if defined, indicates that the mkstemp routine is
1954 * available to exclusively create and open a uniquely named
1955 * temporary file.
1956 */
1957/*#define HAS_MKSTEMP / **/
1958
3ebb1980
JH
1959/* HAS_MKSTEMPS:
1960 * This symbol, if defined, indicates that the mkstemps routine is
1961 * available to excluslvely create and open a uniquely named
1962 * (with a suffix) temporary file.
1963 */
1964/*#define HAS_MKSTEMPS / **/
1965
a838cfe5
JH
1966/* HAS_MMAP:
1967 * This symbol, if defined, indicates that the mmap system call is
1968 * available to map a file into memory.
1969 */
1970/* Mmap_t:
1971 * This symbol holds the return type of the mmap() system call
1972 * (and simultaneously the type of the first argument).
1973 * Usually set to 'void *' or 'cadd_t'.
1974 */
1975/*#define HAS_MMAP / **/
1976#define Mmap_t /**/
1977
3ebb1980
JH
1978/* HAS_MODFL:
1979 * This symbol, if defined, indicates that the modfl routine is
1980 * available to split a long double x into a fractional part f and
1981 * an integer part i such that |f| < 1.0 and (f + i) = x.
1982 */
530ffa68
JH
1983/* HAS_MODFL_PROTO:
1984 * This symbol, if defined, indicates that the system provides
1985 * a prototype for the modfl() function. Otherwise, it is up
1986 * to the program to supply one.
1987 */
e67aeab1
JH
1988/* HAS_MODFL_POW32_BUG:
1989 * This symbol, if defined, indicates that the modfl routine is
1990 * broken for long doubles >= pow(2, 32).
1991 * For example from 4294967303.150000 one would get 4294967302.000000
1992 * and 1.150000. The bug has been seen in certain versions of glibc,
1993 * release 2.2.2 is known to be okay.
1994 */
3ebb1980 1995/*#define HAS_MODFL / **/
530ffa68 1996/*#define HAS_MODFL_PROTO / **/
e67aeab1 1997/*#define HAS_MODFL_POW32_BUG / **/
3ebb1980
JH
1998
1999/* HAS_MPROTECT:
2000 * This symbol, if defined, indicates that the mprotect system call is
2001 * available to modify the access protection of a memory mapped file.
2002 */
2003/*#define HAS_MPROTECT / **/
2004
a838cfe5
JH
2005/* HAS_MSG:
2006 * This symbol, if defined, indicates that the entire msg*(2) library is
2007 * supported (IPC mechanism based on message queues).
2008 */
2009/*#define HAS_MSG / **/
2010
4e0554ec
JH
2011/* HAS_STRUCT_MSGHDR:
2012 * This symbol, if defined, indicates that the struct msghdr
2013 * is supported.
2014 */
2015/*#define HAS_STRUCT_MSGHDR / **/
2016
530ffa68
JH
2017/* HAS_NANOSLEEP:
2018 * This symbol, if defined, indicates that the nanosleep
2019 * system call is available to sleep with 1E-9 sec accuracy.
2020 */
2021/*#define HAS_NANOSLEEP / **/
2022
3ebb1980
JH
2023/* HAS_OFF64_T:
2024 * This symbol will be defined if the C compiler supports off64_t.
2025 */
2026/*#define HAS_OFF64_T / **/
2027
a838cfe5
JH
2028/* HAS_OPEN3:
2029 * This manifest constant lets the C program know that the three
2030 * argument form of open(2) is available.
2031 */
2032/*#define HAS_OPEN3 / **/
2033
2034/* OLD_PTHREAD_CREATE_JOINABLE:
2035 * This symbol, if defined, indicates how to create pthread
2036 * in joinable (aka undetached) state. NOTE: not defined
2037 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2038 * (the new version of the constant).
2039 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2040 * and __UNDETACHED.
2041 */
2042/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2043
2044/* HAS_PTHREAD_YIELD:
2045 * This symbol, if defined, indicates that the pthread_yield
2046 * routine is available to yield the execution of the current
2047 * thread. sched_yield is preferable to pthread_yield.
2048 */
2049/* SCHED_YIELD:
2050 * This symbol defines the way to yield the execution of
2051 * the current thread. Known ways are sched_yield,
2052 * pthread_yield, and pthread_yield with NULL.
2053 */
2054/* HAS_SCHED_YIELD:
2055 * This symbol, if defined, indicates that the sched_yield
2056 * routine is available to yield the execution of the current
2057 * thread. sched_yield is preferable to pthread_yield.
2058 */
2059/*#define HAS_PTHREAD_YIELD / **/
2060#define SCHED_YIELD sched_yield() /**/
2061/*#define HAS_SCHED_YIELD / **/
2062
10bc17b6
JH
2063/* HAS_RANDOM_R:
2064 * This symbol, if defined, indicates that the random_r routine
2065 * is available to random re-entrantly.
2066 */
2067/* RANDOM_R_PROTO:
2068 * This symbol encodes the prototype of random_r.
298695c9
JH
2069 * It is zero if d_random_r is undef, and one of the
2070 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2071 * is defined.
10bc17b6
JH
2072 */
2073/*#define HAS_RANDOM_R / **/
2074#define RANDOM_R_PROTO 0 /**/
2075
2076/* HAS_READDIR_R:
2077 * This symbol, if defined, indicates that the readdir_r routine
2078 * is available to readdir re-entrantly.
2079 */
2080/* READDIR_R_PROTO:
2081 * This symbol encodes the prototype of readdir_r.
298695c9
JH
2082 * It is zero if d_readdir_r is undef, and one of the
2083 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2084 * is defined.
10bc17b6
JH
2085 */
2086/*#define HAS_READDIR_R / **/
2087#define READDIR_R_PROTO 0 /**/
2088
4e0554ec
JH
2089/* HAS_READV:
2090 * This symbol, if defined, indicates that the readv routine is
2091 * available to do gather reads. You will also need <sys/uio.h>
2092 * and there I_SYSUIO.
2093 */
2094/*#define HAS_READV / **/
2095
2096/* HAS_RECVMSG:
2097 * This symbol, if defined, indicates that the recvmsg routine is
2098 * available to send structured socket messages.
2099 */
2100/*#define HAS_RECVMSG / **/
2101
a838cfe5
JH
2102/* HAS_SAFE_BCOPY:
2103 * This symbol, if defined, indicates that the bcopy routine is available
2104 * to copy potentially overlapping memory blocks. Normally, you should
2105 * probably use memmove() or memcpy(). If neither is defined, roll your
2106 * own version.
2107 */
2108/*#define HAS_SAFE_BCOPY / **/
2109
2110/* HAS_SAFE_MEMCPY:
2111 * This symbol, if defined, indicates that the memcpy routine is available
2112 * to copy potentially overlapping memory blocks. If you need to
2113 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2114 * use memmove() instead, if available.
2115 */
2116/*#define HAS_SAFE_MEMCPY / **/
2117
2118/* HAS_SANE_MEMCMP:
2119 * This symbol, if defined, indicates that the memcmp routine is available
2120 * and can be used to compare relative magnitudes of chars with their high
2121 * bits set. If it is not defined, roll your own version.
2122 */
2123/*#define HAS_SANE_MEMCMP / **/
2124
a7fea17f
JH
2125/* HAS_SBRK_PROTO:
2126 * This symbol, if defined, indicates that the system provides
2127 * a prototype for the sbrk() function. Otherwise, it is up
2128 * to the program to supply one. Good guesses are
c68a00c0
JH
2129 * extern void* sbrk(int);
2130 * extern void* sbrk(size_t);
a7fea17f 2131 */
a838cfe5
JH
2132/*#define HAS_SBRK_PROTO / **/
2133
2134/* HAS_SEM:
2135 * This symbol, if defined, indicates that the entire sem*(2) library is
2136 * supported.
2137 */
2138/*#define HAS_SEM / **/
2139
2140/* HAS_SENDMSG:
2141 * This symbol, if defined, indicates that the sendmsg routine is
2142 * available to send structured socket messages.
2143 */
2144/*#define HAS_SENDMSG / **/
2145
2146/* HAS_SETGRENT:
2147 * This symbol, if defined, indicates that the setgrent routine is
2148 * available for initializing sequential access of the group database.
2149 */
2150/*#define HAS_SETGRENT / **/
2151
10bc17b6
JH
2152/* HAS_SETGRENT_R:
2153 * This symbol, if defined, indicates that the setgrent_r routine
2154 * is available to setgrent re-entrantly.
2155 */
2156/* SETGRENT_R_PROTO:
2157 * This symbol encodes the prototype of setgrent_r.
298695c9
JH
2158 * It is zero if d_setgrent_r is undef, and one of the
2159 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2160 * is defined.
10bc17b6
JH
2161 */
2162/*#define HAS_SETGRENT_R / **/
2163#define SETGRENT_R_PROTO 0 /**/
2164
a838cfe5
JH
2165/* HAS_SETGROUPS:
2166 * This symbol, if defined, indicates that the setgroups() routine is
2167 * available to set the list of process groups. If unavailable, multiple
2168 * groups are probably not supported.
2169 */
2170/*#define HAS_SETGROUPS / **/
2171
2172/* HAS_SETHOSTENT:
2173 * This symbol, if defined, indicates that the sethostent() routine is
2174 * available.
2175 */
2176/*#define HAS_SETHOSTENT / **/
2177
2178/* HAS_SETITIMER:
2179 * This symbol, if defined, indicates that the setitimer routine is
2180 * available to set interval timers.
2181 */
2182/*#define HAS_SETITIMER / **/
2183
2184/* HAS_SETNETENT:
2185 * This symbol, if defined, indicates that the setnetent() routine is
2186 * available.
2187 */
2188/*#define HAS_SETNETENT / **/
2189
2190/* HAS_SETPROTOENT:
2191 * This symbol, if defined, indicates that the setprotoent() routine is
2192 * available.
2193 */
2194/*#define HAS_SETPROTOENT / **/
2195
2196/* HAS_SETPGRP:
2197 * This symbol, if defined, indicates that the setpgrp routine is
2198 * available to set the current process group.
2199 */
2200/* USE_BSD_SETPGRP:
2201 * This symbol, if defined, indicates that setpgrp needs two
2202 * arguments whereas USG one needs none. See also HAS_SETPGID
2203 * for a POSIX interface.
2204 */
2205/*#define HAS_SETPGRP / **/
2206/*#define USE_BSD_SETPGRP / **/
2207
2208/* HAS_SETPROCTITLE:
2209 * This symbol, if defined, indicates that the setproctitle routine is
2210 * available to set process title.
2211 */
2212/*#define HAS_SETPROCTITLE / **/
2213
2214/* HAS_SETPWENT:
2215 * This symbol, if defined, indicates that the setpwent routine is
2216 * available for initializing sequential access of the passwd database.
2217 */
2218/*#define HAS_SETPWENT / **/
2219
10bc17b6
JH
2220/* HAS_SETPWENT_R:
2221 * This symbol, if defined, indicates that the setpwent_r routine
2222 * is available to setpwent re-entrantly.
2223 */
2224/* SETPWENT_R_PROTO:
2225 * This symbol encodes the prototype of setpwent_r.
298695c9
JH
2226 * It is zero if d_setpwent_r is undef, and one of the
2227 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2228 * is defined.
10bc17b6
JH
2229 */
2230/*#define HAS_SETPWENT_R / **/
2231#define SETPWENT_R_PROTO 0 /**/
2232
a838cfe5
JH
2233/* HAS_SETSERVENT:
2234 * This symbol, if defined, indicates that the setservent() routine is
2235 * available.
2236 */
2237/*#define HAS_SETSERVENT / **/
2238
2239/* HAS_SETVBUF:
2240 * This symbol, if defined, indicates that the setvbuf routine is
2241 * available to change buffering on an open stdio stream.
2242 * to a line-buffered mode.
2243 */
2244/*#define HAS_SETVBUF / **/
2245
2246/* USE_SFIO:
2247 * This symbol, if defined, indicates that sfio should
2248 * be used.
2249 */
2250/*#define USE_SFIO / **/
2251
2252/* HAS_SHM:
2253 * This symbol, if defined, indicates that the entire shm*(2) library is
2254 * supported.
2255 */
2256/*#define HAS_SHM / **/
2257
2258/* HAS_SIGACTION:
2259 * This symbol, if defined, indicates that Vr4's sigaction() routine
2260 * is available.
2261 */
2262/*#define HAS_SIGACTION / **/
2263
2264/* HAS_SIGSETJMP:
2265 * This variable indicates to the C program that the sigsetjmp()
2266 * routine is available to save the calling process's registers
2267 * and stack environment for later use by siglongjmp(), and
2268 * to optionally save the process's signal mask. See
2269 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2270 */
2271/* Sigjmp_buf:
2272 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2273 */
2274/* Sigsetjmp:
2275 * This macro is used in the same way as sigsetjmp(), but will invoke
2276 * traditional setjmp() if sigsetjmp isn't available.
2277 * See HAS_SIGSETJMP.
2278 */
2279/* Siglongjmp:
2280 * This macro is used in the same way as siglongjmp(), but will invoke
2281 * traditional longjmp() if siglongjmp isn't available.
2282 * See HAS_SIGSETJMP.
2283 */
2284/*#define HAS_SIGSETJMP / **/
2285#ifdef HAS_SIGSETJMP
2286#define Sigjmp_buf sigjmp_buf
2287#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2288#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2289#else
2290#define Sigjmp_buf jmp_buf
2291#define Sigsetjmp(buf,save_mask) setjmp((buf))
2292#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2293#endif
2294
2295/* HAS_SOCKET:
2296 * This symbol, if defined, indicates that the BSD socket interface is
2297 * supported.
2298 */
2299/* HAS_SOCKETPAIR:
2300 * This symbol, if defined, indicates that the BSD socketpair() call is
2301 * supported.
3ebb1980 2302 */
a838cfe5
JH
2303/* HAS_MSG_CTRUNC:
2304 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2305 * Checking just with #ifdef might not be enough because this symbol
2306 * has been known to be an enum.
3ebb1980 2307 */
a838cfe5
JH
2308/* HAS_MSG_DONTROUTE:
2309 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2310 * Checking just with #ifdef might not be enough because this symbol
2311 * has been known to be an enum.
3ebb1980 2312 */
a838cfe5
JH
2313/* HAS_MSG_OOB:
2314 * This symbol, if defined, indicates that the MSG_OOB is supported.
2315 * Checking just with #ifdef might not be enough because this symbol
2316 * has been known to be an enum.
3ebb1980 2317 */
a838cfe5
JH
2318/* HAS_MSG_PEEK:
2319 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2320 * Checking just with #ifdef might not be enough because this symbol
2321 * has been known to be an enum.
3ebb1980 2322 */
a838cfe5
JH
2323/* HAS_MSG_PROXY:
2324 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2325 * Checking just with #ifdef might not be enough because this symbol
2326 * has been known to be an enum.
3ebb1980 2327 */
a838cfe5
JH
2328/* HAS_SCM_RIGHTS:
2329 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2330 * Checking just with #ifdef might not be enough because this symbol
2331 * has been known to be an enum.
3ebb1980 2332 */
a838cfe5
JH
2333/*#define HAS_SOCKET / **/
2334/*#define HAS_SOCKETPAIR / **/
2335/*#define HAS_MSG_CTRUNC / **/
2336/*#define HAS_MSG_DONTROUTE / **/
2337/*#define HAS_MSG_OOB / **/
2338/*#define HAS_MSG_PEEK / **/
2339/*#define HAS_MSG_PROXY / **/
2340/*#define HAS_SCM_RIGHTS / **/
3ebb1980 2341
1b9c9cf5
DH
2342/* HAS_SOCKS5_INIT:
2343 * This symbol, if defined, indicates that the socks5_init routine is
2344 * available to initialize SOCKS 5.
2345 */
2346/*#define HAS_SOCKS5_INIT / **/
2347
3ebb1980
JH
2348/* HAS_SQRTL:
2349 * This symbol, if defined, indicates that the sqrtl routine is
2350 * available to do long double square roots.
2351 */
2352/*#define HAS_SQRTL / **/
2353
10bc17b6
JH
2354/* HAS_SRAND48_R:
2355 * This symbol, if defined, indicates that the srand48_r routine
2356 * is available to srand48 re-entrantly.
2357 */
2358/* SRAND48_R_PROTO:
2359 * This symbol encodes the prototype of srand48_r.
298695c9
JH
2360 * It is zero if d_srand48_r is undef, and one of the
2361 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2362 * is defined.
10bc17b6
JH
2363 */
2364/*#define HAS_SRAND48_R / **/
2365#define SRAND48_R_PROTO 0 /**/
2366
2367/* HAS_SRANDOM_R:
2368 * This symbol, if defined, indicates that the srandom_r routine
2369 * is available to srandom re-entrantly.
2370 */
2371/* SRANDOM_R_PROTO:
2372 * This symbol encodes the prototype of srandom_r.
298695c9
JH
2373 * It is zero if d_srandom_r is undef, and one of the
2374 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2375 * is defined.
10bc17b6
JH
2376 */
2377/*#define HAS_SRANDOM_R / **/
2378#define SRANDOM_R_PROTO 0 /**/
2379
a838cfe5
JH
2380/* USE_STAT_BLOCKS:
2381 * This symbol is defined if this system has a stat structure declaring
2382 * st_blksize and st_blocks.
e9a8643a 2383 */
a838cfe5
JH
2384#ifndef USE_STAT_BLOCKS
2385/*#define USE_STAT_BLOCKS / **/
2386#endif
3ebb1980
JH
2387
2388/* HAS_STRUCT_STATFS_F_FLAGS:
2389 * This symbol, if defined, indicates that the struct statfs
2390 * does have the f_flags member containing the mount flags of
2391 * the filesystem containing the file.
2392 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2393 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2394 * have statfs() and struct statfs, they have ustat() and getmnt()
2395 * with struct ustat and struct fs_data.
2396 */
2397/*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2398
2399/* HAS_STRUCT_STATFS:
2400 * This symbol, if defined, indicates that the struct statfs
2401 * to do statfs() is supported.
2402 */
2403/*#define HAS_STRUCT_STATFS / **/
2404
2405/* HAS_FSTATVFS:
2406 * This symbol, if defined, indicates that the fstatvfs routine is
2407 * available to stat filesystems by file descriptors.
2408 */
2409/*#define HAS_FSTATVFS / **/
2410
a838cfe5
JH
2411/* USE_STDIO_PTR:
2412 * This symbol is defined if the _ptr and _cnt fields (or similar)
2413 * of the stdio FILE structure can be used to access the stdio buffer
2414 * for a file handle. If this is defined, then the FILE_ptr(fp)
2415 * and FILE_cnt(fp) macros will also be defined and should be used
2416 * to access these fields.
3ebb1980 2417 */
a838cfe5
JH
2418/* FILE_ptr:
2419 * This macro is used to access the _ptr field (or equivalent) of the
2420 * FILE structure pointed to by its argument. This macro will always be
2421 * defined if USE_STDIO_PTR is defined.
2422 */
2423/* STDIO_PTR_LVALUE:
2424 * This symbol is defined if the FILE_ptr macro can be used as an
2425 * lvalue.
2426 */
2427/* FILE_cnt:
2428 * This macro is used to access the _cnt field (or equivalent) of the
2429 * FILE structure pointed to by its argument. This macro will always be
2430 * defined if USE_STDIO_PTR is defined.
2431 */
2432/* STDIO_CNT_LVALUE:
2433 * This symbol is defined if the FILE_cnt macro can be used as an
2434 * lvalue.
2435 */
2436/* STDIO_PTR_LVAL_SETS_CNT:
2437 * This symbol is defined if using the FILE_ptr macro as an lvalue
2438 * to increase the pointer by n has the side effect of decreasing the
2439 * value of File_cnt(fp) by n.
2440 */
2441/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2442 * This symbol is defined if using the FILE_ptr macro as an lvalue
2443 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2444 */
2445/*#define USE_STDIO_PTR / **/
2446#ifdef USE_STDIO_PTR
2447#define FILE_ptr(fp) ((fp)->_IO_read_ptr)
2448/*#define STDIO_PTR_LVALUE / **/
2449#define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
2450/*#define STDIO_CNT_LVALUE / **/
2451/*#define STDIO_PTR_LVAL_SETS_CNT / **/
2452/*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
2453#endif
2454
2455/* USE_STDIO_BASE:
2456 * This symbol is defined if the _base field (or similar) of the
2457 * stdio FILE structure can be used to access the stdio buffer for
2458 * a file handle. If this is defined, then the FILE_base(fp) macro
2459 * will also be defined and should be used to access this field.
2460 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2461 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2462 * will never be defined unless USE_STDIO_PTR is.
2463 */
2464/* FILE_base:
2465 * This macro is used to access the _base field (or equivalent) of the
2466 * FILE structure pointed to by its argument. This macro will always be
2467 * defined if USE_STDIO_BASE is defined.
2468 */
2469/* FILE_bufsiz:
2470 * This macro is used to determine the number of bytes in the I/O
2471 * buffer pointed to by _base field (or equivalent) of the FILE
2472 * structure pointed to its argument. This macro will always be defined
2473 * if USE_STDIO_BASE is defined.
2474 */
2475/*#define USE_STDIO_BASE / **/
2476#ifdef USE_STDIO_BASE
2477#define FILE_base(fp) ((fp)->_IO_read_base)
2478#define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
2479#endif
2480
2481/* HAS_STRERROR:
2482 * This symbol, if defined, indicates that the strerror routine is
2483 * available to translate error numbers to strings. See the writeup
2484 * of Strerror() in this file before you try to define your own.
2485 */
2486/* HAS_SYS_ERRLIST:
2487 * This symbol, if defined, indicates that the sys_errlist array is
2488 * available to translate error numbers to strings. The extern int
2489 * sys_nerr gives the size of that table.
2490 */
2491/* Strerror:
2492 * This preprocessor symbol is defined as a macro if strerror() is
2493 * not available to translate error numbers to strings but sys_errlist[]
2494 * array is there.
2495 */
2496/*#define HAS_STRERROR / **/
2497/*#define HAS_SYS_ERRLIST / **/
2498#define Strerror(e) strerror(e)
3ebb1980 2499
10bc17b6
JH
2500/* HAS_STRERROR_R:
2501 * This symbol, if defined, indicates that the strerror_r routine
2502 * is available to strerror re-entrantly.
2503 */
2504/* STRERROR_R_PROTO:
2505 * This symbol encodes the prototype of strerror_r.
298695c9
JH
2506 * It is zero if d_strerror_r is undef, and one of the
2507 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2508 * is defined.
10bc17b6
JH
2509 */
2510/*#define HAS_STRERROR_R / **/
2511#define STRERROR_R_PROTO 0 /**/
2512
3ebb1980
JH
2513/* HAS_STRTOLD:
2514 * This symbol, if defined, indicates that the strtold routine is
2515 * available to convert strings to long doubles.
2516 */
2517/*#define HAS_STRTOLD / **/
2518
2519/* HAS_STRTOLL:
2520 * This symbol, if defined, indicates that the strtoll routine is
2521 * available to convert strings to long longs.
2522 */
2523/*#define HAS_STRTOLL / **/
2524
d0e6d399
NC
2525/* HAS_STRTOQ:
2526 * This symbol, if defined, indicates that the strtoq routine is
2527 * available to convert strings to long longs (quads).
2528 */
ef71a6f5 2529/*#define HAS_STRTOQ / **/
28e5dec8 2530
a838cfe5
JH
2531/* HAS_STRTOUL:
2532 * This symbol, if defined, indicates that the strtoul routine is
2533 * available to provide conversion of strings to unsigned long.
2534 */
2535/*#define HAS_STRTOUL / **/
2536
3ebb1980
JH
2537/* HAS_STRTOULL:
2538 * This symbol, if defined, indicates that the strtoull routine is
2539 * available to convert strings to unsigned long longs.
2540 */
2541/*#define HAS_STRTOULL / **/
2542
2543/* HAS_STRTOUQ:
2544 * This symbol, if defined, indicates that the strtouq routine is
2545 * available to convert strings to unsigned long longs (quads).
2546 */
2547/*#define HAS_STRTOUQ / **/
2548
2549/* HAS_TELLDIR_PROTO:
2550 * This symbol, if defined, indicates that the system provides
2551 * a prototype for the telldir() function. Otherwise, it is up
2552 * to the program to supply one. A good guess is
c68a00c0 2553 * extern long telldir(DIR*);
3ebb1980
JH
2554 */
2555/*#define HAS_TELLDIR_PROTO / **/
2556
089ffa16
JH
2557/* HAS_TIME:
2558 * This symbol, if defined, indicates that the time() routine exists.
2559 */
a838cfe5
JH
2560/* Time_t:
2561 * This symbol holds the type returned by time(). It can be long,
2562 * or time_t on BSD sites (in which case <sys/types.h> should be
2563 * included).
3ebb1980 2564 */
089ffa16
JH
2565#define HAS_TIME /**/
2566#define Time_t time_t /* Time type */
a838cfe5
JH
2567
2568/* HAS_TIMES:
2569 * This symbol, if defined, indicates that the times() routine exists.
2570 * Note that this became obsolete on some systems (SUNOS), which now
2571 * use getrusage(). It may be necessary to include <sys/times.h>.
2572 */
2573/*#define HAS_TIMES / **/
3ebb1980 2574
10bc17b6
JH
2575/* HAS_TMPNAM_R:
2576 * This symbol, if defined, indicates that the tmpnam_r routine
2577 * is available to tmpnam re-entrantly.
2578 */
2579/* TMPNAM_R_PROTO:
2580 * This symbol encodes the prototype of tmpnam_r.
298695c9
JH
2581 * It is zero if d_tmpnam_r is undef, and one of the
2582 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2583 * is defined.
10bc17b6
JH
2584 */
2585/*#define HAS_TMPNAM_R / **/
2586#define TMPNAM_R_PROTO 0 /**/
2587
4e0554ec
JH
2588/* HAS_UALARM:
2589 * This symbol, if defined, indicates that the ualarm routine is
2590 * available to do alarms with microsecond granularity.
2591 */
2592/*#define HAS_UALARM / **/
2593
a838cfe5
JH
2594/* HAS_UNION_SEMUN:
2595 * This symbol, if defined, indicates that the union semun is
2596 * defined by including <sys/sem.h>. If not, the user code
2597 * probably needs to define it as:
2598 * union semun {
2599 * int val;
2600 * struct semid_ds *buf;
2601 * unsigned short *array;
2602 * }
2603 */
2604/* USE_SEMCTL_SEMUN:
2605 * This symbol, if defined, indicates that union semun is
2606 * used for semctl IPC_STAT.
2607 */
2608/* USE_SEMCTL_SEMID_DS:
2609 * This symbol, if defined, indicates that struct semid_ds * is
2610 * used for semctl IPC_STAT.
2611 */
2612/*#define HAS_UNION_SEMUN / **/
2613/*#define USE_SEMCTL_SEMUN / **/
2614/*#define USE_SEMCTL_SEMID_DS / **/
2615
758a5d79
JH
2616/* HAS_UNORDERED:
2617 * This symbol, if defined, indicates that the unordered routine is
2618 * available to check whether two doubles are unordered
2619 * (effectively: whether either of them is NaN)
2620 */
2621/*#define HAS_UNORDERED / **/
2622
a838cfe5
JH
2623/* HAS_USTAT:
2624 * This symbol, if defined, indicates that the ustat system call is
2625 * available to query file system statistics by dev_t.
2626 */
2627/*#define HAS_USTAT / **/
2628
2629/* HAS_VFORK:
2630 * This symbol, if defined, indicates that vfork() exists.
2631 */
2632/*#define HAS_VFORK / **/
2633
2634/* Signal_t:
2635 * This symbol's value is either "void" or "int", corresponding to the
2636 * appropriate return type of a signal handler. Thus, you can declare
2637 * a signal handler using "Signal_t (*handler)()", and define the
2638 * handler using "Signal_t handler(sig)".
3ebb1980 2639 */
a838cfe5 2640#define Signal_t int /* Signal handler's return type */
e9a8643a 2641
a838cfe5
JH
2642/* HAS_VPRINTF:
2643 * This symbol, if defined, indicates that the vprintf routine is available
2644 * to printf with a pointer to an argument list. If unavailable, you
2645 * may need to write your own, probably in terms of _doprnt().
3ebb1980 2646 */
a838cfe5
JH
2647/* USE_CHAR_VSPRINTF:
2648 * This symbol is defined if this system has vsprintf() returning type
2649 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2650 * is up to the package author to declare vsprintf correctly based on the
2651 * symbol.
2652 */
2653#define HAS_VPRINTF /**/
2654/*#define USE_CHAR_VSPRINTF / **/
3ebb1980 2655
4e0554ec
JH
2656/* HAS_WRITEV:
2657 * This symbol, if defined, indicates that the writev routine is
2658 * available to do scatter writes.
2659 */
2660/*#define HAS_WRITEV / **/
2661
3ebb1980
JH
2662/* USE_DYNAMIC_LOADING:
2663 * This symbol, if defined, indicates that dynamic loading of
2664 * some sort is available.
2665 */
2666/*#define USE_DYNAMIC_LOADING / **/
2667
a838cfe5
JH
2668/* DOUBLESIZE:
2669 * This symbol contains the size of a double, so that the C preprocessor
2670 * can make decisions based on it.
2671 */
2672#define DOUBLESIZE 8 /**/
2673
2674/* EBCDIC:
2675 * This symbol, if defined, indicates that this system uses
2676 * EBCDIC encoding.
2677 */
2678/*#define EBCDIC / **/
2679
3ebb1980
JH
2680/* FFLUSH_NULL:
2681 * This symbol, if defined, tells that fflush(NULL) does flush
2682 * all pending stdio output.
2683 */
2684/* FFLUSH_ALL:
2685 * This symbol, if defined, tells that to flush
2686 * all pending stdio output one must loop through all
2687 * the stdio file handles stored in an array and fflush them.
2688 * Note that if fflushNULL is defined, fflushall will not
2689 * even be probed for and will be left undefined.
2690 */
2691/*#define FFLUSH_NULL / **/
2692/*#define FFLUSH_ALL / **/
2693
a838cfe5
JH
2694/* Fpos_t:
2695 * This symbol holds the type used to declare file positions in libc.
2696 * It can be fpos_t, long, uint, etc... It may be necessary to include
2697 * <sys/types.h> to get any typedef'ed information.
2698 */
2699#define Fpos_t int /* File position type */
2700
2701/* Gid_t_f:
2702 * This symbol defines the format string used for printing a Gid_t.
2703 */
2704#define Gid_t_f "lu" /**/
2705
2706/* Gid_t_sign:
2707 * This symbol holds the signedess of a Gid_t.
2708 * 1 for unsigned, -1 for signed.
2709 */
2710#define Gid_t_sign 1 /* GID sign */
2711
2712/* Gid_t_size:
2713 * This symbol holds the size of a Gid_t in bytes.
2714 */
2715#define Gid_t_size 4 /* GID size */
2716
2717/* Gid_t:
2718 * This symbol holds the return type of getgid() and the type of
2719 * argument to setrgid() and related functions. Typically,
2720 * it is the type of group ids in the kernel. It can be int, ushort,
2721 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2722 * any typedef'ed information.
2723 */
2724#define Gid_t int /* Type for getgid(), etc... */
2725
2726/* Groups_t:
2727 * This symbol holds the type used for the second argument to
2728 * getgroups() and setgroups(). Usually, this is the same as
2729 * gidtype (gid_t) , but sometimes it isn't.
2730 * It can be int, ushort, gid_t, etc...
2731 * It may be necessary to include <sys/types.h> to get any
2732 * typedef'ed information. This is only required if you have
2733 * getgroups() or setgroups()..
2734 */
2735#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2736#define Groups_t int /* Type for 2nd arg to [sg]etgroups() */
2737#endif
2738
3ebb1980
JH
2739/* DB_Prefix_t:
2740 * This symbol contains the type of the prefix structure element
2741 * in the <db.h> header file. In older versions of DB, it was
2742 * int, while in newer ones it is u_int32_t.
2743 */
2744/* DB_Hash_t:
2745 * This symbol contains the type of the prefix structure element
2746 * in the <db.h> header file. In older versions of DB, it was
2747 * int, while in newer ones it is size_t.
2748 */
640374d0
JH
2749/* DB_VERSION_MAJOR_CFG:
2750 * This symbol, if defined, defines the major version number of
2751 * Berkeley DB found in the <db.h> header when Perl was configured.
2752 */
2753/* DB_VERSION_MINOR_CFG:
2754 * This symbol, if defined, defines the minor version number of
2755 * Berkeley DB found in the <db.h> header when Perl was configured.
2756 * For DB version 1 this is always 0.
2757 */
2758/* DB_VERSION_PATCH_CFG:
2759 * This symbol, if defined, defines the patch version number of
2760 * Berkeley DB found in the <db.h> header when Perl was configured.
2761 * For DB version 1 this is always 0.
2762 */
3ebb1980
JH
2763#define DB_Hash_t u_int32_t /**/
2764#define DB_Prefix_t size_t /**/
640374d0
JH
2765#define DB_VERSION_MAJOR_CFG /**/
2766#define DB_VERSION_MINOR_CFG /**/
2767#define DB_VERSION_PATCH_CFG /**/
3ebb1980 2768
758a5d79
JH
2769/* I_FP_CLASS:
2770 * This symbol, if defined, indicates that <fp_class.h> exists and
2771 * should be included.
2772 */
2773/*#define I_FP_CLASS / **/
2774
a838cfe5
JH
2775/* I_GRP:
2776 * This symbol, if defined, indicates to the C program that it should
2777 * include <grp.h>.
2778 */
2779/* GRPASSWD:
2780 * This symbol, if defined, indicates to the C program that struct group
2781 * in <grp.h> contains gr_passwd.
2782 */
2783/*#define I_GRP / **/
2784/*#define GRPASSWD / **/
2785
3ebb1980
JH
2786/* I_IEEEFP:
2787 * This symbol, if defined, indicates that <ieeefp.h> exists and
2788 * should be included.
2789 */
2790/*#define I_IEEEFP / **/
2791
2792/* I_INTTYPES:
2793 * This symbol, if defined, indicates to the C program that it should
2794 * include <inttypes.h>.
2795 */
2796/*#define I_INTTYPES / **/
2797
1b9c9cf5
DH
2798/* I_LIBUTIL:
2799 * This symbol, if defined, indicates that <libutil.h> exists and
2800 * should be included.
2801 */
2802/*#define I_LIBUTIL / **/
2803
a838cfe5
JH
2804/* I_MACH_CTHREADS:
2805 * This symbol, if defined, indicates to the C program that it should
2806 * include <mach/cthreads.h>.
2807 */
2808/*#define I_MACH_CTHREADS / **/
2809
3ebb1980
JH
2810/* I_MNTENT:
2811 * This symbol, if defined, indicates that <mntent.h> exists and
2812 * should be included.
2813 */
2814/*#define I_MNTENT / **/
2815
a838cfe5
JH
2816/* I_NETDB:
2817 * This symbol, if defined, indicates that <netdb.h> exists and
2818 * should be included.
2819 */
2820/*#define I_NETDB / **/
2821
3ebb1980
JH
2822/* I_NETINET_TCP:
2823 * This symbol, if defined, indicates to the C program that it should
2824 * include <netinet/tcp.h>.
2825 */
2826/*#define I_NETINET_TCP / **/
2827
2828/* I_POLL:
2829 * This symbol, if defined, indicates that <poll.h> exists and
2830 * should be included.
2831 */
2832/*#define I_POLL / **/
2833
2834/* I_PROT:
2835 * This symbol, if defined, indicates that <prot.h> exists and
2836 * should be included.
2837 */
2838/*#define I_PROT / **/
2839
a838cfe5
JH
2840/* I_PTHREAD:
2841 * This symbol, if defined, indicates to the C program that it should
2842 * include <pthread.h>.
2843 */
2844/*#define I_PTHREAD / **/
2845
2846/* I_PWD:
2847 * This symbol, if defined, indicates to the C program that it should
2848 * include <pwd.h>.
2849 */
2850/* PWQUOTA:
2851 * This symbol, if defined, indicates to the C program that struct passwd
2852 * contains pw_quota.
2853 */
2854/* PWAGE:
2855 * This symbol, if defined, indicates to the C program that struct passwd
2856 * contains pw_age.
2857 */
2858/* PWCHANGE:
2859 * This symbol, if defined, indicates to the C program that struct passwd
2860 * contains pw_change.
2861 */
2862/* PWCLASS:
2863 * This symbol, if defined, indicates to the C program that struct passwd
2864 * contains pw_class.
2865 */
2866/* PWEXPIRE:
2867 * This symbol, if defined, indicates to the C program that struct passwd
2868 * contains pw_expire.
2869 */
2870/* PWCOMMENT:
2871 * This symbol, if defined, indicates to the C program that struct passwd
2872 * contains pw_comment.
2873 */
2874/* PWGECOS:
2875 * This symbol, if defined, indicates to the C program that struct passwd
2876 * contains pw_gecos.
2877 */
2878/* PWPASSWD:
2879 * This symbol, if defined, indicates to the C program that struct passwd
2880 * contains pw_passwd.
2881 */
2882/*#define I_PWD / **/
2883/*#define PWQUOTA / **/
2884/*#define PWAGE / **/
2885/*#define PWCHANGE / **/
2886/*#define PWCLASS / **/
2887/*#define PWEXPIRE / **/
2888/*#define PWCOMMENT / **/
2889/*#define PWGECOS / **/
2890/*#define PWPASSWD / **/
2891
3ebb1980
JH
2892/* I_SHADOW:
2893 * This symbol, if defined, indicates that <shadow.h> exists and
2894 * should be included.
2895 */
2896/*#define I_SHADOW / **/
2897
2898/* I_SOCKS:
2899 * This symbol, if defined, indicates that <socks.h> exists and
2900 * should be included.
2901 */
2902/*#define I_SOCKS / **/
2903
2904/* I_SUNMATH:
2905 * This symbol, if defined, indicates that <sunmath.h> exists and
2906 * should be included.
2907 */
2908/*#define I_SUNMATH / **/
2909
2910/* I_SYSLOG:
2911 * This symbol, if defined, indicates that <syslog.h> exists and
2912 * should be included.
2913 */
2914/*#define I_SYSLOG / **/
2915
2916/* I_SYSMODE:
2917 * This symbol, if defined, indicates that <sys/mode.h> exists and
2918 * should be included.
2919 */
2920/*#define I_SYSMODE / **/
2921
2922/* I_SYS_MOUNT:
2923 * This symbol, if defined, indicates that <sys/mount.h> exists and
2924 * should be included.
2925 */
2926/*#define I_SYS_MOUNT / **/
2927
2928/* I_SYS_STATFS:
2929 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2930 */
2931/*#define I_SYS_STATFS / **/
2932
2933/* I_SYS_STATVFS:
2934 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2935 * should be included.
2936 */
2937/*#define I_SYS_STATVFS / **/
2938
a838cfe5
JH
2939/* I_SYSUIO:
2940 * This symbol, if defined, indicates that <sys/uio.h> exists and
2941 * should be included.
2942 */
2943/*#define I_SYSUIO / **/
2944
3ebb1980 2945/* I_SYSUTSNAME:
e9a8643a
JH
2946 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2947 * should be included.
3ebb1980 2948 */
a838cfe5
JH
2949/*#define I_SYSUTSNAME / **/
2950
2951/* I_SYS_VFS:
2952 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2953 * should be included.
2954 */
2955/*#define I_SYS_VFS / **/
2956
2957/* I_TIME:
2958 * This symbol, if defined, indicates to the C program that it should
2959 * include <time.h>.
2960 */
2961/* I_SYS_TIME:
2962 * This symbol, if defined, indicates to the C program that it should
2963 * include <sys/time.h>.
2964 */
2965/* I_SYS_TIME_KERNEL:
2966 * This symbol, if defined, indicates to the C program that it should
2967 * include <sys/time.h> with KERNEL defined.
2968 */
10bc17b6
JH
2969/* HAS_TM_TM_ZONE:
2970 * This symbol, if defined, indicates to the C program that
2971 * the struct tm has a tm_zone field.
2972 */
530ffa68
JH
2973/* HAS_TM_TM_GMTOFF:
2974 * This symbol, if defined, indicates to the C program that
2975 * the struct tm has a tm_gmtoff field.
2976 */
a838cfe5
JH
2977#define I_TIME /**/
2978/*#define I_SYS_TIME / **/
2979/*#define I_SYS_TIME_KERNEL / **/
10bc17b6 2980/*#define HAS_TM_TM_ZONE / **/
530ffa68 2981/*#define HAS_TM_TM_GMTOFF / **/
a838cfe5
JH
2982
2983/* I_USTAT:
2984 * This symbol, if defined, indicates that <ustat.h> exists and
2985 * should be included.
2986 */
2987/*#define I_USTAT / **/
2988
2989/* PERL_INC_VERSION_LIST:
2990 * This variable specifies the list of subdirectories in over
2991 * which perl.c:incpush() and lib/lib.pm will automatically
2992 * search when adding directories to @INC, in a format suitable
2993 * for a C initialization string. See the inc_version_list entry
2994 * in Porting/Glossary for more details.
2995 */
2996#define PERL_INC_VERSION_LIST NULL /**/
2997
2998/* INSTALL_USR_BIN_PERL:
2999 * This symbol, if defined, indicates that Perl is to be installed
3000 * also as /usr/bin/perl.
3001 */
3002/*#define INSTALL_USR_BIN_PERL / **/
3003
3004/* PERL_PRIfldbl:
3005 * This symbol, if defined, contains the string used by stdio to
3006 * format long doubles (format 'f') for output.
3007 */
3008/* PERL_PRIgldbl:
3009 * This symbol, if defined, contains the string used by stdio to
3010 * format long doubles (format 'g') for output.
3011 */
3012/* PERL_PRIeldbl:
3013 * This symbol, if defined, contains the string used by stdio to
3014 * format long doubles (format 'e') for output.
3015 */
3016/* PERL_SCNfldbl:
3017 * This symbol, if defined, contains the string used by stdio to
3018 * format long doubles (format 'f') for input.
3019 */
3020/*#define PERL_PRIfldbl "llf" / **/
3021/*#define PERL_PRIgldbl "llg" / **/
3022/*#define PERL_PRIeldbl "lle" / **/
3023/*#define PERL_SCNfldbl "llf" / **/
3024
3025/* Off_t:
3026 * This symbol holds the type used to declare offsets in the kernel.
3027 * It can be int, long, off_t, etc... It may be necessary to include
3028 * <sys/types.h> to get any typedef'ed information.
3029 */
3030/* LSEEKSIZE:
3031 * This symbol holds the number of bytes used by the Off_t.
3032 */
3033/* Off_t_size:
3034 * This symbol holds the number of bytes used by the Off_t.
3035 */
3036#define Off_t int /* <offset> type */
3037#define LSEEKSIZE 4 /* <offset> size */
3038#define Off_t_size 4 /* <offset> size */
3039
3040/* Free_t:
3041 * This variable contains the return type of free(). It is usually
3042 * void, but occasionally int.
3043 */
3044/* Malloc_t:
3045 * This symbol is the type of pointer returned by malloc and realloc.
3046 */
3047#define Malloc_t void * /**/
3048#define Free_t int /**/
3ebb1980 3049
a838cfe5
JH
3050/* MYMALLOC:
3051 * This symbol, if defined, indicates that we're using our own malloc.
3ebb1980 3052 */
a838cfe5 3053/*#define MYMALLOC / **/
3ebb1980 3054
a838cfe5
JH
3055/* Mode_t:
3056 * This symbol holds the type used to declare file modes
3057 * for systems calls. It is usually mode_t, but may be
3058 * int or unsigned short. It may be necessary to include <sys/types.h>
3059 * to get any typedef'ed information.
3ebb1980 3060 */
a838cfe5 3061#define Mode_t int /* file mode parameter for system calls */
3ebb1980 3062
a838cfe5
JH
3063/* VAL_O_NONBLOCK:
3064 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3065 * non-blocking I/O for the file descriptor. Note that there is no way
3066 * back, i.e. you cannot turn it blocking again this way. If you wish to
3067 * alternatively switch between blocking and non-blocking, use the
3068 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3ebb1980 3069 */
a838cfe5
JH
3070/* VAL_EAGAIN:
3071 * This symbol holds the errno error code set by read() when no data was
3072 * present on the non-blocking file descriptor.
3ebb1980 3073 */
a838cfe5
JH
3074/* RD_NODATA:
3075 * This symbol holds the return code from read() when no data is present
3076 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3077 * not defined, then you can't distinguish between no data and EOF by
3078 * issuing a read(). You'll have to find another way to tell for sure!
3ebb1980 3079 */
a838cfe5
JH
3080/* EOF_NONBLOCK:
3081 * This symbol, if defined, indicates to the C program that a read() on
3082 * a non-blocking file descriptor will return 0 on EOF, and not the value
3083 * held in RD_NODATA (-1 usually, in that case!).
3ebb1980 3084 */
a838cfe5
JH
3085#define VAL_O_NONBLOCK O_NONBLOCK
3086#define VAL_EAGAIN EAGAIN
3087#define RD_NODATA -1
3088#undef EOF_NONBLOCK
3ebb1980 3089
a7fea17f
JH
3090/* NEED_VA_COPY:
3091 * This symbol, if defined, indicates that the system stores
3092 * the variable argument list datatype, va_list, in a format
3093 * that cannot be copied by simple assignment, so that some
3094 * other means must be used when copying is required.
3095 * As such systems vary in their provision (or non-provision)
3096 * of copying mechanisms, handy.h defines a platform-
3097 * independent macro, Perl_va_copy(src, dst), to do the job.
3098 */
3099/*#define NEED_VA_COPY / **/
3100
a838cfe5
JH
3101/* Netdb_host_t:
3102 * This symbol holds the type used for the 1st argument
3103 * to gethostbyaddr().
3104 */
3105/* Netdb_hlen_t:
3106 * This symbol holds the type used for the 2nd argument
3107 * to gethostbyaddr().
3108 */
3109/* Netdb_name_t:
3110 * This symbol holds the type used for the argument to
3111 * gethostbyname().
3112 */
3113/* Netdb_net_t:
3114 * This symbol holds the type used for the 1st argument to
3115 * getnetbyaddr().
3116 */
3117#define Netdb_host_t const char * /**/
3118#define Netdb_hlen_t int /**/
3119#define Netdb_name_t const char * /**/
3120#define Netdb_net_t unsigned long /**/
3121
3122/* PERL_OTHERLIBDIRS:
3123 * This variable contains a colon-separated set of paths for the perl
3124 * binary to search for additional library files or modules.
3125 * These directories will be tacked to the end of @INC.
3126 * Perl will automatically search below each path for version-
3127 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3128 * for more details.
3129 */
3130/*#define PERL_OTHERLIBDIRS "" / **/
3131
3ebb1980
JH
3132/* IVTYPE:
3133 * This symbol defines the C type used for Perl's IV.
3134 */
3135/* UVTYPE:
3136 * This symbol defines the C type used for Perl's UV.
3137 */
3138/* I8TYPE:
3139 * This symbol defines the C type used for Perl's I8.
3140 */
3141/* U8TYPE:
3142 * This symbol defines the C type used for Perl's U8.
3143 */
3144/* I16TYPE:
3145 * This symbol defines the C type used for Perl's I16.
3146 */
3147/* U16TYPE:
3148 * This symbol defines the C type used for Perl's U16.
3149 */
3150/* I32TYPE:
3151 * This symbol defines the C type used for Perl's I32.
3152 */
3153/* U32TYPE:
3154 * This symbol defines the C type used for Perl's U32.
3155 */
3156/* I64TYPE:
3157 * This symbol defines the C type used for Perl's I64.
3158 */
3159/* U64TYPE:
3160 * This symbol defines the C type used for Perl's U64.
3161 */
3162/* NVTYPE:
3163 * This symbol defines the C type used for Perl's NV.
3164 */
3165/* IVSIZE:
3166 * This symbol contains the sizeof(IV).
3167 */
3168/* UVSIZE:
3169 * This symbol contains the sizeof(UV).
3170 */
3171/* I8SIZE:
3172 * This symbol contains the sizeof(I8).
3173 */
3174/* U8SIZE:
3175 * This symbol contains the sizeof(U8).
3176 */
3177/* I16SIZE:
3178 * This symbol contains the sizeof(I16).
3179 */
3180/* U16SIZE:
3181 * This symbol contains the sizeof(U16).
3182 */
3183/* I32SIZE:
3184 * This symbol contains the sizeof(I32).
3185 */
3186/* U32SIZE:
3187 * This symbol contains the sizeof(U32).
3188 */
3189/* I64SIZE:
3190 * This symbol contains the sizeof(I64).
3191 */
3192/* U64SIZE:
3193 * This symbol contains the sizeof(U64).
3194 */
3195/* NVSIZE:
3196 * This symbol contains the sizeof(NV).
3197 */
3198/* NV_PRESERVES_UV:
3199 * This symbol, if defined, indicates that a variable of type NVTYPE
3200 * can preserve all the bits of a variable of type UVTYPE.
3201 */
3202/* NV_PRESERVES_UV_BITS:
3203 * This symbol contains the number of bits a variable of type NVTYPE
3204 * can preserve of a variable of type UVTYPE.
3205 */
3206#define IVTYPE long /**/
3207#define UVTYPE unsigned long /**/
3208#define I8TYPE char /**/
3209#define U8TYPE unsigned char /**/
3210#define I16TYPE short /**/
3211#define U16TYPE unsigned short /**/
3212#define I32TYPE long /**/
3213#define U32TYPE unsigned long /**/
3214#ifdef HAS_QUAD
3215#define I64TYPE int64_t /**/
3216#define U64TYPE uint64_t /**/
3217#endif
3218#define NVTYPE double /**/
3219#define IVSIZE 4 /**/
3220#define UVSIZE 4 /**/
3221#define I8SIZE 1 /**/
3222#define U8SIZE 1 /**/
3223#define I16SIZE 2 /**/
3224#define U16SIZE 2 /**/
3225#define I32SIZE 4 /**/
3226#define U32SIZE 4 /**/
3227#ifdef HAS_QUAD
3228#define I64SIZE 8 /**/
3229#define U64SIZE 8 /**/
3230#endif
3231#define NVSIZE 8 /**/
3232#undef NV_PRESERVES_UV
3096c11e 3233#define NV_PRESERVES_UV_BITS 0
3ebb1980
JH
3234
3235/* IVdf:
3236 * This symbol defines the format string used for printing a Perl IV
3237 * as a signed decimal integer.
3238 */
3239/* UVuf:
3240 * This symbol defines the format string used for printing a Perl UV
3241 * as an unsigned decimal integer.
3242 */
3243/* UVof:
3244 * This symbol defines the format string used for printing a Perl UV
3245 * as an unsigned octal integer.
3246 */
3247/* UVxf:
3248 * This symbol defines the format string used for printing a Perl UV
fd47df60
JH
3249 * as an unsigned hexadecimal integer in lowercase abcdef.
3250 */
159fae86
JH
3251/* UVXf:
3252 * This symbol defines the format string used for printing a Perl UV
3253 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3254 */
fd47df60
JH
3255/* NVef:
3256 * This symbol defines the format string used for printing a Perl NV
3257 * using %e-ish floating point format.
3258 */
3259/* NVff:
3260 * This symbol defines the format string used for printing a Perl NV
e9a8643a 3261 * using %f-ish floating point format.
3ebb1980 3262 */
e9a8643a
JH
3263/* NVgf:
3264 * This symbol defines the format string used for printing a Perl NV
3265 * using %g-ish floating point format.
3ebb1980 3266 */
e9a8643a
JH
3267#define IVdf "ld" /**/
3268#define UVuf "lu" /**/
3269#define UVof "lo" /**/
3270#define UVxf "lx" /**/
3271#define UVXf "lX" /**/
3272#define NVef "e" /**/
3273#define NVff "f" /**/
3274#define NVgf "g" /**/
3ebb1980 3275
a838cfe5
JH
3276/* Pid_t:
3277 * This symbol holds the type used to declare process ids in the kernel.
3278 * It can be int, uint, pid_t, etc... It may be necessary to include
3279 * <sys/types.h> to get any typedef'ed information.
3280 */
3281#define Pid_t int /* PID type */
3282
3283/* PRIVLIB:
3284 * This symbol contains the name of the private library for this package.
3285 * The library is private in the sense that it needn't be in anyone's
3286 * execution path, but it should be accessible by the world. The program
3287 * should be prepared to do ~ expansion.
3288 */
3289/* PRIVLIB_EXP:
3290 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3291 * in programs that are not prepared to deal with ~ expansion at run-time.
3292 */
3293#define PRIVLIB "/usr/local/lib/perl5/5.7" /**/
3294#define PRIVLIB_EXP "/usr/local/lib/perl5/5.7" /**/
3295
3296/* PTRSIZE:
3297 * This symbol contains the size of a pointer, so that the C preprocessor
3298 * can make decisions based on it. It will be sizeof(void *) if
3299 * the compiler supports (void *); otherwise it will be
3300 * sizeof(char *).
3301 */
3302#define PTRSIZE 4 /**/
3303
3304/* Drand01:
3305 * This macro is to be used to generate uniformly distributed
3306 * random numbers over the range [0., 1.[. You may have to supply
3307 * an 'extern double drand48();' in your program since SunOS 4.1.3
3308 * doesn't provide you with anything relevant in its headers.
3309 * See HAS_DRAND48_PROTO.
3310 */
3311/* Rand_seed_t:
3312 * This symbol defines the type of the argument of the
3313 * random seed function.
3314 */
3315/* seedDrand01:
3316 * This symbol defines the macro to be used in seeding the
3317 * random number generator (see Drand01).
3318 */
3319/* RANDBITS:
3320 * This symbol indicates how many bits are produced by the
3321 * function used to generate normalized random numbers.
3322 * Values include 15, 16, 31, and 48.
3323 */
3324#define Drand01() ((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15)) /**/
3325#define Rand_seed_t int /**/
3326#define seedDrand01(x) srand((Rand_seed_t)x) /**/
3327#define RANDBITS 48 /**/
3328
3329/* SELECT_MIN_BITS:
3330 * This symbol holds the minimum number of bits operated by select.
3331 * That is, if you do select(n, ...), how many bits at least will be
3332 * cleared in the masks if some activity is detected. Usually this
3333 * is either n or 32*ceil(n/32), especially many little-endians do
3334 * the latter. This is only useful if you have select(), naturally.
3335 */
3336#define SELECT_MIN_BITS 32 /**/
3337
3338/* Select_fd_set_t:
3339 * This symbol holds the type used for the 2nd, 3rd, and 4th
3340 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3341 * is defined, and 'int *' otherwise. This is only useful if you
3342 * have select(), of course.
3343 */
3344#define Select_fd_set_t int /**/
3345
3346/* SIG_NAME:
3347 * This symbol contains a list of signal names in order of
3348 * signal number. This is intended
3349 * to be used as a static array initialization, like this:
3350 * char *sig_name[] = { SIG_NAME };
3351 * The signals in the list are separated with commas, and each signal
3352 * is surrounded by double quotes. There is no leading SIG in the signal
3353 * name, i.e. SIGQUIT is known as "QUIT".
3354 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3355 * etc., where nn is the actual signal number (e.g. NUM37).
3356 * The signal number for sig_name[i] is stored in sig_num[i].
3357 * The last element is 0 to terminate the list with a NULL. This
3358 * corresponds to the 0 at the end of the sig_num list.
3359 */
3360/* SIG_NUM:
3361 * This symbol contains a list of signal numbers, in the same order as the
3362 * SIG_NAME list. It is suitable for static array initialization, as in:
3363 * int sig_num[] = { SIG_NUM };
3364 * The signals in the list are separated with commas, and the indices
3365 * within that list and the SIG_NAME list match, so it's easy to compute
3366 * the signal name from a number or vice versa at the price of a small
3367 * dynamic linear lookup.
3368 * Duplicates are allowed, but are moved to the end of the list.
3369 * The signal number corresponding to sig_name[i] is sig_number[i].
3370 * if (i < NSIG) then sig_number[i] == i.
3371 * The last element is 0, corresponding to the 0 at the end of
3372 * the sig_name list.
3373 */
3374/* SIG_SIZE:
3375 * This variable contains the number of elements of the sig_name
3376 * and sig_num arrays, excluding the final NULL entry.
3377 */
3378#define SIG_NAME 0 /**/
3379#define SIG_NUM 0 /**/
3380#define SIG_SIZE 1 /**/
3381
3382/* SITEARCH:
3383 * This symbol contains the name of the private library for this package.
3384 * The library is private in the sense that it needn't be in anyone's
3385 * execution path, but it should be accessible by the world. The program
3386 * should be prepared to do ~ expansion.
3387 * The standard distribution will put nothing in this directory.
3388 * After perl has been installed, users may install their own local
3389 * architecture-dependent modules in this directory with
3390 * MakeMaker Makefile.PL
3391 * or equivalent. See INSTALL for details.
3392 */
3393/* SITEARCH_EXP:
3394 * This symbol contains the ~name expanded version of SITEARCH, to be used
3395 * in programs that are not prepared to deal with ~ expansion at run-time.
3396 */
3397#define SITEARCH "" /**/
3398#define SITEARCH_EXP "" /**/
3399
3400/* SITELIB:
3401 * This symbol contains the name of the private library for this package.
3402 * The library is private in the sense that it needn't be in anyone's
3403 * execution path, but it should be accessible by the world. The program
3404 * should be prepared to do ~ expansion.
3405 * The standard distribution will put nothing in this directory.
3406 * After perl has been installed, users may install their own local
3407 * architecture-independent modules in this directory with
3408 * MakeMaker Makefile.PL
3409 * or equivalent. See INSTALL for details.
3410 */
3411/* SITELIB_EXP:
3412 * This symbol contains the ~name expanded version of SITELIB, to be used
3413 * in programs that are not prepared to deal with ~ expansion at run-time.
3414 */
3415/* SITELIB_STEM:
3416 * This define is SITELIB_EXP with any trailing version-specific component
3417 * removed. The elements in inc_version_list (inc_version_list.U) can
3418 * be tacked onto this variable to generate a list of directories to search.
3419 */
3420#define SITELIB "" /**/
3421#define SITELIB_EXP "" /**/
3422#define SITELIB_STEM "" /**/
3423
3424/* Size_t_size:
3425 * This symbol holds the size of a Size_t in bytes.
3426 */
3427#define Size_t_size 4 /* */
3428
3429/* Size_t:
3430 * This symbol holds the type used to declare length parameters
3431 * for string functions. It is usually size_t, but may be
3432 * unsigned long, int, etc. It may be necessary to include
3433 * <sys/types.h> to get any typedef'ed information.
3434 */
3435#define Size_t int /* length paramater for string functions */
3436
3437/* Sock_size_t:
3438 * This symbol holds the type used for the size argument of
3439 * various socket calls (just the base type, not the pointer-to).
3ebb1980 3440 */
a838cfe5 3441#define Sock_size_t int /**/
3ebb1980 3442
a838cfe5
JH
3443/* SSize_t:
3444 * This symbol holds the type used by functions that return
3445 * a count of bytes or an error condition. It must be a signed type.
3446 * It is usually ssize_t, but may be long or int, etc.
3447 * It may be necessary to include <sys/types.h> or <unistd.h>
3448 * to get any typedef'ed information.
3449 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3ebb1980 3450 */
a838cfe5 3451#define SSize_t int /* signed count of bytes */
3ebb1980
JH
3452
3453/* STARTPERL:
3454 * This variable contains the string to put in front of a perl
3455 * script to make sure (one hopes) that it runs with perl and not
3456 * some shell.
3457 */
3458#define STARTPERL "" /**/
3459
a838cfe5
JH
3460/* STDCHAR:
3461 * This symbol is defined to be the type of char used in stdio.h.
3462 * It has the values "unsigned char" or "char".
3463 */
3464#define STDCHAR char /**/
3465
3ebb1980
JH
3466/* HAS_STDIO_STREAM_ARRAY:
3467 * This symbol, if defined, tells that there is an array
3468 * holding the stdio streams.
3469 */
3470/* STDIO_STREAM_ARRAY:
3471 * This symbol tells the name of the array holding the stdio streams.
3472 * Usual values include _iob, __iob, and __sF.
3473 */
3474/*#define HAS_STDIO_STREAM_ARRAY / **/
3475#define STDIO_STREAM_ARRAY
3476
a838cfe5
JH
3477/* Uid_t_f:
3478 * This symbol defines the format string used for printing a Uid_t.
3479 */
3480#define Uid_t_f "lu" /**/
3481
3482/* Uid_t_sign:
3483 * This symbol holds the signedess of a Uid_t.
3484 * 1 for unsigned, -1 for signed.
3485 */
3486#define Uid_t_sign 1 /* UID sign */
3487
3488/* Uid_t_size:
3489 * This symbol holds the size of a Uid_t in bytes.
3490 */
3491#define Uid_t_size 4 /* UID size */
3492
3493/* Uid_t:
3494 * This symbol holds the type used to declare user ids in the kernel.
3495 * It can be int, ushort, uid_t, etc... It may be necessary to include
3496 * <sys/types.h> to get any typedef'ed information.
3497 */
3498#define Uid_t int /* UID type */
3499
3ebb1980
JH
3500/* USE_64_BIT_INT:
3501 * This symbol, if defined, indicates that 64-bit integers should
3502 * be used when available. If not defined, the native integers
3503 * will be employed (be they 32 or 64 bits). The minimal possible
3504 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3505 * This may mean using for example "long longs", while your memory
3506 * may still be limited to 2 gigabytes.
3507 */
3508/* USE_64_BIT_ALL:
3509 * This symbol, if defined, indicates that 64-bit integers should
3510 * be used when available. If not defined, the native integers
3511 * will be used (be they 32 or 64 bits). The maximal possible
3512 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3513 * be able to use more than 2 gigabytes of memory. This mode is
3514 * even more binary incompatible than USE_64_BIT_INT. You may not
3515 * be able to run the resulting executable in a 32-bit CPU at all or
3516 * you may need at least to reboot your OS to 64-bit mode.
3517 */
3518#ifndef USE_64_BIT_INT
3519/*#define USE_64_BIT_INT / **/
3520#endif
3521
3522#ifndef USE_64_BIT_ALL
3523/*#define USE_64_BIT_ALL / **/
3524#endif
3525
3526/* USE_LARGE_FILES:
3527 * This symbol, if defined, indicates that large file support
3528 * should be used when available.
3529 */
3530#ifndef USE_LARGE_FILES
3531/*#define USE_LARGE_FILES / **/
3532#endif
3533
3534/* USE_LONG_DOUBLE:
3535 * This symbol, if defined, indicates that long doubles should
3536 * be used when available.
3537 */
3538#ifndef USE_LONG_DOUBLE
3539/*#define USE_LONG_DOUBLE / **/
3540#endif
3541
3542/* USE_MORE_BITS:
3543 * This symbol, if defined, indicates that 64-bit interfaces and
3544 * long doubles should be used when available.
3545 */
3546#ifndef USE_MORE_BITS
3547/*#define USE_MORE_BITS / **/
3548#endif
3549
3550/* MULTIPLICITY:
3551 * This symbol, if defined, indicates that Perl should
3552 * be built to use multiplicity.
3553 */
3554#ifndef MULTIPLICITY
3555/*#define MULTIPLICITY / **/
3556#endif
3557
3558/* USE_PERLIO:
3559 * This symbol, if defined, indicates that the PerlIO abstraction should
3560 * be used throughout. If not defined, stdio should be
3561 * used in a fully backward compatible manner.
3562 */
3563#ifndef USE_PERLIO
3564/*#define USE_PERLIO / **/
3565#endif
3566
3567/* USE_SOCKS:
3568 * This symbol, if defined, indicates that Perl should
3569 * be built to use socks.
3570 */
3571#ifndef USE_SOCKS
3572/*#define USE_SOCKS / **/
3573#endif
3574
a838cfe5
JH
3575/* USE_ITHREADS:
3576 * This symbol, if defined, indicates that Perl should be built to
3577 * use the interpreter-based threading implementation.
3578 */
a838cfe5
JH
3579/* OLD_PTHREADS_API:
3580 * This symbol, if defined, indicates that Perl should
3581 * be built to use the old draft POSIX threads API.
3582 */
3583/* USE_REENTRANT_API:
3584 * This symbol, if defined, indicates that Perl should
3585 * try to use the various _r versions of library functions.
3586 * This is extremely experimental.
3587 */
a838cfe5 3588/*#define USE_ITHREADS / **/
a838cfe5
JH
3589/*#define OLD_PTHREADS_API / **/
3590/*#define USE_REENTRANT_API / **/
3591
3592/* PERL_VENDORARCH:
3593 * If defined, this symbol contains the name of a private library.
3594 * The library is private in the sense that it needn't be in anyone's
3595 * execution path, but it should be accessible by the world.
3596 * It may have a ~ on the front.
3597 * The standard distribution will put nothing in this directory.
3598 * Vendors who distribute perl may wish to place their own
3599 * architecture-dependent modules and extensions in this directory with
3600 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3601 * or equivalent. See INSTALL for details.
3602 */
3603/* PERL_VENDORARCH_EXP:
3604 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3605 * in programs that are not prepared to deal with ~ expansion at run-time.
3606 */
3607/*#define PERL_VENDORARCH "" / **/
3608/*#define PERL_VENDORARCH_EXP "" / **/
3609
3610/* PERL_VENDORLIB_EXP:
3611 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3612 * in programs that are not prepared to deal with ~ expansion at run-time.
3613 */
3614/* PERL_VENDORLIB_STEM:
3615 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3616 * removed. The elements in inc_version_list (inc_version_list.U) can
3617 * be tacked onto this variable to generate a list of directories to search.
3618 */
3619/*#define PERL_VENDORLIB_EXP "" / **/
3620/*#define PERL_VENDORLIB_STEM "" / **/
3621
3622/* VOIDFLAGS:
3623 * This symbol indicates how much support of the void type is given by this
3624 * compiler. What various bits mean:
3625 *
3626 * 1 = supports declaration of void
3627 * 2 = supports arrays of pointers to functions returning void
3628 * 4 = supports comparisons between pointers to void functions and
3629 * addresses of void functions
3630 * 8 = suports declaration of generic void pointers
3631 *
3632 * The package designer should define VOIDUSED to indicate the requirements
3633 * of the package. This can be done either by #defining VOIDUSED before
3634 * including config.h, or by defining defvoidused in Myinit.U. If the
3635 * latter approach is taken, only those flags will be tested. If the
3636 * level of void support necessary is not present, defines void to int.
3637 */
3638#ifndef VOIDUSED
3639#define VOIDUSED 1
3640#endif
3641#define VOIDFLAGS 1
3642#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3643#define void int /* is void to be avoided? */
3644#define M_VOID /* Xenix strikes again */
3645#endif
3646
3ebb1980
JH
3647/* PERL_XS_APIVERSION:
3648 * This variable contains the version of the oldest perl binary
3649 * compatible with the present perl. perl.c:incpush() and
3650 * lib/lib.pm will automatically search in for older
3651 * directories across major versions back to xs_apiversion.
3652 * This is only useful if you have a perl library directory tree
3653 * structured like the default one.
3654 * See INSTALL for how this works.
3655 * The versioned site_perl directory was introduced in 5.005,
3656 * so that is the lowest possible value.
d953f698
JH
3657 * Since this can depend on compile time options
3658 * it is set by Configure. Other non-default sources
3ebb1980
JH
3659 * of potential incompatibility, such as multiplicity, threads,
3660 * debugging, 64bits, sfio, etc., are not checked for currently,
3661 * though in principle we could go snooping around in old
3662 * Config.pm files.
3663 */
3664/* PERL_PM_APIVERSION:
3665 * This variable contains the version of the oldest perl
3666 * compatible with the present perl. (That is, pure perl modules
3667 * written for pm_apiversion will still work for the current
3668 * version). perl.c:incpush() and lib/lib.pm will automatically
3669 * search in for older directories across major versions
3670 * back to pm_apiversion. This is only useful if you have a perl
3671 * library directory tree structured like the default one. The
3672 * versioned site_perl library was introduced in 5.005, so that's
3673 * the default setting for this variable. It's hard to imagine
3674 * it changing before Perl6. It is included here for symmetry
a838cfe5
JH
3675 * with xs_apiveprsion -- the searching algorithms will
3676 * (presumably) be similar.
3677 * See the INSTALL file for how this works.
e9a8643a 3678 */
4282de36 3679#define PERL_XS_APIVERSION "5.008"
a838cfe5 3680#define PERL_PM_APIVERSION "5.005"
5440bc8e 3681
8b4ac5a4
JH
3682/* HAS_CRYPT:
3683 * This symbol, if defined, indicates that the crypt routine is available
3684 * to encrypt passwords and the like.
3685 */
3686/*#define HAS_CRYPT / **/
3687
a838cfe5
JH
3688/* SETUID_SCRIPTS_ARE_SECURE_NOW:
3689 * This symbol, if defined, indicates that the bug that prevents
3690 * setuid scripts from being secure is not present in this kernel.
b99a9337 3691 */
a838cfe5
JH
3692/* DOSUID:
3693 * This symbol, if defined, indicates that the C program should
3694 * check the script that it is executing for setuid/setgid bits, and
3695 * attempt to emulate setuid/setgid on systems that have disabled
3696 * setuid #! scripts because the kernel can't do it securely.
3697 * It is up to the package designer to make sure that this emulation
3698 * is done securely. Among other things, it should do an fstat on
3699 * the script it just opened to make sure it really is a setuid/setgid
3700 * script, it should make sure the arguments passed correspond exactly
3701 * to the argument on the #! line, and it should not trust any
3702 * subprocesses to which it must pass the filename rather than the
3703 * file descriptor of the script to be executed.
5440bc8e 3704 */
a838cfe5
JH
3705/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
3706/*#define DOSUID / **/
e9a8643a 3707
c68a00c0
JH
3708/* Shmat_t:
3709 * This symbol holds the return type of the shmat() system call.
3710 * Usually set to 'void *' or 'char *'.
3711 */
3712/* HAS_SHMAT_PROTOTYPE:
3713 * This symbol, if defined, indicates that the sys/shm.h includes
3714 * a prototype for shmat(). Otherwise, it is up to the program to
3715 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
3716 * but not always right so it should be emitted by the program only
3717 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
3718 */
3719#define Shmat_t void * /**/
3720/*#define HAS_SHMAT_PROTOTYPE / **/
3721
3722/* I_NDBM:
3723 * This symbol, if defined, indicates that <ndbm.h> exists and should
3724 * be included.
3725 */
3726/*#define I_NDBM / **/
3727
a838cfe5
JH
3728/* I_STDARG:
3729 * This symbol, if defined, indicates that <stdarg.h> exists and should
3730 * be included.
5440bc8e 3731 */
a838cfe5
JH
3732/* I_VARARGS:
3733 * This symbol, if defined, indicates to the C program that it should
3734 * include <varargs.h>.
e9a8643a 3735 */
a838cfe5
JH
3736#define I_STDARG /**/
3737/*#define I_VARARGS / **/
3738
c68a00c0
JH
3739/* CAN_PROTOTYPE:
3740 * If defined, this macro indicates that the C compiler can handle
3741 * function prototypes.
3742 */
a3c02183 3743/* _:
c68a00c0
JH
3744 * This macro is used to declare function parameters for folks who want
3745 * to make declarations with prototypes using a different style than
3746 * the above macros. Use double parentheses. For example:
3747 *
a3c02183 3748 * int main _((int argc, char *argv[]));
c68a00c0
JH
3749 */
3750/*#define CAN_PROTOTYPE / **/
3751#ifdef CAN_PROTOTYPE
a3c02183 3752#define _(args) args
c68a00c0 3753#else
a3c02183 3754#define _(args) ()
c68a00c0
JH
3755#endif
3756
a838cfe5
JH
3757/* SH_PATH:
3758 * This symbol contains the full pathname to the shell used on this
3759 * on this system to execute Bourne shell scripts. Usually, this will be
3760 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3761 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3762 * D:/bin/sh.exe.
e9a8643a 3763 */
a838cfe5
JH
3764#define SH_PATH "" /**/
3765
3766/* USE_CROSS_COMPILE:
3767 * This symbol, if defined, indicates that Perl is being cross-compiled.
e9a8643a 3768 */
a838cfe5
JH
3769/* PERL_TARGETARCH:
3770 * This symbol, if defined, indicates the target architecture
3771 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3772 */
3773#ifndef USE_CROSS_COMPILE
3774/*#define USE_CROSS_COMPILE / **/
3775#define PERL_TARGETARCH "" /**/
5440bc8e
JH
3776#endif
3777
a838cfe5
JH
3778/* HAS_DBMINIT_PROTO:
3779 * This symbol, if defined, indicates that the system provides
3780 * a prototype for the dbminit() function. Otherwise, it is up
3781 * to the program to supply one. A good guess is
3782 * extern int dbminit(char *);
2ef53570 3783 */
a838cfe5 3784/*#define HAS_DBMINIT_PROTO / **/
2ef53570 3785
a838cfe5
JH
3786/* HAS_DIRFD:
3787 * This manifest constant lets the C program know that dirfd
3788 * is available.
2ef53570 3789 */
a838cfe5 3790/*#define HAS_DIRFD / **/
2ef53570 3791
a838cfe5
JH
3792/* HAS_FLOCK_PROTO:
3793 * This symbol, if defined, indicates that the system provides
3794 * a prototype for the flock() function. Otherwise, it is up
3795 * to the program to supply one. A good guess is
3796 * extern int flock(int, int);
b99a9337 3797 */
a838cfe5 3798/*#define HAS_FLOCK_PROTO / **/
b99a9337 3799
a838cfe5
JH
3800/* HAS_FPCLASSL:
3801 * This symbol, if defined, indicates that the fpclassl routine is
3802 * available to classify long doubles. Available for example in IRIX.
3803 * The returned values are defined in <ieeefp.h> and are:
3804 *
3805 * FP_SNAN signaling NaN
3806 * FP_QNAN quiet NaN
3807 * FP_NINF negative infinity
3808 * FP_PINF positive infinity
3809 * FP_NDENORM negative denormalized non-zero
3810 * FP_PDENORM positive denormalized non-zero
3811 * FP_NZERO negative zero
3812 * FP_PZERO positive zero
3813 * FP_NNORM negative normalized non-zero
3814 * FP_PNORM positive normalized non-zero
2765b840 3815 */
a838cfe5 3816/*#define HAS_FPCLASSL / **/
2765b840 3817
a838cfe5
JH
3818/* HAS_NL_LANGINFO:
3819 * This symbol, if defined, indicates that the nl_langinfo routine is
3820 * available to return local data. You will also need <langinfo.h>
3821 * and therefore I_LANGINFO.
e561a5ff 3822 */
a838cfe5 3823/*#define HAS_NL_LANGINFO / **/
e561a5ff 3824
a838cfe5
JH
3825/* HAS_PROCSELFEXE:
3826 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3827 * to the absolute pathname of the executing program.
49a78c82 3828 */
10b31d5d
JH
3829/* PROCSELFEXE_PATH:
3830 * If HAS_PROCSELFEXE is defined this symbol is the filename
3831 * of the symbolic link pointing to the absolute pathname of
3832 * the executing program.
3833 */
a838cfe5
JH
3834/*#define HAS_PROCSELFEXE / **/
3835#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3836#define PROCSELFEXE_PATH /**/
3837#endif
49a78c82 3838
a838cfe5
JH
3839/* HAS_SIGPROCMASK:
3840 * This symbol, if defined, indicates that the sigprocmask
3841 * system call is available to examine or change the signal mask
3842 * of the calling process.
2ef53570 3843 */
a838cfe5 3844/*#define HAS_SIGPROCMASK / **/
2ef53570 3845
a838cfe5
JH
3846/* HAS_SOCKATMARK:
3847 * This symbol, if defined, indicates that the sockatmark routine is
3848 * available to test whether a socket is at the out-of-band mark.
eef837ea 3849 */
a838cfe5
JH
3850/*#define HAS_SOCKATMARK / **/
3851
3852/* HAS_SOCKATMARK_PROTO:
3853 * This symbol, if defined, indicates that the system provides
3854 * a prototype for the sockatmark() function. Otherwise, it is up
3855 * to the program to supply one. A good guess is
c68a00c0 3856 * extern int sockatmark(int);
e9a8643a 3857 */
a838cfe5
JH
3858/*#define HAS_SOCKATMARK_PROTO / **/
3859
3860/* HAS_SETRESGID_PROTO:
3861 * This symbol, if defined, indicates that the system provides
3862 * a prototype for the setresgid() function. Otherwise, it is up
3863 * to the program to supply one. Good guesses are
3864 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
e9a8643a 3865 */
a838cfe5 3866/*#define HAS_SETRESGID_PROTO / **/
eef837ea 3867
a838cfe5
JH
3868/* HAS_SETRESUID_PROTO:
3869 * This symbol, if defined, indicates that the system provides
3870 * a prototype for the setresuid() function. Otherwise, it is up
3871 * to the program to supply one. Good guesses are
3872 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
640374d0 3873 */
a838cfe5 3874/*#define HAS_SETRESUID_PROTO / **/
640374d0 3875
a838cfe5
JH
3876/* HAS_STRFTIME:
3877 * This symbol, if defined, indicates that the strftime routine is
3878 * available to do time formatting.
b3c85772 3879 */
a838cfe5 3880/*#define HAS_STRFTIME / **/
b3c85772 3881
a838cfe5
JH
3882/* HAS_SYSCALL_PROTO:
3883 * This symbol, if defined, indicates that the system provides
3884 * a prototype for the syscall() function. Otherwise, it is up
3885 * to the program to supply one. Good guesses are
3886 * extern int syscall(int, ...);
3887 * extern int syscall(long, ...);
2ef53570 3888 */
a838cfe5 3889/*#define HAS_SYSCALL_PROTO / **/
2ef53570 3890
a838cfe5
JH
3891/* U32_ALIGNMENT_REQUIRED:
3892 * This symbol, if defined, indicates that you must access
3893 * character data through U32-aligned pointers.
4e0554ec 3894 */
2c74c289 3895#ifndef U32_ALIGNMENT_REQUIRED
a838cfe5 3896#define U32_ALIGNMENT_REQUIRED /**/
2c74c289 3897#endif
4e0554ec 3898
a838cfe5
JH
3899/* HAS_USLEEP_PROTO:
3900 * This symbol, if defined, indicates that the system provides
3901 * a prototype for the usleep() function. Otherwise, it is up
3902 * to the program to supply one. A good guess is
3903 * extern int usleep(useconds_t);
2ef53570 3904 */
a838cfe5 3905/*#define HAS_USLEEP_PROTO / **/
2ef53570 3906
10bc17b6
JH
3907/* I_CRYPT:
3908 * This symbol, if defined, indicates that <crypt.h> exists and
3909 * should be included.
3910 */
3911/*#define I_CRYPT / **/
3912
a838cfe5
JH
3913/* I_FP:
3914 * This symbol, if defined, indicates that <fp.h> exists and
3915 * should be included.
758a5d79 3916 */
a838cfe5 3917/*#define I_FP / **/
758a5d79 3918
a838cfe5
JH
3919/* I_LANGINFO:
3920 * This symbol, if defined, indicates that <langinfo.h> exists and
3921 * should be included.
404cab08 3922 */
a838cfe5 3923/*#define I_LANGINFO / **/
404cab08 3924
10bc17b6
JH
3925/* HAS_CTERMID_R:
3926 * This symbol, if defined, indicates that the ctermid_r routine
3927 * is available to ctermid re-entrantly.
3928 */
3929/* CTERMID_R_PROTO:
3930 * This symbol encodes the prototype of ctermid_r.
298695c9
JH
3931 * It is zero if d_ctermid_r is undef, and one of the
3932 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
3933 * is defined.
10bc17b6
JH
3934 */
3935/*#define HAS_CTERMID_R / **/
3936#define CTERMID_R_PROTO 0 /**/
3937
3938/* HAS_ENDHOSTENT_R:
3939 * This symbol, if defined, indicates that the endhostent_r routine
3940 * is available to endhostent re-entrantly.
3941 */
3942/* ENDHOSTENT_R_PROTO:
3943 * This symbol encodes the prototype of endhostent_r.
298695c9
JH
3944 * It is zero if d_endhostent_r is undef, and one of the
3945 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
3946 * is defined.
10bc17b6
JH
3947 */
3948/*#define HAS_ENDHOSTENT_R / **/
3949#define ENDHOSTENT_R_PROTO 0 /**/
3950
3951/* HAS_ENDNETENT_R:
3952 * This symbol, if defined, indicates that the endnetent_r routine
3953 * is available to endnetent re-entrantly.
3954 */
3955/* ENDNETENT_R_PROTO:
3956 * This symbol encodes the prototype of endnetent_r.
298695c9
JH
3957 * It is zero if d_endnetent_r is undef, and one of the
3958 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
3959 * is defined.
10bc17b6
JH
3960 */
3961/*#define HAS_ENDNETENT_R / **/
3962#define ENDNETENT_R_PROTO 0 /**/
3963
3964/* HAS_ENDPROTOENT_R:
3965 * This symbol, if defined, indicates that the endprotoent_r routine
3966 * is available to endprotoent re-entrantly.
3967 */
3968/* ENDPROTOENT_R_PROTO:
3969 * This symbol encodes the prototype of endprotoent_r.
298695c9
JH
3970 * It is zero if d_endprotoent_r is undef, and one of the
3971 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
3972 * is defined.
10bc17b6
JH
3973 */
3974/*#define HAS_ENDPROTOENT_R / **/
3975#define ENDPROTOENT_R_PROTO 0 /**/
3976
3977/* HAS_ENDSERVENT_R:
3978 * This symbol, if defined, indicates that the endservent_r routine
3979 * is available to endservent re-entrantly.
3980 */
3981/* ENDSERVENT_R_PROTO:
3982 * This symbol encodes the prototype of endservent_r.
298695c9
JH
3983 * It is zero if d_endservent_r is undef, and one of the
3984 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
3985 * is defined.
10bc17b6
JH
3986 */
3987/*#define HAS_ENDSERVENT_R / **/
3988#define ENDSERVENT_R_PROTO 0 /**/
3989
3990/* HAS_GETHOSTBYADDR_R:
3991 * This symbol, if defined, indicates that the gethostbyaddr_r routine
3992 * is available to gethostbyaddr re-entrantly.
3993 */
3994/* GETHOSTBYADDR_R_PROTO:
3995 * This symbol encodes the prototype of gethostbyaddr_r.
298695c9
JH
3996 * It is zero if d_gethostbyaddr_r is undef, and one of the
3997 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
3998 * is defined.
10bc17b6
JH
3999 */
4000/*#define HAS_GETHOSTBYADDR_R / **/
4001#define GETHOSTBYADDR_R_PROTO 0 /**/
4002
4003/* HAS_GETHOSTBYNAME_R:
4004 * This symbol, if defined, indicates that the gethostbyname_r routine
4005 * is available to gethostbyname re-entrantly.
4006 */
4007/* GETHOSTBYNAME_R_PROTO:
4008 * This symbol encodes the prototype of gethostbyname_r.
298695c9
JH
4009 * It is zero if d_gethostbyname_r is undef, and one of the
4010 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4011 * is defined.
10bc17b6
JH
4012 */
4013/*#define HAS_GETHOSTBYNAME_R / **/
4014#define GETHOSTBYNAME_R_PROTO 0 /**/
4015
4016/* HAS_GETHOSTENT_R:
4017 * This symbol, if defined, indicates that the gethostent_r routine
4018 * is available to gethostent re-entrantly.
4019 */
4020/* GETHOSTENT_R_PROTO:
4021 * This symbol encodes the prototype of gethostent_r.
298695c9
JH
4022 * It is zero if d_gethostent_r is undef, and one of the
4023 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4024 * is defined.
10bc17b6
JH
4025 */
4026/*#define HAS_GETHOSTENT_R / **/
4027#define GETHOSTENT_R_PROTO 0 /**/
4028
4029/* HAS_GETNETBYADDR_R:
4030 * This symbol, if defined, indicates that the getnetbyaddr_r routine
4031 * is available to getnetbyaddr re-entrantly.
4032 */
4033/* GETNETBYADDR_R_PROTO:
4034 * This symbol encodes the prototype of getnetbyaddr_r.
298695c9
JH
4035 * It is zero if d_getnetbyaddr_r is undef, and one of the
4036 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4037 * is defined.
10bc17b6
JH
4038 */
4039/*#define HAS_GETNETBYADDR_R / **/
4040#define GETNETBYADDR_R_PROTO 0 /**/
4041
4042/* HAS_GETNETBYNAME_R:
4043 * This symbol, if defined, indicates that the getnetbyname_r routine
4044 * is available to getnetbyname re-entrantly.
4045 */
4046/* GETNETBYNAME_R_PROTO:
4047 * This symbol encodes the prototype of getnetbyname_r.
298695c9
JH
4048 * It is zero if d_getnetbyname_r is undef, and one of the
4049 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4050 * is defined.
10bc17b6
JH
4051 */
4052/*#define HAS_GETNETBYNAME_R / **/
4053#define GETNETBYNAME_R_PROTO 0 /**/
4054
4055/* HAS_GETNETENT_R:
4056 * This symbol, if defined, indicates that the getnetent_r routine
4057 * is available to getnetent re-entrantly.
4058 */
4059/* GETNETENT_R_PROTO:
4060 * This symbol encodes the prototype of getnetent_r.
298695c9
JH
4061 * It is zero if d_getnetent_r is undef, and one of the
4062 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4063 * is defined.
10bc17b6
JH
4064 */
4065/*#define HAS_GETNETENT_R / **/
4066#define GETNETENT_R_PROTO 0 /**/
4067
4068/* HAS_GETPROTOBYNAME_R:
4069 * This symbol, if defined, indicates that the getprotobyname_r routine
4070 * is available to getprotobyname re-entrantly.
4071 */
4072/* GETPROTOBYNAME_R_PROTO:
4073 * This symbol encodes the prototype of getprotobyname_r.
298695c9
JH
4074 * It is zero if d_getprotobyname_r is undef, and one of the
4075 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4076 * is defined.
10bc17b6
JH
4077 */
4078/*#define HAS_GETPROTOBYNAME_R / **/
4079#define GETPROTOBYNAME_R_PROTO 0 /**/
4080
4081/* HAS_GETPROTOBYNUMBER_R:
4082 * This symbol, if defined, indicates that the getprotobynumber_r routine
4083 * is available to getprotobynumber re-entrantly.
4084 */
4085/* GETPROTOBYNUMBER_R_PROTO:
4086 * This symbol encodes the prototype of getprotobynumber_r.
298695c9
JH
4087 * It is zero if d_getprotobynumber_r is undef, and one of the
4088 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4089 * is defined.
10bc17b6
JH
4090 */
4091/*#define HAS_GETPROTOBYNUMBER_R / **/
4092#define GETPROTOBYNUMBER_R_PROTO 0 /**/
4093
4094/* HAS_GETPROTOENT_R:
4095 * This symbol, if defined, indicates that the getprotoent_r routine
4096 * is available to getprotoent re-entrantly.
4097 */
4098/* GETPROTOENT_R_PROTO:
4099 * This symbol encodes the prototype of getprotoent_r.
298695c9
JH
4100 * It is zero if d_getprotoent_r is undef, and one of the
4101 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4102 * is defined.
10bc17b6
JH
4103 */
4104/*#define HAS_GETPROTOENT_R / **/
4105#define GETPROTOENT_R_PROTO 0 /**/
4106
4107/* HAS_GETSERVBYNAME_R:
4108 * This symbol, if defined, indicates that the getservbyname_r routine
4109 * is available to getservbyname re-entrantly.
4110 */
4111/* GETSERVBYNAME_R_PROTO:
4112 * This symbol encodes the prototype of getservbyname_r.
298695c9
JH
4113 * It is zero if d_getservbyname_r is undef, and one of the
4114 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
4115 * is defined.
10bc17b6
JH
4116 */
4117/*#define HAS_GETSERVBYNAME_R / **/
4118#define GETSERVBYNAME_R_PROTO 0 /**/
4119
4120/* HAS_GETSERVBYPORT_R:
4121 * This symbol, if defined, indicates that the getservbyport_r routine
4122 * is available to getservbyport re-entrantly.
4123 */
4124/* GETSERVBYPORT_R_PROTO:
4125 * This symbol encodes the prototype of getservbyport_r.
298695c9
JH
4126 * It is zero if d_getservbyport_r is undef, and one of the
4127 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
4128 * is defined.
10bc17b6
JH
4129 */
4130/*#define HAS_GETSERVBYPORT_R / **/
4131#define GETSERVBYPORT_R_PROTO 0 /**/
4132
4133/* HAS_GETSERVENT_R:
4134 * This symbol, if defined, indicates that the getservent_r routine
4135 * is available to getservent re-entrantly.
4136 */
4137/* GETSERVENT_R_PROTO:
4138 * This symbol encodes the prototype of getservent_r.
298695c9
JH
4139 * It is zero if d_getservent_r is undef, and one of the
4140 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
4141 * is defined.
10bc17b6
JH
4142 */
4143/*#define HAS_GETSERVENT_R / **/
4144#define GETSERVENT_R_PROTO 0 /**/
4145
a838cfe5
JH
4146/* HAS_PTHREAD_ATFORK:
4147 * This symbol, if defined, indicates that the pthread_atfork routine
4148 * is available setup fork handlers.
d6483fcc 4149 */
a838cfe5 4150/*#define HAS_PTHREAD_ATFORK / **/
d6483fcc 4151
10bc17b6
JH
4152/* HAS_READDIR64_R:
4153 * This symbol, if defined, indicates that the readdir64_r routine
4154 * is available to readdir64 re-entrantly.
4155 */
4156/* READDIR64_R_PROTO:
4157 * This symbol encodes the prototype of readdir64_r.
298695c9
JH
4158 * It is zero if d_readdir64_r is undef, and one of the
4159 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
4160 * is defined.
10bc17b6
JH
4161 */
4162/*#define HAS_READDIR64_R / **/
4163#define READDIR64_R_PROTO 0 /**/
4164
4165/* HAS_SETHOSTENT_R:
4166 * This symbol, if defined, indicates that the sethostent_r routine
4167 * is available to sethostent re-entrantly.
4168 */
4169/* SETHOSTENT_R_PROTO:
4170 * This symbol encodes the prototype of sethostent_r.
298695c9
JH
4171 * It is zero if d_sethostent_r is undef, and one of the
4172 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
4173 * is defined.
10bc17b6
JH
4174 */
4175/*#define HAS_SETHOSTENT_R / **/
4176#define SETHOSTENT_R_PROTO 0 /**/
4177
4178/* HAS_SETLOCALE_R:
4179 * This symbol, if defined, indicates that the setlocale_r routine
4180 * is available to setlocale re-entrantly.
4181 */
4182/* SETLOCALE_R_PROTO:
4183 * This symbol encodes the prototype of setlocale_r.
298695c9
JH
4184 * It is zero if d_setlocale_r is undef, and one of the
4185 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
4186 * is defined.
10bc17b6
JH
4187 */
4188/*#define HAS_SETLOCALE_R / **/
4189#define SETLOCALE_R_PROTO 0 /**/
4190
4191/* HAS_SETNETENT_R:
4192 * This symbol, if defined, indicates that the setnetent_r routine
4193 * is available to setnetent re-entrantly.
4194 */
4195/* SETNETENT_R_PROTO:
4196 * This symbol encodes the prototype of setnetent_r.
298695c9
JH
4197 * It is zero if d_setnetent_r is undef, and one of the
4198 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
4199 * is defined.
10bc17b6
JH
4200 */
4201/*#define HAS_SETNETENT_R / **/
4202#define SETNETENT_R_PROTO 0 /**/
4203
4204/* HAS_SETPROTOENT_R:
4205 * This symbol, if defined, indicates that the setprotoent_r routine
4206 * is available to setprotoent re-entrantly.
4207 */
4208/* SETPROTOENT_R_PROTO:
4209 * This symbol encodes the prototype of setprotoent_r.
298695c9
JH
4210 * It is zero if d_setprotoent_r is undef, and one of the
4211 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
4212 * is defined.
10bc17b6
JH
4213 */
4214/*#define HAS_SETPROTOENT_R / **/
4215#define SETPROTOENT_R_PROTO 0 /**/
4216
4217/* HAS_SETSERVENT_R:
4218 * This symbol, if defined, indicates that the setservent_r routine
4219 * is available to setservent re-entrantly.
4220 */
4221/* SETSERVENT_R_PROTO:
4222 * This symbol encodes the prototype of setservent_r.
298695c9
JH
4223 * It is zero if d_setservent_r is undef, and one of the
4224 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
4225 * is defined.
10bc17b6
JH
4226 */
4227/*#define HAS_SETSERVENT_R / **/
4228#define SETSERVENT_R_PROTO 0 /**/
4229
4230/* HAS_TTYNAME_R:
4231 * This symbol, if defined, indicates that the ttyname_r routine
4232 * is available to ttyname re-entrantly.
4233 */
4234/* TTYNAME_R_PROTO:
4235 * This symbol encodes the prototype of ttyname_r.
298695c9
JH
4236 * It is zero if d_ttyname_r is undef, and one of the
4237 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
4238 * is defined.
10bc17b6
JH
4239 */
4240/*#define HAS_TTYNAME_R / **/
4241#define TTYNAME_R_PROTO 0 /**/
4242
3ebb1980 4243#endif