This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
One more spot to list perlfreebsd and perlirix.
[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
1796 * the GNU C library is being used.
1797 */
1798/*#define HAS_GNULIBC / **/
1799#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1800# define _GNU_SOURCE
1801#endif
3ebb1980
JH
1802/* HAS_HASMNTOPT:
1803 * This symbol, if defined, indicates that the hasmntopt routine is
1804 * available to query the mount options of file systems.
1805 */
1806/*#define HAS_HASMNTOPT / **/
1807
a838cfe5
JH
1808/* HAS_HTONL:
1809 * This symbol, if defined, indicates that the htonl() routine (and
1810 * friends htons() ntohl() ntohs()) are available to do network
1811 * order byte swapping.
1812 */
1813/* HAS_HTONS:
1814 * This symbol, if defined, indicates that the htons() routine (and
1815 * friends htonl() ntohl() ntohs()) are available to do network
1816 * order byte swapping.
1817 */
1818/* HAS_NTOHL:
1819 * This symbol, if defined, indicates that the ntohl() routine (and
1820 * friends htonl() htons() ntohs()) are available to do network
1821 * order byte swapping.
1822 */
1823/* HAS_NTOHS:
1824 * This symbol, if defined, indicates that the ntohs() routine (and
1825 * friends htonl() htons() ntohl()) are available to do network
1826 * order byte swapping.
1827 */
1828/*#define HAS_HTONL / **/
1829/*#define HAS_HTONS / **/
1830/*#define HAS_NTOHL / **/
1831/*#define HAS_NTOHS / **/
1832
3ebb1980
JH
1833/* HAS_INT64_T:
1834 * This symbol will defined if the C compiler supports int64_t.
1835 * Usually the <inttypes.h> needs to be included, but sometimes
1836 * <sys/types.h> is enough.
1837 */
1838/*#define HAS_INT64_T / **/
1839
a838cfe5
JH
1840/* HAS_ISASCII:
1841 * This manifest constant lets the C program know that isascii
1842 * is available.
1843 */
1844/*#define HAS_ISASCII / **/
1845
758a5d79
JH
1846/* HAS_ISFINITE:
1847 * This symbol, if defined, indicates that the isfinite routine is
1848 * available to check whether a double is finite (non-infinity non-NaN).
1849 */
1850/*#define HAS_ISFINITE / **/
1851
1852/* HAS_ISINF:
1853 * This symbol, if defined, indicates that the isinf routine is
1854 * available to check whether a double is an infinity.
1855 */
1856/*#define HAS_ISINF / **/
1857
3ebb1980
JH
1858/* HAS_ISNAN:
1859 * This symbol, if defined, indicates that the isnan routine is
1860 * available to check whether a double is a NaN.
1861 */
1862/*#define HAS_ISNAN / **/
1863
e9a8643a
JH
1864/* HAS_ISNANL:
1865 * This symbol, if defined, indicates that the isnanl routine is
1866 * available to check whether a long double is a NaN.
3ebb1980 1867 */
a838cfe5
JH
1868/*#define HAS_ISNANL / **/
1869
1870/* HAS_LCHOWN:
1871 * This symbol, if defined, indicates that the lchown routine is
1872 * available to operate on a symbolic link (instead of following the
1873 * link).
1874 */
1875/*#define HAS_LCHOWN / **/
1876
1877/* HAS_LDBL_DIG:
1878 * This symbol, if defined, indicates that this system's <float.h>
1879 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1880 * of significant digits in a long double precision number. Unlike
1881 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1882 */
1883/*#define HAS_LDBL_DIG / * */
1884
10bc17b6
JH
1885/* HAS_LOCALTIME_R:
1886 * This symbol, if defined, indicates that the localtime_r routine
1887 * is available to localtime re-entrantly.
1888 */
1889/* LOCALTIME_R_PROTO:
1890 * This symbol encodes the prototype of localtime_r.
298695c9
JH
1891 * It is zero if d_localtime_r is undef, and one of the
1892 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1893 * is defined.
10bc17b6
JH
1894 */
1895/*#define HAS_LOCALTIME_R / **/
1896#define LOCALTIME_R_PROTO 0 /**/
1897
a838cfe5
JH
1898/* HAS_LONG_DOUBLE:
1899 * This symbol will be defined if the C compiler supports long
1900 * doubles.
1901 */
1902/* LONG_DOUBLESIZE:
1903 * This symbol contains the size of a long double, so that the
1904 * C preprocessor can make decisions based on it. It is only
1905 * defined if the system supports long doubles.
1906 */
1907/*#define HAS_LONG_DOUBLE / **/
1908#ifdef HAS_LONG_DOUBLE
1909#define LONG_DOUBLESIZE 8 /**/
1910#endif
1911
1912/* HAS_LONG_LONG:
1913 * This symbol will be defined if the C compiler supports long long.
1914 */
1915/* LONGLONGSIZE:
1916 * This symbol contains the size of a long long, so that the
1917 * C preprocessor can make decisions based on it. It is only
1918 * defined if the system supports long long.
1919 */
1920/*#define HAS_LONG_LONG / **/
1921#ifdef HAS_LONG_LONG
1922#define LONGLONGSIZE 8 /**/
1923#endif
3ebb1980 1924
a838cfe5
JH
1925/* HAS_LSEEK_PROTO:
1926 * This symbol, if defined, indicates that the system provides
1927 * a prototype for the lseek() function. Otherwise, it is up
1928 * to the program to supply one. A good guess is
1929 * extern off_t lseek(int, off_t, int);
3ebb1980 1930 */
a838cfe5 1931/*#define HAS_LSEEK_PROTO / **/
3ebb1980
JH
1932
1933/* HAS_MADVISE:
1934 * This symbol, if defined, indicates that the madvise system call is
1935 * available to map a file into memory.
1936 */
1937/*#define HAS_MADVISE / **/
1938
a838cfe5
JH
1939/* HAS_MEMCHR:
1940 * This symbol, if defined, indicates that the memchr routine is available
1941 * to locate characters within a C string.
1942 */
1943/*#define HAS_MEMCHR / **/
1944
3ebb1980
JH
1945/* HAS_MKDTEMP:
1946 * This symbol, if defined, indicates that the mkdtemp routine is
1947 * available to exclusively create a uniquely named temporary directory.
1948 */
1949/*#define HAS_MKDTEMP / **/
1950
a838cfe5
JH
1951/* HAS_MKSTEMP:
1952 * This symbol, if defined, indicates that the mkstemp routine is
1953 * available to exclusively create and open a uniquely named
1954 * temporary file.
1955 */
1956/*#define HAS_MKSTEMP / **/
1957
3ebb1980
JH
1958/* HAS_MKSTEMPS:
1959 * This symbol, if defined, indicates that the mkstemps routine is
1960 * available to excluslvely create and open a uniquely named
1961 * (with a suffix) temporary file.
1962 */
1963/*#define HAS_MKSTEMPS / **/
1964
a838cfe5
JH
1965/* HAS_MMAP:
1966 * This symbol, if defined, indicates that the mmap system call is
1967 * available to map a file into memory.
1968 */
1969/* Mmap_t:
1970 * This symbol holds the return type of the mmap() system call
1971 * (and simultaneously the type of the first argument).
1972 * Usually set to 'void *' or 'cadd_t'.
1973 */
1974/*#define HAS_MMAP / **/
1975#define Mmap_t /**/
1976
3ebb1980
JH
1977/* HAS_MODFL:
1978 * This symbol, if defined, indicates that the modfl routine is
1979 * available to split a long double x into a fractional part f and
1980 * an integer part i such that |f| < 1.0 and (f + i) = x.
1981 */
e67aeab1
JH
1982/* HAS_MODFL_POW32_BUG:
1983 * This symbol, if defined, indicates that the modfl routine is
1984 * broken for long doubles >= pow(2, 32).
1985 * For example from 4294967303.150000 one would get 4294967302.000000
1986 * and 1.150000. The bug has been seen in certain versions of glibc,
1987 * release 2.2.2 is known to be okay.
1988 */
3ebb1980 1989/*#define HAS_MODFL / **/
e67aeab1 1990/*#define HAS_MODFL_POW32_BUG / **/
3ebb1980
JH
1991
1992/* HAS_MPROTECT:
1993 * This symbol, if defined, indicates that the mprotect system call is
1994 * available to modify the access protection of a memory mapped file.
1995 */
1996/*#define HAS_MPROTECT / **/
1997
a838cfe5
JH
1998/* HAS_MSG:
1999 * This symbol, if defined, indicates that the entire msg*(2) library is
2000 * supported (IPC mechanism based on message queues).
2001 */
2002/*#define HAS_MSG / **/
2003
4e0554ec
JH
2004/* HAS_STRUCT_MSGHDR:
2005 * This symbol, if defined, indicates that the struct msghdr
2006 * is supported.
2007 */
2008/*#define HAS_STRUCT_MSGHDR / **/
2009
3ebb1980
JH
2010/* HAS_OFF64_T:
2011 * This symbol will be defined if the C compiler supports off64_t.
2012 */
2013/*#define HAS_OFF64_T / **/
2014
a838cfe5
JH
2015/* HAS_OPEN3:
2016 * This manifest constant lets the C program know that the three
2017 * argument form of open(2) is available.
2018 */
2019/*#define HAS_OPEN3 / **/
2020
2021/* OLD_PTHREAD_CREATE_JOINABLE:
2022 * This symbol, if defined, indicates how to create pthread
2023 * in joinable (aka undetached) state. NOTE: not defined
2024 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2025 * (the new version of the constant).
2026 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2027 * and __UNDETACHED.
2028 */
2029/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2030
2031/* HAS_PTHREAD_YIELD:
2032 * This symbol, if defined, indicates that the pthread_yield
2033 * routine is available to yield the execution of the current
2034 * thread. sched_yield is preferable to pthread_yield.
2035 */
2036/* SCHED_YIELD:
2037 * This symbol defines the way to yield the execution of
2038 * the current thread. Known ways are sched_yield,
2039 * pthread_yield, and pthread_yield with NULL.
2040 */
2041/* HAS_SCHED_YIELD:
2042 * This symbol, if defined, indicates that the sched_yield
2043 * routine is available to yield the execution of the current
2044 * thread. sched_yield is preferable to pthread_yield.
2045 */
2046/*#define HAS_PTHREAD_YIELD / **/
2047#define SCHED_YIELD sched_yield() /**/
2048/*#define HAS_SCHED_YIELD / **/
2049
10bc17b6
JH
2050/* HAS_RANDOM_R:
2051 * This symbol, if defined, indicates that the random_r routine
2052 * is available to random re-entrantly.
2053 */
2054/* RANDOM_R_PROTO:
2055 * This symbol encodes the prototype of random_r.
298695c9
JH
2056 * It is zero if d_random_r is undef, and one of the
2057 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2058 * is defined.
10bc17b6
JH
2059 */
2060/*#define HAS_RANDOM_R / **/
2061#define RANDOM_R_PROTO 0 /**/
2062
2063/* HAS_READDIR_R:
2064 * This symbol, if defined, indicates that the readdir_r routine
2065 * is available to readdir re-entrantly.
2066 */
2067/* READDIR_R_PROTO:
2068 * This symbol encodes the prototype of readdir_r.
298695c9
JH
2069 * It is zero if d_readdir_r is undef, and one of the
2070 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2071 * is defined.
10bc17b6
JH
2072 */
2073/*#define HAS_READDIR_R / **/
2074#define READDIR_R_PROTO 0 /**/
2075
4e0554ec
JH
2076/* HAS_READV:
2077 * This symbol, if defined, indicates that the readv routine is
2078 * available to do gather reads. You will also need <sys/uio.h>
2079 * and there I_SYSUIO.
2080 */
2081/*#define HAS_READV / **/
2082
2083/* HAS_RECVMSG:
2084 * This symbol, if defined, indicates that the recvmsg routine is
2085 * available to send structured socket messages.
2086 */
2087/*#define HAS_RECVMSG / **/
2088
a838cfe5
JH
2089/* HAS_SAFE_BCOPY:
2090 * This symbol, if defined, indicates that the bcopy routine is available
2091 * to copy potentially overlapping memory blocks. Normally, you should
2092 * probably use memmove() or memcpy(). If neither is defined, roll your
2093 * own version.
2094 */
2095/*#define HAS_SAFE_BCOPY / **/
2096
2097/* HAS_SAFE_MEMCPY:
2098 * This symbol, if defined, indicates that the memcpy routine is available
2099 * to copy potentially overlapping memory blocks. If you need to
2100 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2101 * use memmove() instead, if available.
2102 */
2103/*#define HAS_SAFE_MEMCPY / **/
2104
2105/* HAS_SANE_MEMCMP:
2106 * This symbol, if defined, indicates that the memcmp routine is available
2107 * and can be used to compare relative magnitudes of chars with their high
2108 * bits set. If it is not defined, roll your own version.
2109 */
2110/*#define HAS_SANE_MEMCMP / **/
2111
a7fea17f
JH
2112/* HAS_SBRK_PROTO:
2113 * This symbol, if defined, indicates that the system provides
2114 * a prototype for the sbrk() function. Otherwise, it is up
2115 * to the program to supply one. Good guesses are
c68a00c0
JH
2116 * extern void* sbrk(int);
2117 * extern void* sbrk(size_t);
a7fea17f 2118 */
a838cfe5
JH
2119/*#define HAS_SBRK_PROTO / **/
2120
2121/* HAS_SEM:
2122 * This symbol, if defined, indicates that the entire sem*(2) library is
2123 * supported.
2124 */
2125/*#define HAS_SEM / **/
2126
2127/* HAS_SENDMSG:
2128 * This symbol, if defined, indicates that the sendmsg routine is
2129 * available to send structured socket messages.
2130 */
2131/*#define HAS_SENDMSG / **/
2132
2133/* HAS_SETGRENT:
2134 * This symbol, if defined, indicates that the setgrent routine is
2135 * available for initializing sequential access of the group database.
2136 */
2137/*#define HAS_SETGRENT / **/
2138
10bc17b6
JH
2139/* HAS_SETGRENT_R:
2140 * This symbol, if defined, indicates that the setgrent_r routine
2141 * is available to setgrent re-entrantly.
2142 */
2143/* SETGRENT_R_PROTO:
2144 * This symbol encodes the prototype of setgrent_r.
298695c9
JH
2145 * It is zero if d_setgrent_r is undef, and one of the
2146 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2147 * is defined.
10bc17b6
JH
2148 */
2149/*#define HAS_SETGRENT_R / **/
2150#define SETGRENT_R_PROTO 0 /**/
2151
a838cfe5
JH
2152/* HAS_SETGROUPS:
2153 * This symbol, if defined, indicates that the setgroups() routine is
2154 * available to set the list of process groups. If unavailable, multiple
2155 * groups are probably not supported.
2156 */
2157/*#define HAS_SETGROUPS / **/
2158
2159/* HAS_SETHOSTENT:
2160 * This symbol, if defined, indicates that the sethostent() routine is
2161 * available.
2162 */
2163/*#define HAS_SETHOSTENT / **/
2164
2165/* HAS_SETITIMER:
2166 * This symbol, if defined, indicates that the setitimer routine is
2167 * available to set interval timers.
2168 */
2169/*#define HAS_SETITIMER / **/
2170
2171/* HAS_SETNETENT:
2172 * This symbol, if defined, indicates that the setnetent() routine is
2173 * available.
2174 */
2175/*#define HAS_SETNETENT / **/
2176
2177/* HAS_SETPROTOENT:
2178 * This symbol, if defined, indicates that the setprotoent() routine is
2179 * available.
2180 */
2181/*#define HAS_SETPROTOENT / **/
2182
2183/* HAS_SETPGRP:
2184 * This symbol, if defined, indicates that the setpgrp routine is
2185 * available to set the current process group.
2186 */
2187/* USE_BSD_SETPGRP:
2188 * This symbol, if defined, indicates that setpgrp needs two
2189 * arguments whereas USG one needs none. See also HAS_SETPGID
2190 * for a POSIX interface.
2191 */
2192/*#define HAS_SETPGRP / **/
2193/*#define USE_BSD_SETPGRP / **/
2194
2195/* HAS_SETPROCTITLE:
2196 * This symbol, if defined, indicates that the setproctitle routine is
2197 * available to set process title.
2198 */
2199/*#define HAS_SETPROCTITLE / **/
2200
2201/* HAS_SETPWENT:
2202 * This symbol, if defined, indicates that the setpwent routine is
2203 * available for initializing sequential access of the passwd database.
2204 */
2205/*#define HAS_SETPWENT / **/
2206
10bc17b6
JH
2207/* HAS_SETPWENT_R:
2208 * This symbol, if defined, indicates that the setpwent_r routine
2209 * is available to setpwent re-entrantly.
2210 */
2211/* SETPWENT_R_PROTO:
2212 * This symbol encodes the prototype of setpwent_r.
298695c9
JH
2213 * It is zero if d_setpwent_r is undef, and one of the
2214 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2215 * is defined.
10bc17b6
JH
2216 */
2217/*#define HAS_SETPWENT_R / **/
2218#define SETPWENT_R_PROTO 0 /**/
2219
a838cfe5
JH
2220/* HAS_SETSERVENT:
2221 * This symbol, if defined, indicates that the setservent() routine is
2222 * available.
2223 */
2224/*#define HAS_SETSERVENT / **/
2225
2226/* HAS_SETVBUF:
2227 * This symbol, if defined, indicates that the setvbuf routine is
2228 * available to change buffering on an open stdio stream.
2229 * to a line-buffered mode.
2230 */
2231/*#define HAS_SETVBUF / **/
2232
2233/* USE_SFIO:
2234 * This symbol, if defined, indicates that sfio should
2235 * be used.
2236 */
2237/*#define USE_SFIO / **/
2238
2239/* HAS_SHM:
2240 * This symbol, if defined, indicates that the entire shm*(2) library is
2241 * supported.
2242 */
2243/*#define HAS_SHM / **/
2244
2245/* HAS_SIGACTION:
2246 * This symbol, if defined, indicates that Vr4's sigaction() routine
2247 * is available.
2248 */
2249/*#define HAS_SIGACTION / **/
2250
2251/* HAS_SIGSETJMP:
2252 * This variable indicates to the C program that the sigsetjmp()
2253 * routine is available to save the calling process's registers
2254 * and stack environment for later use by siglongjmp(), and
2255 * to optionally save the process's signal mask. See
2256 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2257 */
2258/* Sigjmp_buf:
2259 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2260 */
2261/* Sigsetjmp:
2262 * This macro is used in the same way as sigsetjmp(), but will invoke
2263 * traditional setjmp() if sigsetjmp isn't available.
2264 * See HAS_SIGSETJMP.
2265 */
2266/* Siglongjmp:
2267 * This macro is used in the same way as siglongjmp(), but will invoke
2268 * traditional longjmp() if siglongjmp isn't available.
2269 * See HAS_SIGSETJMP.
2270 */
2271/*#define HAS_SIGSETJMP / **/
2272#ifdef HAS_SIGSETJMP
2273#define Sigjmp_buf sigjmp_buf
2274#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2275#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2276#else
2277#define Sigjmp_buf jmp_buf
2278#define Sigsetjmp(buf,save_mask) setjmp((buf))
2279#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2280#endif
2281
2282/* HAS_SOCKET:
2283 * This symbol, if defined, indicates that the BSD socket interface is
2284 * supported.
2285 */
2286/* HAS_SOCKETPAIR:
2287 * This symbol, if defined, indicates that the BSD socketpair() call is
2288 * supported.
3ebb1980 2289 */
a838cfe5
JH
2290/* HAS_MSG_CTRUNC:
2291 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2292 * Checking just with #ifdef might not be enough because this symbol
2293 * has been known to be an enum.
3ebb1980 2294 */
a838cfe5
JH
2295/* HAS_MSG_DONTROUTE:
2296 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2297 * Checking just with #ifdef might not be enough because this symbol
2298 * has been known to be an enum.
3ebb1980 2299 */
a838cfe5
JH
2300/* HAS_MSG_OOB:
2301 * This symbol, if defined, indicates that the MSG_OOB is supported.
2302 * Checking just with #ifdef might not be enough because this symbol
2303 * has been known to be an enum.
3ebb1980 2304 */
a838cfe5
JH
2305/* HAS_MSG_PEEK:
2306 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2307 * Checking just with #ifdef might not be enough because this symbol
2308 * has been known to be an enum.
3ebb1980 2309 */
a838cfe5
JH
2310/* HAS_MSG_PROXY:
2311 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2312 * Checking just with #ifdef might not be enough because this symbol
2313 * has been known to be an enum.
3ebb1980 2314 */
a838cfe5
JH
2315/* HAS_SCM_RIGHTS:
2316 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2317 * Checking just with #ifdef might not be enough because this symbol
2318 * has been known to be an enum.
3ebb1980 2319 */
a838cfe5
JH
2320/*#define HAS_SOCKET / **/
2321/*#define HAS_SOCKETPAIR / **/
2322/*#define HAS_MSG_CTRUNC / **/
2323/*#define HAS_MSG_DONTROUTE / **/
2324/*#define HAS_MSG_OOB / **/
2325/*#define HAS_MSG_PEEK / **/
2326/*#define HAS_MSG_PROXY / **/
2327/*#define HAS_SCM_RIGHTS / **/
3ebb1980 2328
1b9c9cf5
DH
2329/* HAS_SOCKS5_INIT:
2330 * This symbol, if defined, indicates that the socks5_init routine is
2331 * available to initialize SOCKS 5.
2332 */
2333/*#define HAS_SOCKS5_INIT / **/
2334
3ebb1980
JH
2335/* HAS_SQRTL:
2336 * This symbol, if defined, indicates that the sqrtl routine is
2337 * available to do long double square roots.
2338 */
2339/*#define HAS_SQRTL / **/
2340
10bc17b6
JH
2341/* HAS_SRAND48_R:
2342 * This symbol, if defined, indicates that the srand48_r routine
2343 * is available to srand48 re-entrantly.
2344 */
2345/* SRAND48_R_PROTO:
2346 * This symbol encodes the prototype of srand48_r.
298695c9
JH
2347 * It is zero if d_srand48_r is undef, and one of the
2348 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2349 * is defined.
10bc17b6
JH
2350 */
2351/*#define HAS_SRAND48_R / **/
2352#define SRAND48_R_PROTO 0 /**/
2353
2354/* HAS_SRANDOM_R:
2355 * This symbol, if defined, indicates that the srandom_r routine
2356 * is available to srandom re-entrantly.
2357 */
2358/* SRANDOM_R_PROTO:
2359 * This symbol encodes the prototype of srandom_r.
298695c9
JH
2360 * It is zero if d_srandom_r is undef, and one of the
2361 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2362 * is defined.
10bc17b6
JH
2363 */
2364/*#define HAS_SRANDOM_R / **/
2365#define SRANDOM_R_PROTO 0 /**/
2366
a838cfe5
JH
2367/* USE_STAT_BLOCKS:
2368 * This symbol is defined if this system has a stat structure declaring
2369 * st_blksize and st_blocks.
e9a8643a 2370 */
a838cfe5
JH
2371#ifndef USE_STAT_BLOCKS
2372/*#define USE_STAT_BLOCKS / **/
2373#endif
3ebb1980
JH
2374
2375/* HAS_STRUCT_STATFS_F_FLAGS:
2376 * This symbol, if defined, indicates that the struct statfs
2377 * does have the f_flags member containing the mount flags of
2378 * the filesystem containing the file.
2379 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2380 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2381 * have statfs() and struct statfs, they have ustat() and getmnt()
2382 * with struct ustat and struct fs_data.
2383 */
2384/*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2385
2386/* HAS_STRUCT_STATFS:
2387 * This symbol, if defined, indicates that the struct statfs
2388 * to do statfs() is supported.
2389 */
2390/*#define HAS_STRUCT_STATFS / **/
2391
2392/* HAS_FSTATVFS:
2393 * This symbol, if defined, indicates that the fstatvfs routine is
2394 * available to stat filesystems by file descriptors.
2395 */
2396/*#define HAS_FSTATVFS / **/
2397
a838cfe5
JH
2398/* USE_STDIO_PTR:
2399 * This symbol is defined if the _ptr and _cnt fields (or similar)
2400 * of the stdio FILE structure can be used to access the stdio buffer
2401 * for a file handle. If this is defined, then the FILE_ptr(fp)
2402 * and FILE_cnt(fp) macros will also be defined and should be used
2403 * to access these fields.
3ebb1980 2404 */
a838cfe5
JH
2405/* FILE_ptr:
2406 * This macro is used to access the _ptr field (or equivalent) of the
2407 * FILE structure pointed to by its argument. This macro will always be
2408 * defined if USE_STDIO_PTR is defined.
2409 */
2410/* STDIO_PTR_LVALUE:
2411 * This symbol is defined if the FILE_ptr macro can be used as an
2412 * lvalue.
2413 */
2414/* FILE_cnt:
2415 * This macro is used to access the _cnt field (or equivalent) of the
2416 * FILE structure pointed to by its argument. This macro will always be
2417 * defined if USE_STDIO_PTR is defined.
2418 */
2419/* STDIO_CNT_LVALUE:
2420 * This symbol is defined if the FILE_cnt macro can be used as an
2421 * lvalue.
2422 */
2423/* STDIO_PTR_LVAL_SETS_CNT:
2424 * This symbol is defined if using the FILE_ptr macro as an lvalue
2425 * to increase the pointer by n has the side effect of decreasing the
2426 * value of File_cnt(fp) by n.
2427 */
2428/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2429 * This symbol is defined if using the FILE_ptr macro as an lvalue
2430 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2431 */
2432/*#define USE_STDIO_PTR / **/
2433#ifdef USE_STDIO_PTR
2434#define FILE_ptr(fp) ((fp)->_IO_read_ptr)
2435/*#define STDIO_PTR_LVALUE / **/
2436#define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
2437/*#define STDIO_CNT_LVALUE / **/
2438/*#define STDIO_PTR_LVAL_SETS_CNT / **/
2439/*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
2440#endif
2441
2442/* USE_STDIO_BASE:
2443 * This symbol is defined if the _base field (or similar) of the
2444 * stdio FILE structure can be used to access the stdio buffer for
2445 * a file handle. If this is defined, then the FILE_base(fp) macro
2446 * will also be defined and should be used to access this field.
2447 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2448 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2449 * will never be defined unless USE_STDIO_PTR is.
2450 */
2451/* FILE_base:
2452 * This macro is used to access the _base field (or equivalent) of the
2453 * FILE structure pointed to by its argument. This macro will always be
2454 * defined if USE_STDIO_BASE is defined.
2455 */
2456/* FILE_bufsiz:
2457 * This macro is used to determine the number of bytes in the I/O
2458 * buffer pointed to by _base field (or equivalent) of the FILE
2459 * structure pointed to its argument. This macro will always be defined
2460 * if USE_STDIO_BASE is defined.
2461 */
2462/*#define USE_STDIO_BASE / **/
2463#ifdef USE_STDIO_BASE
2464#define FILE_base(fp) ((fp)->_IO_read_base)
2465#define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
2466#endif
2467
2468/* HAS_STRERROR:
2469 * This symbol, if defined, indicates that the strerror routine is
2470 * available to translate error numbers to strings. See the writeup
2471 * of Strerror() in this file before you try to define your own.
2472 */
2473/* HAS_SYS_ERRLIST:
2474 * This symbol, if defined, indicates that the sys_errlist array is
2475 * available to translate error numbers to strings. The extern int
2476 * sys_nerr gives the size of that table.
2477 */
2478/* Strerror:
2479 * This preprocessor symbol is defined as a macro if strerror() is
2480 * not available to translate error numbers to strings but sys_errlist[]
2481 * array is there.
2482 */
2483/*#define HAS_STRERROR / **/
2484/*#define HAS_SYS_ERRLIST / **/
2485#define Strerror(e) strerror(e)
3ebb1980 2486
10bc17b6
JH
2487/* HAS_STRERROR_R:
2488 * This symbol, if defined, indicates that the strerror_r routine
2489 * is available to strerror re-entrantly.
2490 */
2491/* STRERROR_R_PROTO:
2492 * This symbol encodes the prototype of strerror_r.
298695c9
JH
2493 * It is zero if d_strerror_r is undef, and one of the
2494 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2495 * is defined.
10bc17b6
JH
2496 */
2497/*#define HAS_STRERROR_R / **/
2498#define STRERROR_R_PROTO 0 /**/
2499
3ebb1980
JH
2500/* HAS_STRTOLD:
2501 * This symbol, if defined, indicates that the strtold routine is
2502 * available to convert strings to long doubles.
2503 */
2504/*#define HAS_STRTOLD / **/
2505
2506/* HAS_STRTOLL:
2507 * This symbol, if defined, indicates that the strtoll routine is
2508 * available to convert strings to long longs.
2509 */
2510/*#define HAS_STRTOLL / **/
2511
d0e6d399
NC
2512/* HAS_STRTOQ:
2513 * This symbol, if defined, indicates that the strtoq routine is
2514 * available to convert strings to long longs (quads).
2515 */
ef71a6f5 2516/*#define HAS_STRTOQ / **/
28e5dec8 2517
a838cfe5
JH
2518/* HAS_STRTOUL:
2519 * This symbol, if defined, indicates that the strtoul routine is
2520 * available to provide conversion of strings to unsigned long.
2521 */
2522/*#define HAS_STRTOUL / **/
2523
3ebb1980
JH
2524/* HAS_STRTOULL:
2525 * This symbol, if defined, indicates that the strtoull routine is
2526 * available to convert strings to unsigned long longs.
2527 */
2528/*#define HAS_STRTOULL / **/
2529
2530/* HAS_STRTOUQ:
2531 * This symbol, if defined, indicates that the strtouq routine is
2532 * available to convert strings to unsigned long longs (quads).
2533 */
2534/*#define HAS_STRTOUQ / **/
2535
2536/* HAS_TELLDIR_PROTO:
2537 * This symbol, if defined, indicates that the system provides
2538 * a prototype for the telldir() function. Otherwise, it is up
2539 * to the program to supply one. A good guess is
c68a00c0 2540 * extern long telldir(DIR*);
3ebb1980
JH
2541 */
2542/*#define HAS_TELLDIR_PROTO / **/
2543
089ffa16
JH
2544/* HAS_TIME:
2545 * This symbol, if defined, indicates that the time() routine exists.
2546 */
a838cfe5
JH
2547/* Time_t:
2548 * This symbol holds the type returned by time(). It can be long,
2549 * or time_t on BSD sites (in which case <sys/types.h> should be
2550 * included).
3ebb1980 2551 */
089ffa16
JH
2552#define HAS_TIME /**/
2553#define Time_t time_t /* Time type */
a838cfe5
JH
2554
2555/* HAS_TIMES:
2556 * This symbol, if defined, indicates that the times() routine exists.
2557 * Note that this became obsolete on some systems (SUNOS), which now
2558 * use getrusage(). It may be necessary to include <sys/times.h>.
2559 */
2560/*#define HAS_TIMES / **/
3ebb1980 2561
10bc17b6
JH
2562/* HAS_TMPNAM_R:
2563 * This symbol, if defined, indicates that the tmpnam_r routine
2564 * is available to tmpnam re-entrantly.
2565 */
2566/* TMPNAM_R_PROTO:
2567 * This symbol encodes the prototype of tmpnam_r.
298695c9
JH
2568 * It is zero if d_tmpnam_r is undef, and one of the
2569 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2570 * is defined.
10bc17b6
JH
2571 */
2572/*#define HAS_TMPNAM_R / **/
2573#define TMPNAM_R_PROTO 0 /**/
2574
4e0554ec
JH
2575/* HAS_UALARM:
2576 * This symbol, if defined, indicates that the ualarm routine is
2577 * available to do alarms with microsecond granularity.
2578 */
2579/*#define HAS_UALARM / **/
2580
a838cfe5
JH
2581/* HAS_UNION_SEMUN:
2582 * This symbol, if defined, indicates that the union semun is
2583 * defined by including <sys/sem.h>. If not, the user code
2584 * probably needs to define it as:
2585 * union semun {
2586 * int val;
2587 * struct semid_ds *buf;
2588 * unsigned short *array;
2589 * }
2590 */
2591/* USE_SEMCTL_SEMUN:
2592 * This symbol, if defined, indicates that union semun is
2593 * used for semctl IPC_STAT.
2594 */
2595/* USE_SEMCTL_SEMID_DS:
2596 * This symbol, if defined, indicates that struct semid_ds * is
2597 * used for semctl IPC_STAT.
2598 */
2599/*#define HAS_UNION_SEMUN / **/
2600/*#define USE_SEMCTL_SEMUN / **/
2601/*#define USE_SEMCTL_SEMID_DS / **/
2602
758a5d79
JH
2603/* HAS_UNORDERED:
2604 * This symbol, if defined, indicates that the unordered routine is
2605 * available to check whether two doubles are unordered
2606 * (effectively: whether either of them is NaN)
2607 */
2608/*#define HAS_UNORDERED / **/
2609
a838cfe5
JH
2610/* HAS_USTAT:
2611 * This symbol, if defined, indicates that the ustat system call is
2612 * available to query file system statistics by dev_t.
2613 */
2614/*#define HAS_USTAT / **/
2615
2616/* HAS_VFORK:
2617 * This symbol, if defined, indicates that vfork() exists.
2618 */
2619/*#define HAS_VFORK / **/
2620
2621/* Signal_t:
2622 * This symbol's value is either "void" or "int", corresponding to the
2623 * appropriate return type of a signal handler. Thus, you can declare
2624 * a signal handler using "Signal_t (*handler)()", and define the
2625 * handler using "Signal_t handler(sig)".
3ebb1980 2626 */
a838cfe5 2627#define Signal_t int /* Signal handler's return type */
e9a8643a 2628
a838cfe5
JH
2629/* HAS_VPRINTF:
2630 * This symbol, if defined, indicates that the vprintf routine is available
2631 * to printf with a pointer to an argument list. If unavailable, you
2632 * may need to write your own, probably in terms of _doprnt().
3ebb1980 2633 */
a838cfe5
JH
2634/* USE_CHAR_VSPRINTF:
2635 * This symbol is defined if this system has vsprintf() returning type
2636 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2637 * is up to the package author to declare vsprintf correctly based on the
2638 * symbol.
2639 */
2640#define HAS_VPRINTF /**/
2641/*#define USE_CHAR_VSPRINTF / **/
3ebb1980 2642
4e0554ec
JH
2643/* HAS_WRITEV:
2644 * This symbol, if defined, indicates that the writev routine is
2645 * available to do scatter writes.
2646 */
2647/*#define HAS_WRITEV / **/
2648
3ebb1980
JH
2649/* USE_DYNAMIC_LOADING:
2650 * This symbol, if defined, indicates that dynamic loading of
2651 * some sort is available.
2652 */
2653/*#define USE_DYNAMIC_LOADING / **/
2654
a838cfe5
JH
2655/* DOUBLESIZE:
2656 * This symbol contains the size of a double, so that the C preprocessor
2657 * can make decisions based on it.
2658 */
2659#define DOUBLESIZE 8 /**/
2660
2661/* EBCDIC:
2662 * This symbol, if defined, indicates that this system uses
2663 * EBCDIC encoding.
2664 */
2665/*#define EBCDIC / **/
2666
3ebb1980
JH
2667/* FFLUSH_NULL:
2668 * This symbol, if defined, tells that fflush(NULL) does flush
2669 * all pending stdio output.
2670 */
2671/* FFLUSH_ALL:
2672 * This symbol, if defined, tells that to flush
2673 * all pending stdio output one must loop through all
2674 * the stdio file handles stored in an array and fflush them.
2675 * Note that if fflushNULL is defined, fflushall will not
2676 * even be probed for and will be left undefined.
2677 */
2678/*#define FFLUSH_NULL / **/
2679/*#define FFLUSH_ALL / **/
2680
a838cfe5
JH
2681/* Fpos_t:
2682 * This symbol holds the type used to declare file positions in libc.
2683 * It can be fpos_t, long, uint, etc... It may be necessary to include
2684 * <sys/types.h> to get any typedef'ed information.
2685 */
2686#define Fpos_t int /* File position type */
2687
2688/* Gid_t_f:
2689 * This symbol defines the format string used for printing a Gid_t.
2690 */
2691#define Gid_t_f "lu" /**/
2692
2693/* Gid_t_sign:
2694 * This symbol holds the signedess of a Gid_t.
2695 * 1 for unsigned, -1 for signed.
2696 */
2697#define Gid_t_sign 1 /* GID sign */
2698
2699/* Gid_t_size:
2700 * This symbol holds the size of a Gid_t in bytes.
2701 */
2702#define Gid_t_size 4 /* GID size */
2703
2704/* Gid_t:
2705 * This symbol holds the return type of getgid() and the type of
2706 * argument to setrgid() and related functions. Typically,
2707 * it is the type of group ids in the kernel. It can be int, ushort,
2708 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2709 * any typedef'ed information.
2710 */
2711#define Gid_t int /* Type for getgid(), etc... */
2712
2713/* Groups_t:
2714 * This symbol holds the type used for the second argument to
2715 * getgroups() and setgroups(). Usually, this is the same as
2716 * gidtype (gid_t) , but sometimes it isn't.
2717 * It can be int, ushort, gid_t, etc...
2718 * It may be necessary to include <sys/types.h> to get any
2719 * typedef'ed information. This is only required if you have
2720 * getgroups() or setgroups()..
2721 */
2722#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2723#define Groups_t int /* Type for 2nd arg to [sg]etgroups() */
2724#endif
2725
3ebb1980
JH
2726/* DB_Prefix_t:
2727 * This symbol contains the type of the prefix structure element
2728 * in the <db.h> header file. In older versions of DB, it was
2729 * int, while in newer ones it is u_int32_t.
2730 */
2731/* DB_Hash_t:
2732 * This symbol contains the type of the prefix structure element
2733 * in the <db.h> header file. In older versions of DB, it was
2734 * int, while in newer ones it is size_t.
2735 */
640374d0
JH
2736/* DB_VERSION_MAJOR_CFG:
2737 * This symbol, if defined, defines the major version number of
2738 * Berkeley DB found in the <db.h> header when Perl was configured.
2739 */
2740/* DB_VERSION_MINOR_CFG:
2741 * This symbol, if defined, defines the minor version number of
2742 * Berkeley DB found in the <db.h> header when Perl was configured.
2743 * For DB version 1 this is always 0.
2744 */
2745/* DB_VERSION_PATCH_CFG:
2746 * This symbol, if defined, defines the patch version number of
2747 * Berkeley DB found in the <db.h> header when Perl was configured.
2748 * For DB version 1 this is always 0.
2749 */
3ebb1980
JH
2750#define DB_Hash_t u_int32_t /**/
2751#define DB_Prefix_t size_t /**/
640374d0
JH
2752#define DB_VERSION_MAJOR_CFG /**/
2753#define DB_VERSION_MINOR_CFG /**/
2754#define DB_VERSION_PATCH_CFG /**/
3ebb1980 2755
758a5d79
JH
2756/* I_FP_CLASS:
2757 * This symbol, if defined, indicates that <fp_class.h> exists and
2758 * should be included.
2759 */
2760/*#define I_FP_CLASS / **/
2761
a838cfe5
JH
2762/* I_GRP:
2763 * This symbol, if defined, indicates to the C program that it should
2764 * include <grp.h>.
2765 */
2766/* GRPASSWD:
2767 * This symbol, if defined, indicates to the C program that struct group
2768 * in <grp.h> contains gr_passwd.
2769 */
2770/*#define I_GRP / **/
2771/*#define GRPASSWD / **/
2772
3ebb1980
JH
2773/* I_IEEEFP:
2774 * This symbol, if defined, indicates that <ieeefp.h> exists and
2775 * should be included.
2776 */
2777/*#define I_IEEEFP / **/
2778
2779/* I_INTTYPES:
2780 * This symbol, if defined, indicates to the C program that it should
2781 * include <inttypes.h>.
2782 */
2783/*#define I_INTTYPES / **/
2784
1b9c9cf5
DH
2785/* I_LIBUTIL:
2786 * This symbol, if defined, indicates that <libutil.h> exists and
2787 * should be included.
2788 */
2789/*#define I_LIBUTIL / **/
2790
a838cfe5
JH
2791/* I_MACH_CTHREADS:
2792 * This symbol, if defined, indicates to the C program that it should
2793 * include <mach/cthreads.h>.
2794 */
2795/*#define I_MACH_CTHREADS / **/
2796
3ebb1980
JH
2797/* I_MNTENT:
2798 * This symbol, if defined, indicates that <mntent.h> exists and
2799 * should be included.
2800 */
2801/*#define I_MNTENT / **/
2802
a838cfe5
JH
2803/* I_NETDB:
2804 * This symbol, if defined, indicates that <netdb.h> exists and
2805 * should be included.
2806 */
2807/*#define I_NETDB / **/
2808
3ebb1980
JH
2809/* I_NETINET_TCP:
2810 * This symbol, if defined, indicates to the C program that it should
2811 * include <netinet/tcp.h>.
2812 */
2813/*#define I_NETINET_TCP / **/
2814
2815/* I_POLL:
2816 * This symbol, if defined, indicates that <poll.h> exists and
2817 * should be included.
2818 */
2819/*#define I_POLL / **/
2820
2821/* I_PROT:
2822 * This symbol, if defined, indicates that <prot.h> exists and
2823 * should be included.
2824 */
2825/*#define I_PROT / **/
2826
a838cfe5
JH
2827/* I_PTHREAD:
2828 * This symbol, if defined, indicates to the C program that it should
2829 * include <pthread.h>.
2830 */
2831/*#define I_PTHREAD / **/
2832
2833/* I_PWD:
2834 * This symbol, if defined, indicates to the C program that it should
2835 * include <pwd.h>.
2836 */
2837/* PWQUOTA:
2838 * This symbol, if defined, indicates to the C program that struct passwd
2839 * contains pw_quota.
2840 */
2841/* PWAGE:
2842 * This symbol, if defined, indicates to the C program that struct passwd
2843 * contains pw_age.
2844 */
2845/* PWCHANGE:
2846 * This symbol, if defined, indicates to the C program that struct passwd
2847 * contains pw_change.
2848 */
2849/* PWCLASS:
2850 * This symbol, if defined, indicates to the C program that struct passwd
2851 * contains pw_class.
2852 */
2853/* PWEXPIRE:
2854 * This symbol, if defined, indicates to the C program that struct passwd
2855 * contains pw_expire.
2856 */
2857/* PWCOMMENT:
2858 * This symbol, if defined, indicates to the C program that struct passwd
2859 * contains pw_comment.
2860 */
2861/* PWGECOS:
2862 * This symbol, if defined, indicates to the C program that struct passwd
2863 * contains pw_gecos.
2864 */
2865/* PWPASSWD:
2866 * This symbol, if defined, indicates to the C program that struct passwd
2867 * contains pw_passwd.
2868 */
2869/*#define I_PWD / **/
2870/*#define PWQUOTA / **/
2871/*#define PWAGE / **/
2872/*#define PWCHANGE / **/
2873/*#define PWCLASS / **/
2874/*#define PWEXPIRE / **/
2875/*#define PWCOMMENT / **/
2876/*#define PWGECOS / **/
2877/*#define PWPASSWD / **/
2878
3ebb1980
JH
2879/* I_SHADOW:
2880 * This symbol, if defined, indicates that <shadow.h> exists and
2881 * should be included.
2882 */
2883/*#define I_SHADOW / **/
2884
2885/* I_SOCKS:
2886 * This symbol, if defined, indicates that <socks.h> exists and
2887 * should be included.
2888 */
2889/*#define I_SOCKS / **/
2890
2891/* I_SUNMATH:
2892 * This symbol, if defined, indicates that <sunmath.h> exists and
2893 * should be included.
2894 */
2895/*#define I_SUNMATH / **/
2896
2897/* I_SYSLOG:
2898 * This symbol, if defined, indicates that <syslog.h> exists and
2899 * should be included.
2900 */
2901/*#define I_SYSLOG / **/
2902
2903/* I_SYSMODE:
2904 * This symbol, if defined, indicates that <sys/mode.h> exists and
2905 * should be included.
2906 */
2907/*#define I_SYSMODE / **/
2908
2909/* I_SYS_MOUNT:
2910 * This symbol, if defined, indicates that <sys/mount.h> exists and
2911 * should be included.
2912 */
2913/*#define I_SYS_MOUNT / **/
2914
2915/* I_SYS_STATFS:
2916 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2917 */
2918/*#define I_SYS_STATFS / **/
2919
2920/* I_SYS_STATVFS:
2921 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2922 * should be included.
2923 */
2924/*#define I_SYS_STATVFS / **/
2925
a838cfe5
JH
2926/* I_SYSUIO:
2927 * This symbol, if defined, indicates that <sys/uio.h> exists and
2928 * should be included.
2929 */
2930/*#define I_SYSUIO / **/
2931
3ebb1980 2932/* I_SYSUTSNAME:
e9a8643a
JH
2933 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2934 * should be included.
3ebb1980 2935 */
a838cfe5
JH
2936/*#define I_SYSUTSNAME / **/
2937
2938/* I_SYS_VFS:
2939 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2940 * should be included.
2941 */
2942/*#define I_SYS_VFS / **/
2943
2944/* I_TIME:
2945 * This symbol, if defined, indicates to the C program that it should
2946 * include <time.h>.
2947 */
2948/* I_SYS_TIME:
2949 * This symbol, if defined, indicates to the C program that it should
2950 * include <sys/time.h>.
2951 */
2952/* I_SYS_TIME_KERNEL:
2953 * This symbol, if defined, indicates to the C program that it should
2954 * include <sys/time.h> with KERNEL defined.
2955 */
10bc17b6
JH
2956/* HAS_TM_TM_ZONE:
2957 * This symbol, if defined, indicates to the C program that
2958 * the struct tm has a tm_zone field.
2959 */
a838cfe5
JH
2960#define I_TIME /**/
2961/*#define I_SYS_TIME / **/
2962/*#define I_SYS_TIME_KERNEL / **/
10bc17b6 2963/*#define HAS_TM_TM_ZONE / **/
a838cfe5
JH
2964
2965/* I_USTAT:
2966 * This symbol, if defined, indicates that <ustat.h> exists and
2967 * should be included.
2968 */
2969/*#define I_USTAT / **/
2970
2971/* PERL_INC_VERSION_LIST:
2972 * This variable specifies the list of subdirectories in over
2973 * which perl.c:incpush() and lib/lib.pm will automatically
2974 * search when adding directories to @INC, in a format suitable
2975 * for a C initialization string. See the inc_version_list entry
2976 * in Porting/Glossary for more details.
2977 */
2978#define PERL_INC_VERSION_LIST NULL /**/
2979
2980/* INSTALL_USR_BIN_PERL:
2981 * This symbol, if defined, indicates that Perl is to be installed
2982 * also as /usr/bin/perl.
2983 */
2984/*#define INSTALL_USR_BIN_PERL / **/
2985
2986/* PERL_PRIfldbl:
2987 * This symbol, if defined, contains the string used by stdio to
2988 * format long doubles (format 'f') for output.
2989 */
2990/* PERL_PRIgldbl:
2991 * This symbol, if defined, contains the string used by stdio to
2992 * format long doubles (format 'g') for output.
2993 */
2994/* PERL_PRIeldbl:
2995 * This symbol, if defined, contains the string used by stdio to
2996 * format long doubles (format 'e') for output.
2997 */
2998/* PERL_SCNfldbl:
2999 * This symbol, if defined, contains the string used by stdio to
3000 * format long doubles (format 'f') for input.
3001 */
3002/*#define PERL_PRIfldbl "llf" / **/
3003/*#define PERL_PRIgldbl "llg" / **/
3004/*#define PERL_PRIeldbl "lle" / **/
3005/*#define PERL_SCNfldbl "llf" / **/
3006
3007/* Off_t:
3008 * This symbol holds the type used to declare offsets in the kernel.
3009 * It can be int, long, off_t, etc... It may be necessary to include
3010 * <sys/types.h> to get any typedef'ed information.
3011 */
3012/* LSEEKSIZE:
3013 * This symbol holds the number of bytes used by the Off_t.
3014 */
3015/* Off_t_size:
3016 * This symbol holds the number of bytes used by the Off_t.
3017 */
3018#define Off_t int /* <offset> type */
3019#define LSEEKSIZE 4 /* <offset> size */
3020#define Off_t_size 4 /* <offset> size */
3021
3022/* Free_t:
3023 * This variable contains the return type of free(). It is usually
3024 * void, but occasionally int.
3025 */
3026/* Malloc_t:
3027 * This symbol is the type of pointer returned by malloc and realloc.
3028 */
3029#define Malloc_t void * /**/
3030#define Free_t int /**/
3ebb1980 3031
a838cfe5
JH
3032/* MYMALLOC:
3033 * This symbol, if defined, indicates that we're using our own malloc.
3ebb1980 3034 */
a838cfe5 3035/*#define MYMALLOC / **/
3ebb1980 3036
a838cfe5
JH
3037/* Mode_t:
3038 * This symbol holds the type used to declare file modes
3039 * for systems calls. It is usually mode_t, but may be
3040 * int or unsigned short. It may be necessary to include <sys/types.h>
3041 * to get any typedef'ed information.
3ebb1980 3042 */
a838cfe5 3043#define Mode_t int /* file mode parameter for system calls */
3ebb1980 3044
a838cfe5
JH
3045/* VAL_O_NONBLOCK:
3046 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3047 * non-blocking I/O for the file descriptor. Note that there is no way
3048 * back, i.e. you cannot turn it blocking again this way. If you wish to
3049 * alternatively switch between blocking and non-blocking, use the
3050 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3ebb1980 3051 */
a838cfe5
JH
3052/* VAL_EAGAIN:
3053 * This symbol holds the errno error code set by read() when no data was
3054 * present on the non-blocking file descriptor.
3ebb1980 3055 */
a838cfe5
JH
3056/* RD_NODATA:
3057 * This symbol holds the return code from read() when no data is present
3058 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3059 * not defined, then you can't distinguish between no data and EOF by
3060 * issuing a read(). You'll have to find another way to tell for sure!
3ebb1980 3061 */
a838cfe5
JH
3062/* EOF_NONBLOCK:
3063 * This symbol, if defined, indicates to the C program that a read() on
3064 * a non-blocking file descriptor will return 0 on EOF, and not the value
3065 * held in RD_NODATA (-1 usually, in that case!).
3ebb1980 3066 */
a838cfe5
JH
3067#define VAL_O_NONBLOCK O_NONBLOCK
3068#define VAL_EAGAIN EAGAIN
3069#define RD_NODATA -1
3070#undef EOF_NONBLOCK
3ebb1980 3071
a7fea17f
JH
3072/* NEED_VA_COPY:
3073 * This symbol, if defined, indicates that the system stores
3074 * the variable argument list datatype, va_list, in a format
3075 * that cannot be copied by simple assignment, so that some
3076 * other means must be used when copying is required.
3077 * As such systems vary in their provision (or non-provision)
3078 * of copying mechanisms, handy.h defines a platform-
3079 * independent macro, Perl_va_copy(src, dst), to do the job.
3080 */
3081/*#define NEED_VA_COPY / **/
3082
a838cfe5
JH
3083/* Netdb_host_t:
3084 * This symbol holds the type used for the 1st argument
3085 * to gethostbyaddr().
3086 */
3087/* Netdb_hlen_t:
3088 * This symbol holds the type used for the 2nd argument
3089 * to gethostbyaddr().
3090 */
3091/* Netdb_name_t:
3092 * This symbol holds the type used for the argument to
3093 * gethostbyname().
3094 */
3095/* Netdb_net_t:
3096 * This symbol holds the type used for the 1st argument to
3097 * getnetbyaddr().
3098 */
3099#define Netdb_host_t const char * /**/
3100#define Netdb_hlen_t int /**/
3101#define Netdb_name_t const char * /**/
3102#define Netdb_net_t unsigned long /**/
3103
3104/* PERL_OTHERLIBDIRS:
3105 * This variable contains a colon-separated set of paths for the perl
3106 * binary to search for additional library files or modules.
3107 * These directories will be tacked to the end of @INC.
3108 * Perl will automatically search below each path for version-
3109 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3110 * for more details.
3111 */
3112/*#define PERL_OTHERLIBDIRS "" / **/
3113
3ebb1980
JH
3114/* IVTYPE:
3115 * This symbol defines the C type used for Perl's IV.
3116 */
3117/* UVTYPE:
3118 * This symbol defines the C type used for Perl's UV.
3119 */
3120/* I8TYPE:
3121 * This symbol defines the C type used for Perl's I8.
3122 */
3123/* U8TYPE:
3124 * This symbol defines the C type used for Perl's U8.
3125 */
3126/* I16TYPE:
3127 * This symbol defines the C type used for Perl's I16.
3128 */
3129/* U16TYPE:
3130 * This symbol defines the C type used for Perl's U16.
3131 */
3132/* I32TYPE:
3133 * This symbol defines the C type used for Perl's I32.
3134 */
3135/* U32TYPE:
3136 * This symbol defines the C type used for Perl's U32.
3137 */
3138/* I64TYPE:
3139 * This symbol defines the C type used for Perl's I64.
3140 */
3141/* U64TYPE:
3142 * This symbol defines the C type used for Perl's U64.
3143 */
3144/* NVTYPE:
3145 * This symbol defines the C type used for Perl's NV.
3146 */
3147/* IVSIZE:
3148 * This symbol contains the sizeof(IV).
3149 */
3150/* UVSIZE:
3151 * This symbol contains the sizeof(UV).
3152 */
3153/* I8SIZE:
3154 * This symbol contains the sizeof(I8).
3155 */
3156/* U8SIZE:
3157 * This symbol contains the sizeof(U8).
3158 */
3159/* I16SIZE:
3160 * This symbol contains the sizeof(I16).
3161 */
3162/* U16SIZE:
3163 * This symbol contains the sizeof(U16).
3164 */
3165/* I32SIZE:
3166 * This symbol contains the sizeof(I32).
3167 */
3168/* U32SIZE:
3169 * This symbol contains the sizeof(U32).
3170 */
3171/* I64SIZE:
3172 * This symbol contains the sizeof(I64).
3173 */
3174/* U64SIZE:
3175 * This symbol contains the sizeof(U64).
3176 */
3177/* NVSIZE:
3178 * This symbol contains the sizeof(NV).
3179 */
3180/* NV_PRESERVES_UV:
3181 * This symbol, if defined, indicates that a variable of type NVTYPE
3182 * can preserve all the bits of a variable of type UVTYPE.
3183 */
3184/* NV_PRESERVES_UV_BITS:
3185 * This symbol contains the number of bits a variable of type NVTYPE
3186 * can preserve of a variable of type UVTYPE.
3187 */
3188#define IVTYPE long /**/
3189#define UVTYPE unsigned long /**/
3190#define I8TYPE char /**/
3191#define U8TYPE unsigned char /**/
3192#define I16TYPE short /**/
3193#define U16TYPE unsigned short /**/
3194#define I32TYPE long /**/
3195#define U32TYPE unsigned long /**/
3196#ifdef HAS_QUAD
3197#define I64TYPE int64_t /**/
3198#define U64TYPE uint64_t /**/
3199#endif
3200#define NVTYPE double /**/
3201#define IVSIZE 4 /**/
3202#define UVSIZE 4 /**/
3203#define I8SIZE 1 /**/
3204#define U8SIZE 1 /**/
3205#define I16SIZE 2 /**/
3206#define U16SIZE 2 /**/
3207#define I32SIZE 4 /**/
3208#define U32SIZE 4 /**/
3209#ifdef HAS_QUAD
3210#define I64SIZE 8 /**/
3211#define U64SIZE 8 /**/
3212#endif
3213#define NVSIZE 8 /**/
3214#undef NV_PRESERVES_UV
3096c11e 3215#define NV_PRESERVES_UV_BITS 0
3ebb1980
JH
3216
3217/* IVdf:
3218 * This symbol defines the format string used for printing a Perl IV
3219 * as a signed decimal integer.
3220 */
3221/* UVuf:
3222 * This symbol defines the format string used for printing a Perl UV
3223 * as an unsigned decimal integer.
3224 */
3225/* UVof:
3226 * This symbol defines the format string used for printing a Perl UV
3227 * as an unsigned octal integer.
3228 */
3229/* UVxf:
3230 * This symbol defines the format string used for printing a Perl UV
fd47df60
JH
3231 * as an unsigned hexadecimal integer in lowercase abcdef.
3232 */
159fae86
JH
3233/* UVXf:
3234 * This symbol defines the format string used for printing a Perl UV
3235 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3236 */
fd47df60
JH
3237/* NVef:
3238 * This symbol defines the format string used for printing a Perl NV
3239 * using %e-ish floating point format.
3240 */
3241/* NVff:
3242 * This symbol defines the format string used for printing a Perl NV
e9a8643a 3243 * using %f-ish floating point format.
3ebb1980 3244 */
e9a8643a
JH
3245/* NVgf:
3246 * This symbol defines the format string used for printing a Perl NV
3247 * using %g-ish floating point format.
3ebb1980 3248 */
e9a8643a
JH
3249#define IVdf "ld" /**/
3250#define UVuf "lu" /**/
3251#define UVof "lo" /**/
3252#define UVxf "lx" /**/
3253#define UVXf "lX" /**/
3254#define NVef "e" /**/
3255#define NVff "f" /**/
3256#define NVgf "g" /**/
3ebb1980 3257
a838cfe5
JH
3258/* Pid_t:
3259 * This symbol holds the type used to declare process ids in the kernel.
3260 * It can be int, uint, pid_t, etc... It may be necessary to include
3261 * <sys/types.h> to get any typedef'ed information.
3262 */
3263#define Pid_t int /* PID type */
3264
3265/* PRIVLIB:
3266 * This symbol contains the name of the private library for this package.
3267 * The library is private in the sense that it needn't be in anyone's
3268 * execution path, but it should be accessible by the world. The program
3269 * should be prepared to do ~ expansion.
3270 */
3271/* PRIVLIB_EXP:
3272 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3273 * in programs that are not prepared to deal with ~ expansion at run-time.
3274 */
3275#define PRIVLIB "/usr/local/lib/perl5/5.7" /**/
3276#define PRIVLIB_EXP "/usr/local/lib/perl5/5.7" /**/
3277
3278/* PTRSIZE:
3279 * This symbol contains the size of a pointer, so that the C preprocessor
3280 * can make decisions based on it. It will be sizeof(void *) if
3281 * the compiler supports (void *); otherwise it will be
3282 * sizeof(char *).
3283 */
3284#define PTRSIZE 4 /**/
3285
3286/* Drand01:
3287 * This macro is to be used to generate uniformly distributed
3288 * random numbers over the range [0., 1.[. You may have to supply
3289 * an 'extern double drand48();' in your program since SunOS 4.1.3
3290 * doesn't provide you with anything relevant in its headers.
3291 * See HAS_DRAND48_PROTO.
3292 */
3293/* Rand_seed_t:
3294 * This symbol defines the type of the argument of the
3295 * random seed function.
3296 */
3297/* seedDrand01:
3298 * This symbol defines the macro to be used in seeding the
3299 * random number generator (see Drand01).
3300 */
3301/* RANDBITS:
3302 * This symbol indicates how many bits are produced by the
3303 * function used to generate normalized random numbers.
3304 * Values include 15, 16, 31, and 48.
3305 */
3306#define Drand01() ((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15)) /**/
3307#define Rand_seed_t int /**/
3308#define seedDrand01(x) srand((Rand_seed_t)x) /**/
3309#define RANDBITS 48 /**/
3310
3311/* SELECT_MIN_BITS:
3312 * This symbol holds the minimum number of bits operated by select.
3313 * That is, if you do select(n, ...), how many bits at least will be
3314 * cleared in the masks if some activity is detected. Usually this
3315 * is either n or 32*ceil(n/32), especially many little-endians do
3316 * the latter. This is only useful if you have select(), naturally.
3317 */
3318#define SELECT_MIN_BITS 32 /**/
3319
3320/* Select_fd_set_t:
3321 * This symbol holds the type used for the 2nd, 3rd, and 4th
3322 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3323 * is defined, and 'int *' otherwise. This is only useful if you
3324 * have select(), of course.
3325 */
3326#define Select_fd_set_t int /**/
3327
3328/* SIG_NAME:
3329 * This symbol contains a list of signal names in order of
3330 * signal number. This is intended
3331 * to be used as a static array initialization, like this:
3332 * char *sig_name[] = { SIG_NAME };
3333 * The signals in the list are separated with commas, and each signal
3334 * is surrounded by double quotes. There is no leading SIG in the signal
3335 * name, i.e. SIGQUIT is known as "QUIT".
3336 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3337 * etc., where nn is the actual signal number (e.g. NUM37).
3338 * The signal number for sig_name[i] is stored in sig_num[i].
3339 * The last element is 0 to terminate the list with a NULL. This
3340 * corresponds to the 0 at the end of the sig_num list.
3341 */
3342/* SIG_NUM:
3343 * This symbol contains a list of signal numbers, in the same order as the
3344 * SIG_NAME list. It is suitable for static array initialization, as in:
3345 * int sig_num[] = { SIG_NUM };
3346 * The signals in the list are separated with commas, and the indices
3347 * within that list and the SIG_NAME list match, so it's easy to compute
3348 * the signal name from a number or vice versa at the price of a small
3349 * dynamic linear lookup.
3350 * Duplicates are allowed, but are moved to the end of the list.
3351 * The signal number corresponding to sig_name[i] is sig_number[i].
3352 * if (i < NSIG) then sig_number[i] == i.
3353 * The last element is 0, corresponding to the 0 at the end of
3354 * the sig_name list.
3355 */
3356/* SIG_SIZE:
3357 * This variable contains the number of elements of the sig_name
3358 * and sig_num arrays, excluding the final NULL entry.
3359 */
3360#define SIG_NAME 0 /**/
3361#define SIG_NUM 0 /**/
3362#define SIG_SIZE 1 /**/
3363
3364/* SITEARCH:
3365 * This symbol contains the name of the private library for this package.
3366 * The library is private in the sense that it needn't be in anyone's
3367 * execution path, but it should be accessible by the world. The program
3368 * should be prepared to do ~ expansion.
3369 * The standard distribution will put nothing in this directory.
3370 * After perl has been installed, users may install their own local
3371 * architecture-dependent modules in this directory with
3372 * MakeMaker Makefile.PL
3373 * or equivalent. See INSTALL for details.
3374 */
3375/* SITEARCH_EXP:
3376 * This symbol contains the ~name expanded version of SITEARCH, to be used
3377 * in programs that are not prepared to deal with ~ expansion at run-time.
3378 */
3379#define SITEARCH "" /**/
3380#define SITEARCH_EXP "" /**/
3381
3382/* SITELIB:
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-independent modules in this directory with
3390 * MakeMaker Makefile.PL
3391 * or equivalent. See INSTALL for details.
3392 */
3393/* SITELIB_EXP:
3394 * This symbol contains the ~name expanded version of SITELIB, to be used
3395 * in programs that are not prepared to deal with ~ expansion at run-time.
3396 */
3397/* SITELIB_STEM:
3398 * This define is SITELIB_EXP with any trailing version-specific component
3399 * removed. The elements in inc_version_list (inc_version_list.U) can
3400 * be tacked onto this variable to generate a list of directories to search.
3401 */
3402#define SITELIB "" /**/
3403#define SITELIB_EXP "" /**/
3404#define SITELIB_STEM "" /**/
3405
3406/* Size_t_size:
3407 * This symbol holds the size of a Size_t in bytes.
3408 */
3409#define Size_t_size 4 /* */
3410
3411/* Size_t:
3412 * This symbol holds the type used to declare length parameters
3413 * for string functions. It is usually size_t, but may be
3414 * unsigned long, int, etc. It may be necessary to include
3415 * <sys/types.h> to get any typedef'ed information.
3416 */
3417#define Size_t int /* length paramater for string functions */
3418
3419/* Sock_size_t:
3420 * This symbol holds the type used for the size argument of
3421 * various socket calls (just the base type, not the pointer-to).
3ebb1980 3422 */
a838cfe5 3423#define Sock_size_t int /**/
3ebb1980 3424
a838cfe5
JH
3425/* SSize_t:
3426 * This symbol holds the type used by functions that return
3427 * a count of bytes or an error condition. It must be a signed type.
3428 * It is usually ssize_t, but may be long or int, etc.
3429 * It may be necessary to include <sys/types.h> or <unistd.h>
3430 * to get any typedef'ed information.
3431 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3ebb1980 3432 */
a838cfe5 3433#define SSize_t int /* signed count of bytes */
3ebb1980
JH
3434
3435/* STARTPERL:
3436 * This variable contains the string to put in front of a perl
3437 * script to make sure (one hopes) that it runs with perl and not
3438 * some shell.
3439 */
3440#define STARTPERL "" /**/
3441
a838cfe5
JH
3442/* STDCHAR:
3443 * This symbol is defined to be the type of char used in stdio.h.
3444 * It has the values "unsigned char" or "char".
3445 */
3446#define STDCHAR char /**/
3447
3ebb1980
JH
3448/* HAS_STDIO_STREAM_ARRAY:
3449 * This symbol, if defined, tells that there is an array
3450 * holding the stdio streams.
3451 */
3452/* STDIO_STREAM_ARRAY:
3453 * This symbol tells the name of the array holding the stdio streams.
3454 * Usual values include _iob, __iob, and __sF.
3455 */
3456/*#define HAS_STDIO_STREAM_ARRAY / **/
3457#define STDIO_STREAM_ARRAY
3458
a838cfe5
JH
3459/* Uid_t_f:
3460 * This symbol defines the format string used for printing a Uid_t.
3461 */
3462#define Uid_t_f "lu" /**/
3463
3464/* Uid_t_sign:
3465 * This symbol holds the signedess of a Uid_t.
3466 * 1 for unsigned, -1 for signed.
3467 */
3468#define Uid_t_sign 1 /* UID sign */
3469
3470/* Uid_t_size:
3471 * This symbol holds the size of a Uid_t in bytes.
3472 */
3473#define Uid_t_size 4 /* UID size */
3474
3475/* Uid_t:
3476 * This symbol holds the type used to declare user ids in the kernel.
3477 * It can be int, ushort, uid_t, etc... It may be necessary to include
3478 * <sys/types.h> to get any typedef'ed information.
3479 */
3480#define Uid_t int /* UID type */
3481
3ebb1980
JH
3482/* USE_64_BIT_INT:
3483 * This symbol, if defined, indicates that 64-bit integers should
3484 * be used when available. If not defined, the native integers
3485 * will be employed (be they 32 or 64 bits). The minimal possible
3486 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3487 * This may mean using for example "long longs", while your memory
3488 * may still be limited to 2 gigabytes.
3489 */
3490/* USE_64_BIT_ALL:
3491 * This symbol, if defined, indicates that 64-bit integers should
3492 * be used when available. If not defined, the native integers
3493 * will be used (be they 32 or 64 bits). The maximal possible
3494 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3495 * be able to use more than 2 gigabytes of memory. This mode is
3496 * even more binary incompatible than USE_64_BIT_INT. You may not
3497 * be able to run the resulting executable in a 32-bit CPU at all or
3498 * you may need at least to reboot your OS to 64-bit mode.
3499 */
3500#ifndef USE_64_BIT_INT
3501/*#define USE_64_BIT_INT / **/
3502#endif
3503
3504#ifndef USE_64_BIT_ALL
3505/*#define USE_64_BIT_ALL / **/
3506#endif
3507
3508/* USE_LARGE_FILES:
3509 * This symbol, if defined, indicates that large file support
3510 * should be used when available.
3511 */
3512#ifndef USE_LARGE_FILES
3513/*#define USE_LARGE_FILES / **/
3514#endif
3515
3516/* USE_LONG_DOUBLE:
3517 * This symbol, if defined, indicates that long doubles should
3518 * be used when available.
3519 */
3520#ifndef USE_LONG_DOUBLE
3521/*#define USE_LONG_DOUBLE / **/
3522#endif
3523
3524/* USE_MORE_BITS:
3525 * This symbol, if defined, indicates that 64-bit interfaces and
3526 * long doubles should be used when available.
3527 */
3528#ifndef USE_MORE_BITS
3529/*#define USE_MORE_BITS / **/
3530#endif
3531
3532/* MULTIPLICITY:
3533 * This symbol, if defined, indicates that Perl should
3534 * be built to use multiplicity.
3535 */
3536#ifndef MULTIPLICITY
3537/*#define MULTIPLICITY / **/
3538#endif
3539
3540/* USE_PERLIO:
3541 * This symbol, if defined, indicates that the PerlIO abstraction should
3542 * be used throughout. If not defined, stdio should be
3543 * used in a fully backward compatible manner.
3544 */
3545#ifndef USE_PERLIO
3546/*#define USE_PERLIO / **/
3547#endif
3548
3549/* USE_SOCKS:
3550 * This symbol, if defined, indicates that Perl should
3551 * be built to use socks.
3552 */
3553#ifndef USE_SOCKS
3554/*#define USE_SOCKS / **/
3555#endif
3556
a838cfe5
JH
3557/* USE_ITHREADS:
3558 * This symbol, if defined, indicates that Perl should be built to
3559 * use the interpreter-based threading implementation.
3560 */
3561/* USE_5005THREADS:
3562 * This symbol, if defined, indicates that Perl should be built to
3563 * use the 5.005-based threading implementation.
3564 */
3565/* OLD_PTHREADS_API:
3566 * This symbol, if defined, indicates that Perl should
3567 * be built to use the old draft POSIX threads API.
3568 */
3569/* USE_REENTRANT_API:
3570 * This symbol, if defined, indicates that Perl should
3571 * try to use the various _r versions of library functions.
3572 * This is extremely experimental.
3573 */
3574/*#define USE_5005THREADS / **/
3575/*#define USE_ITHREADS / **/
3576#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3577#define USE_THREADS /* until src is revised*/
3578#endif
3579/*#define OLD_PTHREADS_API / **/
3580/*#define USE_REENTRANT_API / **/
3581
3582/* PERL_VENDORARCH:
3583 * If defined, this symbol contains the name of a private library.
3584 * The library is private in the sense that it needn't be in anyone's
3585 * execution path, but it should be accessible by the world.
3586 * It may have a ~ on the front.
3587 * The standard distribution will put nothing in this directory.
3588 * Vendors who distribute perl may wish to place their own
3589 * architecture-dependent modules and extensions in this directory with
3590 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3591 * or equivalent. See INSTALL for details.
3592 */
3593/* PERL_VENDORARCH_EXP:
3594 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3595 * in programs that are not prepared to deal with ~ expansion at run-time.
3596 */
3597/*#define PERL_VENDORARCH "" / **/
3598/*#define PERL_VENDORARCH_EXP "" / **/
3599
3600/* PERL_VENDORLIB_EXP:
3601 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3602 * in programs that are not prepared to deal with ~ expansion at run-time.
3603 */
3604/* PERL_VENDORLIB_STEM:
3605 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3606 * removed. The elements in inc_version_list (inc_version_list.U) can
3607 * be tacked onto this variable to generate a list of directories to search.
3608 */
3609/*#define PERL_VENDORLIB_EXP "" / **/
3610/*#define PERL_VENDORLIB_STEM "" / **/
3611
3612/* VOIDFLAGS:
3613 * This symbol indicates how much support of the void type is given by this
3614 * compiler. What various bits mean:
3615 *
3616 * 1 = supports declaration of void
3617 * 2 = supports arrays of pointers to functions returning void
3618 * 4 = supports comparisons between pointers to void functions and
3619 * addresses of void functions
3620 * 8 = suports declaration of generic void pointers
3621 *
3622 * The package designer should define VOIDUSED to indicate the requirements
3623 * of the package. This can be done either by #defining VOIDUSED before
3624 * including config.h, or by defining defvoidused in Myinit.U. If the
3625 * latter approach is taken, only those flags will be tested. If the
3626 * level of void support necessary is not present, defines void to int.
3627 */
3628#ifndef VOIDUSED
3629#define VOIDUSED 1
3630#endif
3631#define VOIDFLAGS 1
3632#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3633#define void int /* is void to be avoided? */
3634#define M_VOID /* Xenix strikes again */
3635#endif
3636
3ebb1980
JH
3637/* PERL_XS_APIVERSION:
3638 * This variable contains the version of the oldest perl binary
3639 * compatible with the present perl. perl.c:incpush() and
3640 * lib/lib.pm will automatically search in for older
3641 * directories across major versions back to xs_apiversion.
3642 * This is only useful if you have a perl library directory tree
3643 * structured like the default one.
3644 * See INSTALL for how this works.
3645 * The versioned site_perl directory was introduced in 5.005,
3646 * so that is the lowest possible value.
d953f698
JH
3647 * Since this can depend on compile time options
3648 * it is set by Configure. Other non-default sources
3ebb1980
JH
3649 * of potential incompatibility, such as multiplicity, threads,
3650 * debugging, 64bits, sfio, etc., are not checked for currently,
3651 * though in principle we could go snooping around in old
3652 * Config.pm files.
3653 */
3654/* PERL_PM_APIVERSION:
3655 * This variable contains the version of the oldest perl
3656 * compatible with the present perl. (That is, pure perl modules
3657 * written for pm_apiversion will still work for the current
3658 * version). perl.c:incpush() and lib/lib.pm will automatically
3659 * search in for older directories across major versions
3660 * back to pm_apiversion. This is only useful if you have a perl
3661 * library directory tree structured like the default one. The
3662 * versioned site_perl library was introduced in 5.005, so that's
3663 * the default setting for this variable. It's hard to imagine
3664 * it changing before Perl6. It is included here for symmetry
a838cfe5
JH
3665 * with xs_apiveprsion -- the searching algorithms will
3666 * (presumably) be similar.
3667 * See the INSTALL file for how this works.
e9a8643a 3668 */
4282de36 3669#define PERL_XS_APIVERSION "5.008"
a838cfe5 3670#define PERL_PM_APIVERSION "5.005"
5440bc8e 3671
8b4ac5a4
JH
3672/* HAS_CRYPT:
3673 * This symbol, if defined, indicates that the crypt routine is available
3674 * to encrypt passwords and the like.
3675 */
3676/*#define HAS_CRYPT / **/
3677
a838cfe5
JH
3678/* SETUID_SCRIPTS_ARE_SECURE_NOW:
3679 * This symbol, if defined, indicates that the bug that prevents
3680 * setuid scripts from being secure is not present in this kernel.
b99a9337 3681 */
a838cfe5
JH
3682/* DOSUID:
3683 * This symbol, if defined, indicates that the C program should
3684 * check the script that it is executing for setuid/setgid bits, and
3685 * attempt to emulate setuid/setgid on systems that have disabled
3686 * setuid #! scripts because the kernel can't do it securely.
3687 * It is up to the package designer to make sure that this emulation
3688 * is done securely. Among other things, it should do an fstat on
3689 * the script it just opened to make sure it really is a setuid/setgid
3690 * script, it should make sure the arguments passed correspond exactly
3691 * to the argument on the #! line, and it should not trust any
3692 * subprocesses to which it must pass the filename rather than the
3693 * file descriptor of the script to be executed.
5440bc8e 3694 */
a838cfe5
JH
3695/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
3696/*#define DOSUID / **/
e9a8643a 3697
c68a00c0
JH
3698/* Shmat_t:
3699 * This symbol holds the return type of the shmat() system call.
3700 * Usually set to 'void *' or 'char *'.
3701 */
3702/* HAS_SHMAT_PROTOTYPE:
3703 * This symbol, if defined, indicates that the sys/shm.h includes
3704 * a prototype for shmat(). Otherwise, it is up to the program to
3705 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
3706 * but not always right so it should be emitted by the program only
3707 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
3708 */
3709#define Shmat_t void * /**/
3710/*#define HAS_SHMAT_PROTOTYPE / **/
3711
3712/* I_NDBM:
3713 * This symbol, if defined, indicates that <ndbm.h> exists and should
3714 * be included.
3715 */
3716/*#define I_NDBM / **/
3717
a838cfe5
JH
3718/* I_STDARG:
3719 * This symbol, if defined, indicates that <stdarg.h> exists and should
3720 * be included.
5440bc8e 3721 */
a838cfe5
JH
3722/* I_VARARGS:
3723 * This symbol, if defined, indicates to the C program that it should
3724 * include <varargs.h>.
e9a8643a 3725 */
a838cfe5
JH
3726#define I_STDARG /**/
3727/*#define I_VARARGS / **/
3728
c68a00c0
JH
3729/* CAN_PROTOTYPE:
3730 * If defined, this macro indicates that the C compiler can handle
3731 * function prototypes.
3732 */
a3c02183 3733/* _:
c68a00c0
JH
3734 * This macro is used to declare function parameters for folks who want
3735 * to make declarations with prototypes using a different style than
3736 * the above macros. Use double parentheses. For example:
3737 *
a3c02183 3738 * int main _((int argc, char *argv[]));
c68a00c0
JH
3739 */
3740/*#define CAN_PROTOTYPE / **/
3741#ifdef CAN_PROTOTYPE
a3c02183 3742#define _(args) args
c68a00c0 3743#else
a3c02183 3744#define _(args) ()
c68a00c0
JH
3745#endif
3746
a838cfe5
JH
3747/* SH_PATH:
3748 * This symbol contains the full pathname to the shell used on this
3749 * on this system to execute Bourne shell scripts. Usually, this will be
3750 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3751 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3752 * D:/bin/sh.exe.
e9a8643a 3753 */
a838cfe5
JH
3754#define SH_PATH "" /**/
3755
3756/* USE_CROSS_COMPILE:
3757 * This symbol, if defined, indicates that Perl is being cross-compiled.
e9a8643a 3758 */
a838cfe5
JH
3759/* PERL_TARGETARCH:
3760 * This symbol, if defined, indicates the target architecture
3761 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3762 */
3763#ifndef USE_CROSS_COMPILE
3764/*#define USE_CROSS_COMPILE / **/
3765#define PERL_TARGETARCH "" /**/
5440bc8e
JH
3766#endif
3767
a838cfe5
JH
3768/* HAS_DBMINIT_PROTO:
3769 * This symbol, if defined, indicates that the system provides
3770 * a prototype for the dbminit() function. Otherwise, it is up
3771 * to the program to supply one. A good guess is
3772 * extern int dbminit(char *);
2ef53570 3773 */
a838cfe5 3774/*#define HAS_DBMINIT_PROTO / **/
2ef53570 3775
a838cfe5
JH
3776/* HAS_DIRFD:
3777 * This manifest constant lets the C program know that dirfd
3778 * is available.
2ef53570 3779 */
a838cfe5 3780/*#define HAS_DIRFD / **/
2ef53570 3781
a838cfe5
JH
3782/* HAS_FLOCK_PROTO:
3783 * This symbol, if defined, indicates that the system provides
3784 * a prototype for the flock() function. Otherwise, it is up
3785 * to the program to supply one. A good guess is
3786 * extern int flock(int, int);
b99a9337 3787 */
a838cfe5 3788/*#define HAS_FLOCK_PROTO / **/
b99a9337 3789
a838cfe5
JH
3790/* HAS_FPCLASSL:
3791 * This symbol, if defined, indicates that the fpclassl routine is
3792 * available to classify long doubles. Available for example in IRIX.
3793 * The returned values are defined in <ieeefp.h> and are:
3794 *
3795 * FP_SNAN signaling NaN
3796 * FP_QNAN quiet NaN
3797 * FP_NINF negative infinity
3798 * FP_PINF positive infinity
3799 * FP_NDENORM negative denormalized non-zero
3800 * FP_PDENORM positive denormalized non-zero
3801 * FP_NZERO negative zero
3802 * FP_PZERO positive zero
3803 * FP_NNORM negative normalized non-zero
3804 * FP_PNORM positive normalized non-zero
2765b840 3805 */
a838cfe5 3806/*#define HAS_FPCLASSL / **/
2765b840 3807
a838cfe5
JH
3808/* HAS_NL_LANGINFO:
3809 * This symbol, if defined, indicates that the nl_langinfo routine is
3810 * available to return local data. You will also need <langinfo.h>
3811 * and therefore I_LANGINFO.
e561a5ff 3812 */
a838cfe5 3813/*#define HAS_NL_LANGINFO / **/
e561a5ff 3814
a838cfe5
JH
3815/* HAS_PROCSELFEXE:
3816 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3817 * to the absolute pathname of the executing program.
49a78c82 3818 */
10b31d5d
JH
3819/* PROCSELFEXE_PATH:
3820 * If HAS_PROCSELFEXE is defined this symbol is the filename
3821 * of the symbolic link pointing to the absolute pathname of
3822 * the executing program.
3823 */
a838cfe5
JH
3824/*#define HAS_PROCSELFEXE / **/
3825#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3826#define PROCSELFEXE_PATH /**/
3827#endif
49a78c82 3828
a838cfe5
JH
3829/* HAS_SIGPROCMASK:
3830 * This symbol, if defined, indicates that the sigprocmask
3831 * system call is available to examine or change the signal mask
3832 * of the calling process.
2ef53570 3833 */
a838cfe5 3834/*#define HAS_SIGPROCMASK / **/
2ef53570 3835
a838cfe5
JH
3836/* HAS_SOCKATMARK:
3837 * This symbol, if defined, indicates that the sockatmark routine is
3838 * available to test whether a socket is at the out-of-band mark.
eef837ea 3839 */
a838cfe5
JH
3840/*#define HAS_SOCKATMARK / **/
3841
3842/* HAS_SOCKATMARK_PROTO:
3843 * This symbol, if defined, indicates that the system provides
3844 * a prototype for the sockatmark() function. Otherwise, it is up
3845 * to the program to supply one. A good guess is
c68a00c0 3846 * extern int sockatmark(int);
e9a8643a 3847 */
a838cfe5
JH
3848/*#define HAS_SOCKATMARK_PROTO / **/
3849
3850/* HAS_SETRESGID_PROTO:
3851 * This symbol, if defined, indicates that the system provides
3852 * a prototype for the setresgid() function. Otherwise, it is up
3853 * to the program to supply one. Good guesses are
3854 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
e9a8643a 3855 */
a838cfe5 3856/*#define HAS_SETRESGID_PROTO / **/
eef837ea 3857
a838cfe5
JH
3858/* HAS_SETRESUID_PROTO:
3859 * This symbol, if defined, indicates that the system provides
3860 * a prototype for the setresuid() function. Otherwise, it is up
3861 * to the program to supply one. Good guesses are
3862 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
640374d0 3863 */
a838cfe5 3864/*#define HAS_SETRESUID_PROTO / **/
640374d0 3865
a838cfe5
JH
3866/* HAS_STRFTIME:
3867 * This symbol, if defined, indicates that the strftime routine is
3868 * available to do time formatting.
b3c85772 3869 */
a838cfe5 3870/*#define HAS_STRFTIME / **/
b3c85772 3871
a838cfe5
JH
3872/* HAS_SYSCALL_PROTO:
3873 * This symbol, if defined, indicates that the system provides
3874 * a prototype for the syscall() function. Otherwise, it is up
3875 * to the program to supply one. Good guesses are
3876 * extern int syscall(int, ...);
3877 * extern int syscall(long, ...);
2ef53570 3878 */
a838cfe5 3879/*#define HAS_SYSCALL_PROTO / **/
2ef53570 3880
a838cfe5
JH
3881/* U32_ALIGNMENT_REQUIRED:
3882 * This symbol, if defined, indicates that you must access
3883 * character data through U32-aligned pointers.
4e0554ec 3884 */
2c74c289 3885#ifndef U32_ALIGNMENT_REQUIRED
a838cfe5 3886#define U32_ALIGNMENT_REQUIRED /**/
2c74c289 3887#endif
4e0554ec 3888
a838cfe5
JH
3889/* HAS_USLEEP_PROTO:
3890 * This symbol, if defined, indicates that the system provides
3891 * a prototype for the usleep() function. Otherwise, it is up
3892 * to the program to supply one. A good guess is
3893 * extern int usleep(useconds_t);
2ef53570 3894 */
a838cfe5 3895/*#define HAS_USLEEP_PROTO / **/
2ef53570 3896
10bc17b6
JH
3897/* I_CRYPT:
3898 * This symbol, if defined, indicates that <crypt.h> exists and
3899 * should be included.
3900 */
3901/*#define I_CRYPT / **/
3902
a838cfe5
JH
3903/* I_FP:
3904 * This symbol, if defined, indicates that <fp.h> exists and
3905 * should be included.
758a5d79 3906 */
a838cfe5 3907/*#define I_FP / **/
758a5d79 3908
a838cfe5
JH
3909/* I_LANGINFO:
3910 * This symbol, if defined, indicates that <langinfo.h> exists and
3911 * should be included.
404cab08 3912 */
a838cfe5 3913/*#define I_LANGINFO / **/
404cab08 3914
10bc17b6
JH
3915/* HAS_CTERMID_R:
3916 * This symbol, if defined, indicates that the ctermid_r routine
3917 * is available to ctermid re-entrantly.
3918 */
3919/* CTERMID_R_PROTO:
3920 * This symbol encodes the prototype of ctermid_r.
298695c9
JH
3921 * It is zero if d_ctermid_r is undef, and one of the
3922 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
3923 * is defined.
10bc17b6
JH
3924 */
3925/*#define HAS_CTERMID_R / **/
3926#define CTERMID_R_PROTO 0 /**/
3927
3928/* HAS_ENDHOSTENT_R:
3929 * This symbol, if defined, indicates that the endhostent_r routine
3930 * is available to endhostent re-entrantly.
3931 */
3932/* ENDHOSTENT_R_PROTO:
3933 * This symbol encodes the prototype of endhostent_r.
298695c9
JH
3934 * It is zero if d_endhostent_r is undef, and one of the
3935 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
3936 * is defined.
10bc17b6
JH
3937 */
3938/*#define HAS_ENDHOSTENT_R / **/
3939#define ENDHOSTENT_R_PROTO 0 /**/
3940
3941/* HAS_ENDNETENT_R:
3942 * This symbol, if defined, indicates that the endnetent_r routine
3943 * is available to endnetent re-entrantly.
3944 */
3945/* ENDNETENT_R_PROTO:
3946 * This symbol encodes the prototype of endnetent_r.
298695c9
JH
3947 * It is zero if d_endnetent_r is undef, and one of the
3948 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
3949 * is defined.
10bc17b6
JH
3950 */
3951/*#define HAS_ENDNETENT_R / **/
3952#define ENDNETENT_R_PROTO 0 /**/
3953
3954/* HAS_ENDPROTOENT_R:
3955 * This symbol, if defined, indicates that the endprotoent_r routine
3956 * is available to endprotoent re-entrantly.
3957 */
3958/* ENDPROTOENT_R_PROTO:
3959 * This symbol encodes the prototype of endprotoent_r.
298695c9
JH
3960 * It is zero if d_endprotoent_r is undef, and one of the
3961 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
3962 * is defined.
10bc17b6
JH
3963 */
3964/*#define HAS_ENDPROTOENT_R / **/
3965#define ENDPROTOENT_R_PROTO 0 /**/
3966
3967/* HAS_ENDSERVENT_R:
3968 * This symbol, if defined, indicates that the endservent_r routine
3969 * is available to endservent re-entrantly.
3970 */
3971/* ENDSERVENT_R_PROTO:
3972 * This symbol encodes the prototype of endservent_r.
298695c9
JH
3973 * It is zero if d_endservent_r is undef, and one of the
3974 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
3975 * is defined.
10bc17b6
JH
3976 */
3977/*#define HAS_ENDSERVENT_R / **/
3978#define ENDSERVENT_R_PROTO 0 /**/
3979
3980/* HAS_GETHOSTBYADDR_R:
3981 * This symbol, if defined, indicates that the gethostbyaddr_r routine
3982 * is available to gethostbyaddr re-entrantly.
3983 */
3984/* GETHOSTBYADDR_R_PROTO:
3985 * This symbol encodes the prototype of gethostbyaddr_r.
298695c9
JH
3986 * It is zero if d_gethostbyaddr_r is undef, and one of the
3987 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
3988 * is defined.
10bc17b6
JH
3989 */
3990/*#define HAS_GETHOSTBYADDR_R / **/
3991#define GETHOSTBYADDR_R_PROTO 0 /**/
3992
3993/* HAS_GETHOSTBYNAME_R:
3994 * This symbol, if defined, indicates that the gethostbyname_r routine
3995 * is available to gethostbyname re-entrantly.
3996 */
3997/* GETHOSTBYNAME_R_PROTO:
3998 * This symbol encodes the prototype of gethostbyname_r.
298695c9
JH
3999 * It is zero if d_gethostbyname_r is undef, and one of the
4000 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4001 * is defined.
10bc17b6
JH
4002 */
4003/*#define HAS_GETHOSTBYNAME_R / **/
4004#define GETHOSTBYNAME_R_PROTO 0 /**/
4005
4006/* HAS_GETHOSTENT_R:
4007 * This symbol, if defined, indicates that the gethostent_r routine
4008 * is available to gethostent re-entrantly.
4009 */
4010/* GETHOSTENT_R_PROTO:
4011 * This symbol encodes the prototype of gethostent_r.
298695c9
JH
4012 * It is zero if d_gethostent_r is undef, and one of the
4013 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4014 * is defined.
10bc17b6
JH
4015 */
4016/*#define HAS_GETHOSTENT_R / **/
4017#define GETHOSTENT_R_PROTO 0 /**/
4018
4019/* HAS_GETNETBYADDR_R:
4020 * This symbol, if defined, indicates that the getnetbyaddr_r routine
4021 * is available to getnetbyaddr re-entrantly.
4022 */
4023/* GETNETBYADDR_R_PROTO:
4024 * This symbol encodes the prototype of getnetbyaddr_r.
298695c9
JH
4025 * It is zero if d_getnetbyaddr_r is undef, and one of the
4026 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4027 * is defined.
10bc17b6
JH
4028 */
4029/*#define HAS_GETNETBYADDR_R / **/
4030#define GETNETBYADDR_R_PROTO 0 /**/
4031
4032/* HAS_GETNETBYNAME_R:
4033 * This symbol, if defined, indicates that the getnetbyname_r routine
4034 * is available to getnetbyname re-entrantly.
4035 */
4036/* GETNETBYNAME_R_PROTO:
4037 * This symbol encodes the prototype of getnetbyname_r.
298695c9
JH
4038 * It is zero if d_getnetbyname_r is undef, and one of the
4039 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4040 * is defined.
10bc17b6
JH
4041 */
4042/*#define HAS_GETNETBYNAME_R / **/
4043#define GETNETBYNAME_R_PROTO 0 /**/
4044
4045/* HAS_GETNETENT_R:
4046 * This symbol, if defined, indicates that the getnetent_r routine
4047 * is available to getnetent re-entrantly.
4048 */
4049/* GETNETENT_R_PROTO:
4050 * This symbol encodes the prototype of getnetent_r.
298695c9
JH
4051 * It is zero if d_getnetent_r is undef, and one of the
4052 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4053 * is defined.
10bc17b6
JH
4054 */
4055/*#define HAS_GETNETENT_R / **/
4056#define GETNETENT_R_PROTO 0 /**/
4057
4058/* HAS_GETPROTOBYNAME_R:
4059 * This symbol, if defined, indicates that the getprotobyname_r routine
4060 * is available to getprotobyname re-entrantly.
4061 */
4062/* GETPROTOBYNAME_R_PROTO:
4063 * This symbol encodes the prototype of getprotobyname_r.
298695c9
JH
4064 * It is zero if d_getprotobyname_r is undef, and one of the
4065 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4066 * is defined.
10bc17b6
JH
4067 */
4068/*#define HAS_GETPROTOBYNAME_R / **/
4069#define GETPROTOBYNAME_R_PROTO 0 /**/
4070
4071/* HAS_GETPROTOBYNUMBER_R:
4072 * This symbol, if defined, indicates that the getprotobynumber_r routine
4073 * is available to getprotobynumber re-entrantly.
4074 */
4075/* GETPROTOBYNUMBER_R_PROTO:
4076 * This symbol encodes the prototype of getprotobynumber_r.
298695c9
JH
4077 * It is zero if d_getprotobynumber_r is undef, and one of the
4078 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4079 * is defined.
10bc17b6
JH
4080 */
4081/*#define HAS_GETPROTOBYNUMBER_R / **/
4082#define GETPROTOBYNUMBER_R_PROTO 0 /**/
4083
4084/* HAS_GETPROTOENT_R:
4085 * This symbol, if defined, indicates that the getprotoent_r routine
4086 * is available to getprotoent re-entrantly.
4087 */
4088/* GETPROTOENT_R_PROTO:
4089 * This symbol encodes the prototype of getprotoent_r.
298695c9
JH
4090 * It is zero if d_getprotoent_r is undef, and one of the
4091 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4092 * is defined.
10bc17b6
JH
4093 */
4094/*#define HAS_GETPROTOENT_R / **/
4095#define GETPROTOENT_R_PROTO 0 /**/
4096
4097/* HAS_GETSERVBYNAME_R:
4098 * This symbol, if defined, indicates that the getservbyname_r routine
4099 * is available to getservbyname re-entrantly.
4100 */
4101/* GETSERVBYNAME_R_PROTO:
4102 * This symbol encodes the prototype of getservbyname_r.
298695c9
JH
4103 * It is zero if d_getservbyname_r is undef, and one of the
4104 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
4105 * is defined.
10bc17b6
JH
4106 */
4107/*#define HAS_GETSERVBYNAME_R / **/
4108#define GETSERVBYNAME_R_PROTO 0 /**/
4109
4110/* HAS_GETSERVBYPORT_R:
4111 * This symbol, if defined, indicates that the getservbyport_r routine
4112 * is available to getservbyport re-entrantly.
4113 */
4114/* GETSERVBYPORT_R_PROTO:
4115 * This symbol encodes the prototype of getservbyport_r.
298695c9
JH
4116 * It is zero if d_getservbyport_r is undef, and one of the
4117 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
4118 * is defined.
10bc17b6
JH
4119 */
4120/*#define HAS_GETSERVBYPORT_R / **/
4121#define GETSERVBYPORT_R_PROTO 0 /**/
4122
4123/* HAS_GETSERVENT_R:
4124 * This symbol, if defined, indicates that the getservent_r routine
4125 * is available to getservent re-entrantly.
4126 */
4127/* GETSERVENT_R_PROTO:
4128 * This symbol encodes the prototype of getservent_r.
298695c9
JH
4129 * It is zero if d_getservent_r is undef, and one of the
4130 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
4131 * is defined.
10bc17b6
JH
4132 */
4133/*#define HAS_GETSERVENT_R / **/
4134#define GETSERVENT_R_PROTO 0 /**/
4135
a838cfe5
JH
4136/* HAS_PTHREAD_ATFORK:
4137 * This symbol, if defined, indicates that the pthread_atfork routine
4138 * is available setup fork handlers.
d6483fcc 4139 */
a838cfe5 4140/*#define HAS_PTHREAD_ATFORK / **/
d6483fcc 4141
10bc17b6
JH
4142/* HAS_READDIR64_R:
4143 * This symbol, if defined, indicates that the readdir64_r routine
4144 * is available to readdir64 re-entrantly.
4145 */
4146/* READDIR64_R_PROTO:
4147 * This symbol encodes the prototype of readdir64_r.
298695c9
JH
4148 * It is zero if d_readdir64_r is undef, and one of the
4149 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
4150 * is defined.
10bc17b6
JH
4151 */
4152/*#define HAS_READDIR64_R / **/
4153#define READDIR64_R_PROTO 0 /**/
4154
4155/* HAS_SETHOSTENT_R:
4156 * This symbol, if defined, indicates that the sethostent_r routine
4157 * is available to sethostent re-entrantly.
4158 */
4159/* SETHOSTENT_R_PROTO:
4160 * This symbol encodes the prototype of sethostent_r.
298695c9
JH
4161 * It is zero if d_sethostent_r is undef, and one of the
4162 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
4163 * is defined.
10bc17b6
JH
4164 */
4165/*#define HAS_SETHOSTENT_R / **/
4166#define SETHOSTENT_R_PROTO 0 /**/
4167
4168/* HAS_SETLOCALE_R:
4169 * This symbol, if defined, indicates that the setlocale_r routine
4170 * is available to setlocale re-entrantly.
4171 */
4172/* SETLOCALE_R_PROTO:
4173 * This symbol encodes the prototype of setlocale_r.
298695c9
JH
4174 * It is zero if d_setlocale_r is undef, and one of the
4175 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
4176 * is defined.
10bc17b6
JH
4177 */
4178/*#define HAS_SETLOCALE_R / **/
4179#define SETLOCALE_R_PROTO 0 /**/
4180
4181/* HAS_SETNETENT_R:
4182 * This symbol, if defined, indicates that the setnetent_r routine
4183 * is available to setnetent re-entrantly.
4184 */
4185/* SETNETENT_R_PROTO:
4186 * This symbol encodes the prototype of setnetent_r.
298695c9
JH
4187 * It is zero if d_setnetent_r is undef, and one of the
4188 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
4189 * is defined.
10bc17b6
JH
4190 */
4191/*#define HAS_SETNETENT_R / **/
4192#define SETNETENT_R_PROTO 0 /**/
4193
4194/* HAS_SETPROTOENT_R:
4195 * This symbol, if defined, indicates that the setprotoent_r routine
4196 * is available to setprotoent re-entrantly.
4197 */
4198/* SETPROTOENT_R_PROTO:
4199 * This symbol encodes the prototype of setprotoent_r.
298695c9
JH
4200 * It is zero if d_setprotoent_r is undef, and one of the
4201 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
4202 * is defined.
10bc17b6
JH
4203 */
4204/*#define HAS_SETPROTOENT_R / **/
4205#define SETPROTOENT_R_PROTO 0 /**/
4206
4207/* HAS_SETSERVENT_R:
4208 * This symbol, if defined, indicates that the setservent_r routine
4209 * is available to setservent re-entrantly.
4210 */
4211/* SETSERVENT_R_PROTO:
4212 * This symbol encodes the prototype of setservent_r.
298695c9
JH
4213 * It is zero if d_setservent_r is undef, and one of the
4214 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
4215 * is defined.
10bc17b6
JH
4216 */
4217/*#define HAS_SETSERVENT_R / **/
4218#define SETSERVENT_R_PROTO 0 /**/
4219
4220/* HAS_TTYNAME_R:
4221 * This symbol, if defined, indicates that the ttyname_r routine
4222 * is available to ttyname re-entrantly.
4223 */
4224/* TTYNAME_R_PROTO:
4225 * This symbol encodes the prototype of ttyname_r.
298695c9
JH
4226 * It is zero if d_ttyname_r is undef, and one of the
4227 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
4228 * is defined.
10bc17b6
JH
4229 */
4230/*#define HAS_TTYNAME_R / **/
4231#define TTYNAME_R_PROTO 0 /**/
4232
3ebb1980 4233#endif