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