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.vc
CommitLineData
08aa1457 1/*
2 * This file was produced by running the config_h.SH script, which
7d4dff66 3 * gets its values from undef, which is generally produced by
08aa1457 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.
7d4dff66 8 * For a more permanent change edit undef and rerun config_h.SH.
08aa1457 9 *
924b3ec4 10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
08aa1457 11 */
12
924b3ec4
GS
13/*
14 * Package name : perl5
07ba5892 15 * Source directory :
a8a15001 16 * Configuration time: Mon Mar 17 20:15:35 2003
8839b9e4 17 * Configured by : gsar
924b3ec4 18 * Target system :
08aa1457 19 */
20
21#ifndef _config_h_
22#define _config_h_
23
924b3ec4
GS
24/* LOC_SED:
25 * This symbol holds the complete pathname to the sed program.
08aa1457 26 */
924b3ec4 27#define LOC_SED "" /**/
08aa1457 28
08aa1457 29/* HAS_ALARM:
30 * This symbol, if defined, indicates that the alarm routine is
31 * available.
32 */
8fb3fcfb 33#define HAS_ALARM /**/
08aa1457 34
08aa1457 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
08aa1457 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
08aa1457 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
08aa1457 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
08aa1457 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 /**/
08aa1457 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 */
08aa1457 179/*#define HAS_GETGROUPS /**/
08aa1457 180
08aa1457 181/* HAS_GETLOGIN:
182 * This symbol, if defined, indicates that the getlogin routine is
183 * available to get the login name.
184 */
e34ffe5a 185#define HAS_GETLOGIN /**/
08aa1457 186
924b3ec4
GS
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
08aa1457 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
924b3ec4
GS
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.
08aa1457 216 */
924b3ec4 217/*#define HAS_INET_ATON /**/
08aa1457 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 /**/
08aa1457 225
226/* HAS_LINK:
227 * This symbol, if defined, indicates that the link routine is
228 * available to create hard links.
229 */
6b980173 230#define HAS_LINK /**/
08aa1457 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
ac135a7c
GS
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
08aa1457 327/* HAS_NICE:
328 * This symbol, if defined, indicates that the nice routine is
329 * available.
330 */
331/*#define HAS_NICE /**/
332
08aa1457 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
08aa1457 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
08aa1457 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
08aa1457 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
924b3ec4
GS
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
08aa1457 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
924b3ec4
GS
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.
08aa1457 501 */
924b3ec4
GS
502/* HAS_INDEX:
503 * This symbol is defined to indicate that the index()/rindex()
504 * functions are available for string searching.
08aa1457 505 */
924b3ec4
GS
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.
08aa1457 512 */
924b3ec4
GS
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.
08aa1457 519 */
924b3ec4 520#define USE_STRUCT_COPY /**/
08aa1457 521
08aa1457 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
08aa1457 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
08aa1457 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
b8a524e9
NIS
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
08aa1457 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
08aa1457 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 */
f55ee38a 618#define HAS_WAITPID /**/
08aa1457 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
9036c72f 632/* I_ARPA_INET:
327c3667
GS
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.
9036c72f 635 */
327c3667 636#define I_ARPA_INET /**/
9036c72f 637
924b3ec4
GS
638/* I_DBM:
639 * This symbol, if defined, indicates that <dbm.h> exists and should
640 * be included.
08aa1457 641 */
924b3ec4
GS
642/* I_RPCSVC_DBM:
643 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
644 * should be included.
08aa1457 645 */
924b3ec4
GS
646/*#define I_DBM /**/
647#define I_RPCSVC_DBM /**/
08aa1457 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
08aa1457 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
924b3ec4
GS
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
08aa1457 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
08aa1457 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
924b3ec4
GS
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
08aa1457 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 */
b8a524e9
NIS
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 */
08aa1457 768/*#define I_SYS_IOCTL /**/
b8a524e9 769/*#define I_SYS_SOCKIO /**/
08aa1457 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
924b3ec4
GS
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
08aa1457 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
be44fb0e
GS
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
08aa1457 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
08aa1457 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
924b3ec4
GS
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
08aa1457 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
bbda9c9d
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
924b3ec4 929/* MEM_ALIGNBYTES:
9423c6fc 930 * This symbol contains the number of bytes required to align a
ac135a7c
GS
931 * double, or a long double when applicable. Usual values are 2,
932 * 4 and 8. The default is eight, for safety.
08aa1457 933 */
5440bc8e 934#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
9423c6fc
GS
935# define MEM_ALIGNBYTES 8
936#else
937#define MEM_ALIGNBYTES 8
938#endif
08aa1457 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
08aa1457 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...
9423c6fc
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.
08aa1457 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 */
5440bc8e 1024#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
9423c6fc
GS
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
08aa1457 1048#define BYTEORDER 0x1234 /* large digits for MSB */
08aa1457 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 */
465b7da9
SH
1100#ifndef __GNUC__
1101# define CPPSTDIN "cppstdin"
1102# define CPPMINUS ""
1103# define CPPRUN "cl -nologo -E"
1104#else
1105# define CPPSTDIN "gcc -E"
1106# define CPPMINUS "-"
1107# define CPPRUN "gcc -E"
1108#endif
b40906a9
SH
1109#define CPPLAST ""
1110
1111/* HAS__FWALK:
1112 * This symbol, if defined, indicates that the _fwalk system call is
1113 * available to apply a function to all the file handles.
1114 */
1115/*#define HAS__FWALK /**/
1116
1117/* HAS_ACCESS:
1118 * This manifest constant lets the C program know that the access()
1119 * system call is available to check for accessibility using real UID/GID.
1120 * (always present on UNIX.)
1121 */
1122#define HAS_ACCESS /**/
1123
3bf969c5
SH
1124/* HAS_AINTL:
1125 * This symbol, if defined, indicates that the aintl routine is
1126 * available. If copysignl is also present we can emulate modfl.
1127 */
1128/*#define HAS_AINTL / **/
1129
b40906a9
SH
1130/* HAS_ASCTIME_R:
1131 * This symbol, if defined, indicates that the asctime_r routine
1132 * is available to asctime re-entrantly.
1133 */
1134/* ASCTIME_R_PROTO:
1135 * This symbol encodes the prototype of asctime_r.
1136 * It is zero if d_asctime_r is undef, and one of the
1137 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1138 * is defined.
1139 */
1140/*#define HAS_ASCTIME_R /**/
1141#define ASCTIME_R_PROTO 0 /**/
1142
3bf969c5
SH
1143/* HASATTRIBUTE_FORMAT:
1144 * Can we handle GCC attribute for checking printf-style formats
1145 */
63cdf24b
SH
1146/* PRINTF_FORMAT_NULL_OK:
1147 * Allows __printf__ format to be null when checking printf-style
1148 */
3bf969c5
SH
1149/* HASATTRIBUTE_MALLOC:
1150 * Can we handle GCC attribute for malloc-style functions.
1151 */
1152/* HASATTRIBUTE_NONNULL:
1153 * Can we handle GCC attribute for nonnull function parms.
1154 */
1155/* HASATTRIBUTE_NORETURN:
1156 * Can we handle GCC attribute for functions that do not return
1157 */
1158/* HASATTRIBUTE_PURE:
1159 * Can we handle GCC attribute for pure functions
1160 */
1161/* HASATTRIBUTE_UNUSED:
1162 * Can we handle GCC attribute for unused variables and arguments
1163 */
1164/* HASATTRIBUTE_WARN_UNUSED_RESULT:
1165 * Can we handle GCC attribute for warning on unused results
1166 */
1167/*#define HASATTRIBUTE_FORMAT /**/
63cdf24b 1168/*#define PRINTF_FORMAT_NULL_OK /**/
3bf969c5
SH
1169/*#define HASATTRIBUTE_MALLOC /**/
1170/*#define HASATTRIBUTE_NONNULL /**/
1171/*#define HASATTRIBUTE_NORETURN /**/
1172/*#define HASATTRIBUTE_PURE /**/
1173/*#define HASATTRIBUTE_UNUSED /**/
1174/*#define HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1175
1176/* HAS_BUILTIN_CHOOSE_EXPR:
1177 * Can we handle GCC builtin for compile-time ternary-like expressions
1178 */
1179/* HAS_BUILTIN_EXPECT:
1180 * Can we handle GCC builtin for telling that certain values are more
1181 * likely
1182 */
1183/*#define HAS_BUILTIN_EXPECT / **/
1184/*#define HAS_BUILTIN_CHOOSE_EXPR /**/
1185
1186/* HAS_C99_VARIADIC_MACROS:
1187 * If defined, the compiler supports C99 variadic macros.
1188 */
1189/*#define HAS_C99_VARIADIC_MACROS /**/
1190
924b3ec4
GS
1191/* CASTI32:
1192 * This symbol is defined if the C compiler can cast negative
1193 * or large floating point numbers to 32-bit ints.
08aa1457 1194 */
465b7da9
SH
1195#ifdef __GNUC__
1196# define CASTI32 /**/
1197#endif
08aa1457 1198
924b3ec4
GS
1199/* CASTNEGFLOAT:
1200 * This symbol is defined if the C compiler can cast negative
1201 * numbers to unsigned longs, ints and shorts.
08aa1457 1202 */
924b3ec4
GS
1203/* CASTFLAGS:
1204 * This symbol contains flags that say what difficulties the compiler
1205 * has casting odd floating values to unsigned long:
1206 * 0 = ok
1207 * 1 = couldn't cast < 0
1208 * 2 = couldn't cast >= 0x80000000
1209 * 4 = couldn't cast in argument expression list
08aa1457 1210 */
924b3ec4
GS
1211#define CASTNEGFLOAT /**/
1212#define CASTFLAGS 0 /**/
1213
b40906a9
SH
1214/* HAS_CLASS:
1215 * This symbol, if defined, indicates that the class routine is
1216 * available to classify doubles. Available for example in AIX.
1217 * The returned values are defined in <float.h> and are:
1218 *
1219 * FP_PLUS_NORM Positive normalized, nonzero
1220 * FP_MINUS_NORM Negative normalized, nonzero
1221 * FP_PLUS_DENORM Positive denormalized, nonzero
1222 * FP_MINUS_DENORM Negative denormalized, nonzero
1223 * FP_PLUS_ZERO +0.0
1224 * FP_MINUS_ZERO -0.0
1225 * FP_PLUS_INF +INF
1226 * FP_MINUS_INF -INF
1227 * FP_NANS Signaling Not a Number (NaNS)
1228 * FP_NANQ Quiet Not a Number (NaNQ)
1229 */
1230/*#define HAS_CLASS /**/
1231
3bf969c5
SH
1232/* HAS_CLEARENV:
1233 * This symbol, if defined, indicates that the clearenv () routine is
1234 * available for use.
1235 */
1236/*#define HAS_CLEARENV /**/
1237
924b3ec4
GS
1238/* VOID_CLOSEDIR:
1239 * This symbol, if defined, indicates that the closedir() routine
1240 * does not return a value.
08aa1457 1241 */
924b3ec4 1242/*#define VOID_CLOSEDIR /**/
08aa1457 1243
b40906a9
SH
1244/* HAS_STRUCT_CMSGHDR:
1245 * This symbol, if defined, indicates that the struct cmsghdr
1246 * is supported.
b8a524e9 1247 */
b40906a9 1248/*#define HAS_STRUCT_CMSGHDR /**/
b8a524e9 1249
3bf969c5
SH
1250/* HAS_COPYSIGNL:
1251 * This symbol, if defined, indicates that the copysignl routine is
1252 * available. If aintl is also present we can emulate modfl.
1253 */
1254/*#define HAS_COPYSIGNL /**/
1255
1256/* USE_CPLUSPLUS:
1257 * This symbol, if defined, indicates that a C++ compiler was
1258 * used to compiled Perl and will be used to compile extensions.
1259 */
1260/*#define USE_CPLUSPLUS /**/
1261
1262/* HAS_CRYPT:
1263 * This symbol, if defined, indicates that the crypt routine is available
1264 * to encrypt passwords and the like.
1265 */
1266/*#define HAS_CRYPT /**/
1267
b40906a9
SH
1268/* HAS_CRYPT_R:
1269 * This symbol, if defined, indicates that the crypt_r routine
1270 * is available to crypt re-entrantly.
8839b9e4 1271 */
b40906a9
SH
1272/* CRYPT_R_PROTO:
1273 * This symbol encodes the prototype of crypt_r.
1274 * It is zero if d_crypt_r is undef, and one of the
1275 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1276 * is defined.
3635cd84 1277 */
b40906a9
SH
1278/*#define HAS_CRYPT_R /**/
1279#define CRYPT_R_PROTO 0 /**/
3635cd84 1280
b40906a9
SH
1281/* HAS_CSH:
1282 * This symbol, if defined, indicates that the C-shell exists.
8839b9e4 1283 */
b40906a9
SH
1284/* CSH:
1285 * This symbol, if defined, contains the full pathname of csh.
8839b9e4 1286 */
b40906a9
SH
1287/*#define HAS_CSH /**/
1288#ifdef HAS_CSH
1289#define CSH "" /**/
1290#endif
8839b9e4 1291
3bf969c5
SH
1292/* HAS_CTERMID_R:
1293 * This symbol, if defined, indicates that the ctermid_r routine
1294 * is available to ctermid re-entrantly.
1295 */
1296/* CTERMID_R_PROTO:
1297 * This symbol encodes the prototype of ctermid_r.
1298 * It is zero if d_ctermid_r is undef, and one of the
1299 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1300 * is defined.
1301 */
1302/*#define HAS_CTERMID_R /**/
1303#define CTERMID_R_PROTO 0 /**/
1304
b40906a9
SH
1305/* HAS_CTIME_R:
1306 * This symbol, if defined, indicates that the ctime_r routine
1307 * is available to ctime re-entrantly.
3635cd84 1308 */
b40906a9
SH
1309/* CTIME_R_PROTO:
1310 * This symbol encodes the prototype of ctime_r.
1311 * It is zero if d_ctime_r is undef, and one of the
1312 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1313 * is defined.
8839b9e4 1314 */
b40906a9
SH
1315/*#define HAS_CTIME_R /**/
1316#define CTIME_R_PROTO 0 /**/
8839b9e4 1317
3bf969c5
SH
1318/* HAS_DBMINIT_PROTO:
1319 * This symbol, if defined, indicates that the system provides
1320 * a prototype for the dbminit() function. Otherwise, it is up
1321 * to the program to supply one. A good guess is
1322 * extern int dbminit(char *);
1323 */
1324/*#define HAS_DBMINIT_PROTO /**/
1325
1326/* HAS_DIRFD:
1327 * This manifest constant lets the C program know that dirfd
1328 * is available.
1329 */
1330/*#define HAS_DIRFD /**/
1331
b40906a9
SH
1332/* DLSYM_NEEDS_UNDERSCORE:
1333 * This symbol, if defined, indicates that we need to prepend an
1334 * underscore to the symbol name before calling dlsym(). This only
1335 * makes sense if you *have* dlsym, which we will presume is the
1336 * case if you're using dl_dlopen.xs.
a8a15001 1337 */
b40906a9 1338/*#define DLSYM_NEEDS_UNDERSCORE /**/
a8a15001 1339
3bf969c5
SH
1340/* SETUID_SCRIPTS_ARE_SECURE_NOW:
1341 * This symbol, if defined, indicates that the bug that prevents
1342 * setuid scripts from being secure is not present in this kernel.
1343 */
1344/* DOSUID:
1345 * This symbol, if defined, indicates that the C program should
1346 * check the script that it is executing for setuid/setgid bits, and
1347 * attempt to emulate setuid/setgid on systems that have disabled
1348 * setuid #! scripts because the kernel can't do it securely.
1349 * It is up to the package designer to make sure that this emulation
1350 * is done securely. Among other things, it should do an fstat on
1351 * the script it just opened to make sure it really is a setuid/setgid
1352 * script, it should make sure the arguments passed correspond exactly
1353 * to the argument on the #! line, and it should not trust any
1354 * subprocesses to which it must pass the filename rather than the
1355 * file descriptor of the script to be executed.
1356 */
1357/*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1358/*#define DOSUID /**/
1359
b40906a9
SH
1360/* HAS_DRAND48_R:
1361 * This symbol, if defined, indicates that the drand48_r routine
1362 * is available to drand48 re-entrantly.
a8a15001 1363 */
b40906a9
SH
1364/* DRAND48_R_PROTO:
1365 * This symbol encodes the prototype of drand48_r.
1366 * It is zero if d_drand48_r is undef, and one of the
1367 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1368 * is defined.
1369 */
1370/*#define HAS_DRAND48_R /**/
1371#define DRAND48_R_PROTO 0 /**/
a8a15001 1372
b40906a9
SH
1373/* HAS_DRAND48_PROTO:
1374 * This symbol, if defined, indicates that the system provides
1375 * a prototype for the drand48() function. Otherwise, it is up
1376 * to the program to supply one. A good guess is
1377 * extern double drand48(void);
a8a15001 1378 */
b40906a9 1379/*#define HAS_DRAND48_PROTO /**/
a8a15001 1380
b40906a9
SH
1381/* HAS_ENDGRENT:
1382 * This symbol, if defined, indicates that the getgrent routine is
1383 * available for finalizing sequential access of the group database.
a8a15001 1384 */
b40906a9 1385/*#define HAS_ENDGRENT /**/
a8a15001 1386
b40906a9
SH
1387/* HAS_ENDGRENT_R:
1388 * This symbol, if defined, indicates that the endgrent_r routine
1389 * is available to endgrent re-entrantly.
a8a15001 1390 */
b40906a9
SH
1391/* ENDGRENT_R_PROTO:
1392 * This symbol encodes the prototype of endgrent_r.
1393 * It is zero if d_endgrent_r is undef, and one of the
1394 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1395 * is defined.
a8a15001 1396 */
b40906a9
SH
1397/*#define HAS_ENDGRENT_R /**/
1398#define ENDGRENT_R_PROTO 0 /**/
1399
1400/* HAS_ENDHOSTENT:
1401 * This symbol, if defined, indicates that the endhostent() routine is
1402 * available to close whatever was being used for host queries.
a8a15001 1403 */
b40906a9
SH
1404/*#define HAS_ENDHOSTENT /**/
1405
3bf969c5
SH
1406/* HAS_ENDHOSTENT_R:
1407 * This symbol, if defined, indicates that the endhostent_r routine
1408 * is available to endhostent re-entrantly.
1409 */
1410/* ENDHOSTENT_R_PROTO:
1411 * This symbol encodes the prototype of endhostent_r.
1412 * It is zero if d_endhostent_r is undef, and one of the
1413 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1414 * is defined.
1415 */
1416/*#define HAS_ENDHOSTENT_R /**/
1417#define ENDHOSTENT_R_PROTO 0 /**/
1418
b40906a9
SH
1419/* HAS_ENDNETENT:
1420 * This symbol, if defined, indicates that the endnetent() routine is
1421 * available to close whatever was being used for network queries.
a8a15001 1422 */
b40906a9 1423/*#define HAS_ENDNETENT /**/
a8a15001 1424
3bf969c5
SH
1425/* HAS_ENDNETENT_R:
1426 * This symbol, if defined, indicates that the endnetent_r routine
1427 * is available to endnetent re-entrantly.
1428 */
1429/* ENDNETENT_R_PROTO:
1430 * This symbol encodes the prototype of endnetent_r.
1431 * It is zero if d_endnetent_r is undef, and one of the
1432 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1433 * is defined.
1434 */
1435/*#define HAS_ENDNETENT_R /**/
1436#define ENDNETENT_R_PROTO 0 /**/
1437
b40906a9
SH
1438/* HAS_ENDPROTOENT:
1439 * This symbol, if defined, indicates that the endprotoent() routine is
1440 * available to close whatever was being used for protocol queries.
a8a15001 1441 */
b40906a9
SH
1442/*#define HAS_ENDPROTOENT /**/
1443
3bf969c5
SH
1444/* HAS_ENDPROTOENT_R:
1445 * This symbol, if defined, indicates that the endprotoent_r routine
1446 * is available to endprotoent re-entrantly.
1447 */
1448/* ENDPROTOENT_R_PROTO:
1449 * This symbol encodes the prototype of endprotoent_r.
1450 * It is zero if d_endprotoent_r is undef, and one of the
1451 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1452 * is defined.
1453 */
1454/*#define HAS_ENDPROTOENT_R /**/
1455#define ENDPROTOENT_R_PROTO 0 /**/
1456
b40906a9
SH
1457/* HAS_ENDPWENT:
1458 * This symbol, if defined, indicates that the getgrent routine is
1459 * available for finalizing sequential access of the passwd database.
a8a15001 1460 */
b40906a9
SH
1461/*#define HAS_ENDPWENT /**/
1462
1463/* HAS_ENDPWENT_R:
1464 * This symbol, if defined, indicates that the endpwent_r routine
1465 * is available to endpwent re-entrantly.
a8a15001 1466 */
b40906a9
SH
1467/* ENDPWENT_R_PROTO:
1468 * This symbol encodes the prototype of endpwent_r.
1469 * It is zero if d_endpwent_r is undef, and one of the
1470 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1471 * is defined.
a8a15001 1472 */
b40906a9
SH
1473/*#define HAS_ENDPWENT_R /**/
1474#define ENDPWENT_R_PROTO 0 /**/
1475
1476/* HAS_ENDSERVENT:
1477 * This symbol, if defined, indicates that the endservent() routine is
1478 * available to close whatever was being used for service queries.
a8a15001 1479 */
b40906a9
SH
1480/*#define HAS_ENDSERVENT /**/
1481
3bf969c5
SH
1482/* HAS_ENDSERVENT_R:
1483 * This symbol, if defined, indicates that the endservent_r routine
1484 * is available to endservent re-entrantly.
1485 */
1486/* ENDSERVENT_R_PROTO:
1487 * This symbol encodes the prototype of endservent_r.
1488 * It is zero if d_endservent_r is undef, and one of the
1489 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1490 * is defined.
1491 */
1492/*#define HAS_ENDSERVENT_R /**/
1493#define ENDSERVENT_R_PROTO 0 /**/
1494
1495/* HAS_FAST_STDIO:
1496 * This symbol, if defined, indicates that the "fast stdio"
1497 * is available to manipulate the stdio buffers directly.
1498 */
1499#define HAS_FAST_STDIO /**/
1500
b40906a9
SH
1501/* HAS_FCHDIR:
1502 * This symbol, if defined, indicates that the fchdir routine is
1503 * available to change directory using a file descriptor.
a8a15001 1504 */
b40906a9
SH
1505/*#define HAS_FCHDIR /**/
1506
1507/* FCNTL_CAN_LOCK:
1508 * This symbol, if defined, indicates that fcntl() can be used
1509 * for file locking. Normally on Unix systems this is defined.
1510 * It may be undefined on VMS.
a8a15001 1511 */
b40906a9 1512/*#define FCNTL_CAN_LOCK /**/
a8a15001 1513
b40906a9
SH
1514/* HAS_FD_SET:
1515 * This symbol, when defined, indicates presence of the fd_set typedef
1516 * in <sys/types.h>
a8a15001 1517 */
b40906a9
SH
1518#define HAS_FD_SET /**/
1519
1520/* HAS_FINITE:
1521 * This symbol, if defined, indicates that the finite routine is
1522 * available to check whether a double is finite (non-infinity non-NaN).
a8a15001 1523 */
b40906a9 1524/*#define HAS_FINITE /**/
a8a15001 1525
b40906a9
SH
1526/* HAS_FINITEL:
1527 * This symbol, if defined, indicates that the finitel routine is
1528 * available to check whether a long double is finite
1529 * (non-infinity non-NaN).
a8a15001 1530 */
b40906a9 1531/*#define HAS_FINITEL /**/
a8a15001 1532
b40906a9
SH
1533/* FLEXFILENAMES:
1534 * This symbol, if defined, indicates that the system supports filenames
1535 * longer than 14 characters.
a8a15001 1536 */
b40906a9 1537#define FLEXFILENAMES /**/
a8a15001 1538
3bf969c5
SH
1539/* HAS_FLOCK_PROTO:
1540 * This symbol, if defined, indicates that the system provides
1541 * a prototype for the flock() function. Otherwise, it is up
1542 * to the program to supply one. A good guess is
1543 * extern int flock(int, int);
1544 */
1545#define HAS_FLOCK_PROTO /**/
1546
b40906a9
SH
1547/* HAS_FP_CLASS:
1548 * This symbol, if defined, indicates that the fp_class routine is
1549 * available to classify doubles. Available for example in Digital UNIX.
1550 * The returned values are defined in <math.h> and are:
1551 *
1552 * FP_SNAN Signaling NaN (Not-a-Number)
1553 * FP_QNAN Quiet NaN (Not-a-Number)
1554 * FP_POS_INF +infinity
1555 * FP_NEG_INF -infinity
1556 * FP_POS_NORM Positive normalized
1557 * FP_NEG_NORM Negative normalized
1558 * FP_POS_DENORM Positive denormalized
1559 * FP_NEG_DENORM Negative denormalized
1560 * FP_POS_ZERO +0.0 (positive zero)
1561 * FP_NEG_ZERO -0.0 (negative zero)
a8a15001 1562 */
b40906a9 1563/*#define HAS_FP_CLASS /**/
a8a15001 1564
b40906a9
SH
1565/* HAS_FPCLASS:
1566 * This symbol, if defined, indicates that the fpclass routine is
1567 * available to classify doubles. Available for example in Solaris/SVR4.
1568 * The returned values are defined in <ieeefp.h> and are:
1569 *
1570 * FP_SNAN signaling NaN
1571 * FP_QNAN quiet NaN
1572 * FP_NINF negative infinity
1573 * FP_PINF positive infinity
1574 * FP_NDENORM negative denormalized non-zero
1575 * FP_PDENORM positive denormalized non-zero
1576 * FP_NZERO negative zero
1577 * FP_PZERO positive zero
1578 * FP_NNORM negative normalized non-zero
1579 * FP_PNORM positive normalized non-zero
a8a15001 1580 */
b40906a9 1581/*#define HAS_FPCLASS /**/
a8a15001 1582
b40906a9
SH
1583/* HAS_FPCLASSIFY:
1584 * This symbol, if defined, indicates that the fpclassify routine is
1585 * available to classify doubles. Available for example in HP-UX.
1586 * The returned values are defined in <math.h> and are
1587 *
1588 * FP_NORMAL Normalized
1589 * FP_ZERO Zero
1590 * FP_INFINITE Infinity
1591 * FP_SUBNORMAL Denormalized
1592 * FP_NAN NaN
1593 *
a8a15001 1594 */
b40906a9 1595/*#define HAS_FPCLASSIFY /**/
a8a15001 1596
3bf969c5
SH
1597/* HAS_FPCLASSL:
1598 * This symbol, if defined, indicates that the fpclassl routine is
1599 * available to classify long doubles. Available for example in IRIX.
1600 * The returned values are defined in <ieeefp.h> and are:
1601 *
1602 * FP_SNAN signaling NaN
1603 * FP_QNAN quiet NaN
1604 * FP_NINF negative infinity
1605 * FP_PINF positive infinity
1606 * FP_NDENORM negative denormalized non-zero
1607 * FP_PDENORM positive denormalized non-zero
1608 * FP_NZERO negative zero
1609 * FP_PZERO positive zero
1610 * FP_NNORM negative normalized non-zero
1611 * FP_PNORM positive normalized non-zero
1612 */
1613/*#define HAS_FPCLASSL /**/
1614
b40906a9
SH
1615/* HAS_FPOS64_T:
1616 * This symbol will be defined if the C compiler supports fpos64_t.
a8a15001 1617 */
b40906a9
SH
1618/*#define HAS_FPOS64_T /**/
1619
1620/* HAS_FREXPL:
1621 * This symbol, if defined, indicates that the frexpl routine is
1622 * available to break a long double floating-point number into
1623 * a normalized fraction and an integral power of 2.
a8a15001 1624 */
b40906a9
SH
1625/*#define HAS_FREXPL /**/
1626
1627/* HAS_STRUCT_FS_DATA:
1628 * This symbol, if defined, indicates that the struct fs_data
1629 * to do statfs() is supported.
a8a15001 1630 */
b40906a9 1631/*#define HAS_STRUCT_FS_DATA /**/
a8a15001 1632
b40906a9
SH
1633/* HAS_FSEEKO:
1634 * This symbol, if defined, indicates that the fseeko routine is
1635 * available to fseek beyond 32 bits (useful for ILP32 hosts).
a8a15001 1636 */
b40906a9 1637/*#define HAS_FSEEKO /**/
a8a15001 1638
b40906a9
SH
1639/* HAS_FSTATFS:
1640 * This symbol, if defined, indicates that the fstatfs routine is
1641 * available to stat filesystems by file descriptors.
a8a15001 1642 */
b40906a9 1643/*#define HAS_FSTATFS /**/
a8a15001 1644
b40906a9
SH
1645/* HAS_FSYNC:
1646 * This symbol, if defined, indicates that the fsync routine is
1647 * available to write a file's modified data and attributes to
1648 * permanent storage.
a8a15001 1649 */
b40906a9
SH
1650/*#define HAS_FSYNC /**/
1651
1652/* HAS_FTELLO:
1653 * This symbol, if defined, indicates that the ftello routine is
1654 * available to ftell beyond 32 bits (useful for ILP32 hosts).
a8a15001 1655 */
b40906a9 1656/*#define HAS_FTELLO /**/
a8a15001 1657
91180f33
SH
1658/* HAS_FUTIMES:
1659 * This symbol, if defined, indicates that the futimes routine is
1660 * available to change file descriptor time stamps with struct timevals.
1661 */
1662/*#define HAS_FUTIMES /**/
1663
b40906a9
SH
1664/* Gconvert:
1665 * This preprocessor macro is defined to convert a floating point
1666 * number to a string without a trailing decimal point. This
1667 * emulates the behavior of sprintf("%g"), but is sometimes much more
1668 * efficient. If gconvert() is not available, but gcvt() drops the
1669 * trailing decimal point, then gcvt() is used. If all else fails,
1670 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1671 * macro are: value, number of digits, whether trailing zeros should
1672 * be retained, and the output buffer.
1673 * The usual values are:
1674 * d_Gconvert='gconvert((x),(n),(t),(b))'
1675 * d_Gconvert='gcvt((x),(n),(b))'
1676 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1677 * The last two assume trailing zeros should not be kept.
a8a15001 1678 */
b40906a9
SH
1679#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1680
1681/* HAS_GETCWD:
1682 * This symbol, if defined, indicates that the getcwd routine is
1683 * available to get the current working directory.
a8a15001 1684 */
b40906a9 1685#define HAS_GETCWD /**/
a8a15001 1686
b40906a9
SH
1687/* HAS_GETESPWNAM:
1688 * This symbol, if defined, indicates that the getespwnam system call is
1689 * available to retrieve enchanced (shadow) password entries by name.
a8a15001 1690 */
b40906a9 1691/*#define HAS_GETESPWNAM /**/
a8a15001 1692
b40906a9
SH
1693/* HAS_GETFSSTAT:
1694 * This symbol, if defined, indicates that the getfsstat routine is
1695 * available to stat filesystems in bulk.
a8a15001 1696 */
b40906a9 1697/*#define HAS_GETFSSTAT /**/
a8a15001 1698
b40906a9
SH
1699/* HAS_GETGRENT:
1700 * This symbol, if defined, indicates that the getgrent routine is
1701 * available for sequential access of the group database.
a8a15001 1702 */
b40906a9 1703/*#define HAS_GETGRENT /**/
a8a15001 1704
b40906a9
SH
1705/* HAS_GETGRENT_R:
1706 * This symbol, if defined, indicates that the getgrent_r routine
1707 * is available to getgrent re-entrantly.
a8a15001 1708 */
b40906a9
SH
1709/* GETGRENT_R_PROTO:
1710 * This symbol encodes the prototype of getgrent_r.
1711 * It is zero if d_getgrent_r is undef, and one of the
1712 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1713 * is defined.
a8a15001 1714 */
b40906a9
SH
1715/*#define HAS_GETGRENT_R /**/
1716#define GETGRENT_R_PROTO 0 /**/
a8a15001 1717
b40906a9
SH
1718/* HAS_GETGRGID_R:
1719 * This symbol, if defined, indicates that the getgrgid_r routine
1720 * is available to getgrgid re-entrantly.
a8a15001 1721 */
b40906a9
SH
1722/* GETGRGID_R_PROTO:
1723 * This symbol encodes the prototype of getgrgid_r.
1724 * It is zero if d_getgrgid_r is undef, and one of the
1725 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1726 * is defined.
a8a15001 1727 */
b40906a9
SH
1728/*#define HAS_GETGRGID_R /**/
1729#define GETGRGID_R_PROTO 0 /**/
a8a15001 1730
b40906a9
SH
1731/* HAS_GETGRNAM_R:
1732 * This symbol, if defined, indicates that the getgrnam_r routine
1733 * is available to getgrnam re-entrantly.
a8a15001 1734 */
b40906a9
SH
1735/* GETGRNAM_R_PROTO:
1736 * This symbol encodes the prototype of getgrnam_r.
1737 * It is zero if d_getgrnam_r is undef, and one of the
1738 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1739 * is defined.
a8a15001 1740 */
b40906a9
SH
1741/*#define HAS_GETGRNAM_R /**/
1742#define GETGRNAM_R_PROTO 0 /**/
a8a15001 1743
b40906a9
SH
1744/* HAS_GETHOSTBYADDR:
1745 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1746 * available to look up hosts by their IP addresses.
a8a15001 1747 */
b40906a9 1748#define HAS_GETHOSTBYADDR /**/
a8a15001 1749
b40906a9
SH
1750/* HAS_GETHOSTBYNAME:
1751 * This symbol, if defined, indicates that the gethostbyname() routine is
1752 * available to look up host names in some data base or other.
a8a15001 1753 */
b40906a9
SH
1754#define HAS_GETHOSTBYNAME /**/
1755
1756/* HAS_GETHOSTENT:
1757 * This symbol, if defined, indicates that the gethostent() routine is
1758 * available to look up host names in some data base or another.
a8a15001 1759 */
b40906a9 1760/*#define HAS_GETHOSTENT /**/
a8a15001 1761
b40906a9
SH
1762/* HAS_GETHOSTNAME:
1763 * This symbol, if defined, indicates that the C program may use the
1764 * gethostname() routine to derive the host name. See also HAS_UNAME
1765 * and PHOSTNAME.
a8a15001 1766 */
b40906a9
SH
1767/* HAS_UNAME:
1768 * This symbol, if defined, indicates that the C program may use the
1769 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1770 * and PHOSTNAME.
a8a15001 1771 */
b40906a9
SH
1772/* PHOSTNAME:
1773 * This symbol, if defined, indicates the command to feed to the
1774 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1775 * and HAS_UNAME. Note that the command uses a fully qualified path,
1776 * so that it is safe even if used by a process with super-user
1777 * privileges.
a8a15001 1778 */
b40906a9
SH
1779/* HAS_PHOSTNAME:
1780 * This symbol, if defined, indicates that the C program may use the
1781 * contents of PHOSTNAME as a command to feed to the popen() routine
1782 * to derive the host name.
a8a15001 1783 */
b40906a9
SH
1784#define HAS_GETHOSTNAME /**/
1785#define HAS_UNAME /**/
1786/*#define HAS_PHOSTNAME /**/
1787#ifdef HAS_PHOSTNAME
1788#define PHOSTNAME "" /* How to get the host name */
a8a15001
GS
1789#endif
1790
3bf969c5
SH
1791/* HAS_GETHOSTBYADDR_R:
1792 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1793 * is available to gethostbyaddr re-entrantly.
a8a15001 1794 */
3bf969c5
SH
1795/* GETHOSTBYADDR_R_PROTO:
1796 * This symbol encodes the prototype of gethostbyaddr_r.
1797 * It is zero if d_gethostbyaddr_r is undef, and one of the
1798 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1799 * is defined.
1800 */
1801/*#define HAS_GETHOSTBYADDR_R /**/
1802#define GETHOSTBYADDR_R_PROTO 0 /**/
1803
1804/* HAS_GETHOSTBYNAME_R:
1805 * This symbol, if defined, indicates that the gethostbyname_r routine
1806 * is available to gethostbyname re-entrantly.
1807 */
1808/* GETHOSTBYNAME_R_PROTO:
1809 * This symbol encodes the prototype of gethostbyname_r.
1810 * It is zero if d_gethostbyname_r is undef, and one of the
1811 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1812 * is defined.
1813 */
1814/*#define HAS_GETHOSTBYNAME_R /**/
1815#define GETHOSTBYNAME_R_PROTO 0 /**/
1816
1817/* HAS_GETHOSTENT_R:
1818 * This symbol, if defined, indicates that the gethostent_r routine
1819 * is available to gethostent re-entrantly.
1820 */
1821/* GETHOSTENT_R_PROTO:
1822 * This symbol encodes the prototype of gethostent_r.
1823 * It is zero if d_gethostent_r is undef, and one of the
1824 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1825 * is defined.
1826 */
1827/*#define HAS_GETHOSTENT_R /**/
1828#define GETHOSTENT_R_PROTO 0 /**/
1829
1830/* HAS_GETHOST_PROTOS:
1831 * This symbol, if defined, indicates that <netdb.h> includes
1832 * prototypes for gethostent(), gethostbyname(), and
1833 * gethostbyaddr(). Otherwise, it is up to the program to guess
1834 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1835 */
1836#define HAS_GETHOST_PROTOS /**/
1837
1838/* HAS_GETITIMER:
1839 * This symbol, if defined, indicates that the getitimer routine is
1840 * available to return interval timers.
a8a15001 1841 */
b40906a9 1842/*#define HAS_GETITIMER /**/
a8a15001 1843
b40906a9
SH
1844/* HAS_GETLOGIN_R:
1845 * This symbol, if defined, indicates that the getlogin_r routine
1846 * is available to getlogin re-entrantly.
69c7879f 1847 */
b40906a9
SH
1848/* GETLOGIN_R_PROTO:
1849 * This symbol encodes the prototype of getlogin_r.
1850 * It is zero if d_getlogin_r is undef, and one of the
1851 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1852 * is defined.
69c7879f 1853 */
b40906a9
SH
1854/*#define HAS_GETLOGIN_R /**/
1855#define GETLOGIN_R_PROTO 0 /**/
69c7879f 1856
b40906a9
SH
1857/* HAS_GETMNT:
1858 * This symbol, if defined, indicates that the getmnt routine is
1859 * available to get filesystem mount info by filename.
69c7879f 1860 */
b40906a9 1861/*#define HAS_GETMNT /**/
69c7879f 1862
b40906a9
SH
1863/* HAS_GETMNTENT:
1864 * This symbol, if defined, indicates that the getmntent routine is
1865 * available to iterate through mounted file systems to get their info.
69c7879f 1866 */
b40906a9 1867/*#define HAS_GETMNTENT /**/
69c7879f 1868
b40906a9
SH
1869/* HAS_GETNETBYADDR:
1870 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1871 * available to look up networks by their IP addresses.
69c7879f 1872 */
b40906a9 1873/*#define HAS_GETNETBYADDR /**/
a8a15001
GS
1874
1875/* HAS_GETNETBYNAME:
1876 * This symbol, if defined, indicates that the getnetbyname() routine is
1877 * available to look up networks by their names.
1878 */
1879/*#define HAS_GETNETBYNAME /**/
1880
1881/* HAS_GETNETENT:
1882 * This symbol, if defined, indicates that the getnetent() routine is
1883 * available to look up network names in some data base or another.
1884 */
1885/*#define HAS_GETNETENT /**/
1886
3bf969c5
SH
1887/* HAS_GETNETBYADDR_R:
1888 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1889 * is available to getnetbyaddr re-entrantly.
1890 */
1891/* GETNETBYADDR_R_PROTO:
1892 * This symbol encodes the prototype of getnetbyaddr_r.
1893 * It is zero if d_getnetbyaddr_r is undef, and one of the
1894 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1895 * is defined.
1896 */
1897/*#define HAS_GETNETBYADDR_R /**/
1898#define GETNETBYADDR_R_PROTO 0 /**/
1899
1900/* HAS_GETNETBYNAME_R:
1901 * This symbol, if defined, indicates that the getnetbyname_r routine
1902 * is available to getnetbyname re-entrantly.
1903 */
1904/* GETNETBYNAME_R_PROTO:
1905 * This symbol encodes the prototype of getnetbyname_r.
1906 * It is zero if d_getnetbyname_r is undef, and one of the
1907 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1908 * is defined.
1909 */
1910/*#define HAS_GETNETBYNAME_R /**/
1911#define GETNETBYNAME_R_PROTO 0 /**/
1912
1913/* HAS_GETNETENT_R:
1914 * This symbol, if defined, indicates that the getnetent_r routine
1915 * is available to getnetent re-entrantly.
1916 */
1917/* GETNETENT_R_PROTO:
1918 * This symbol encodes the prototype of getnetent_r.
1919 * It is zero if d_getnetent_r is undef, and one of the
1920 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1921 * is defined.
1922 */
1923/*#define HAS_GETNETENT_R /**/
1924#define GETNETENT_R_PROTO 0 /**/
1925
b40906a9
SH
1926/* HAS_GETNET_PROTOS:
1927 * This symbol, if defined, indicates that <netdb.h> includes
1928 * prototypes for getnetent(), getnetbyname(), and
1929 * getnetbyaddr(). Otherwise, it is up to the program to guess
1930 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1931 */
1932/*#define HAS_GETNET_PROTOS /**/
1933
1934/* HAS_GETPAGESIZE:
1935 * This symbol, if defined, indicates that the getpagesize system call
1936 * is available to get system page size, which is the granularity of
1937 * many memory management calls.
1938 */
1939/*#define HAS_GETPAGESIZE /**/
1940
a8a15001
GS
1941/* HAS_GETPROTOENT:
1942 * This symbol, if defined, indicates that the getprotoent() routine is
1943 * available to look up protocols in some data base or another.
1944 */
1945/*#define HAS_GETPROTOENT /**/
1946
1947/* HAS_GETPGRP:
1948 * This symbol, if defined, indicates that the getpgrp routine is
1949 * available to get the current process group.
1950 */
1951/* USE_BSD_GETPGRP:
1952 * This symbol, if defined, indicates that getpgrp needs one
1953 * arguments whereas USG one needs none.
1954 */
1955/*#define HAS_GETPGRP /**/
1956/*#define USE_BSD_GETPGRP /**/
1957
1958/* HAS_GETPROTOBYNAME:
1959 * This symbol, if defined, indicates that the getprotobyname()
1960 * routine is available to look up protocols by their name.
1961 */
1962/* HAS_GETPROTOBYNUMBER:
1963 * This symbol, if defined, indicates that the getprotobynumber()
1964 * routine is available to look up protocols by their number.
1965 */
1966#define HAS_GETPROTOBYNAME /**/
1967#define HAS_GETPROTOBYNUMBER /**/
1968
3bf969c5
SH
1969/* HAS_GETPROTOBYNAME_R:
1970 * This symbol, if defined, indicates that the getprotobyname_r routine
1971 * is available to getprotobyname re-entrantly.
1972 */
1973/* GETPROTOBYNAME_R_PROTO:
1974 * This symbol encodes the prototype of getprotobyname_r.
1975 * It is zero if d_getprotobyname_r is undef, and one of the
1976 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1977 * is defined.
1978 */
1979/*#define HAS_GETPROTOBYNAME_R /**/
1980#define GETPROTOBYNAME_R_PROTO 0 /**/
1981
1982/* HAS_GETPROTOBYNUMBER_R:
1983 * This symbol, if defined, indicates that the getprotobynumber_r routine
1984 * is available to getprotobynumber re-entrantly.
1985 */
1986/* GETPROTOBYNUMBER_R_PROTO:
1987 * This symbol encodes the prototype of getprotobynumber_r.
1988 * It is zero if d_getprotobynumber_r is undef, and one of the
1989 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1990 * is defined.
1991 */
1992/*#define HAS_GETPROTOBYNUMBER_R /**/
1993#define GETPROTOBYNUMBER_R_PROTO 0 /**/
1994
1995/* HAS_GETPROTOENT_R:
1996 * This symbol, if defined, indicates that the getprotoent_r routine
1997 * is available to getprotoent re-entrantly.
1998 */
1999/* GETPROTOENT_R_PROTO:
2000 * This symbol encodes the prototype of getprotoent_r.
2001 * It is zero if d_getprotoent_r is undef, and one of the
2002 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
2003 * is defined.
2004 */
2005/*#define HAS_GETPROTOENT_R /**/
2006#define GETPROTOENT_R_PROTO 0 /**/
2007
b40906a9
SH
2008/* HAS_GETPROTO_PROTOS:
2009 * This symbol, if defined, indicates that <netdb.h> includes
2010 * prototypes for getprotoent(), getprotobyname(), and
2011 * getprotobyaddr(). Otherwise, it is up to the program to guess
2012 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2013 */
2014#define HAS_GETPROTO_PROTOS /**/
2015
2016/* HAS_GETPRPWNAM:
2017 * This symbol, if defined, indicates that the getprpwnam system call is
2018 * available to retrieve protected (shadow) password entries by name.
2019 */
2020/*#define HAS_GETPRPWNAM /**/
2021
a8a15001
GS
2022/* HAS_GETPWENT:
2023 * This symbol, if defined, indicates that the getpwent routine is
2024 * available for sequential access of the passwd database.
2025 * If this is not available, the older getpw() function may be available.
2026 */
2027/*#define HAS_GETPWENT /**/
2028
b40906a9
SH
2029/* HAS_GETPWENT_R:
2030 * This symbol, if defined, indicates that the getpwent_r routine
2031 * is available to getpwent re-entrantly.
2032 */
2033/* GETPWENT_R_PROTO:
2034 * This symbol encodes the prototype of getpwent_r.
2035 * It is zero if d_getpwent_r is undef, and one of the
2036 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
2037 * is defined.
2038 */
2039/*#define HAS_GETPWENT_R /**/
2040#define GETPWENT_R_PROTO 0 /**/
2041
2042/* HAS_GETPWNAM_R:
2043 * This symbol, if defined, indicates that the getpwnam_r routine
2044 * is available to getpwnam re-entrantly.
2045 */
2046/* GETPWNAM_R_PROTO:
2047 * This symbol encodes the prototype of getpwnam_r.
2048 * It is zero if d_getpwnam_r is undef, and one of the
2049 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
2050 * is defined.
2051 */
2052/*#define HAS_GETPWNAM_R /**/
2053#define GETPWNAM_R_PROTO 0 /**/
2054
2055/* HAS_GETPWUID_R:
2056 * This symbol, if defined, indicates that the getpwuid_r routine
2057 * is available to getpwuid re-entrantly.
2058 */
2059/* GETPWUID_R_PROTO:
2060 * This symbol encodes the prototype of getpwuid_r.
2061 * It is zero if d_getpwuid_r is undef, and one of the
2062 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
2063 * is defined.
2064 */
2065/*#define HAS_GETPWUID_R /**/
2066#define GETPWUID_R_PROTO 0 /**/
2067
a8a15001
GS
2068/* HAS_GETSERVENT:
2069 * This symbol, if defined, indicates that the getservent() routine is
2070 * available to look up network services in some data base or another.
2071 */
2072/*#define HAS_GETSERVENT /**/
2073
3bf969c5
SH
2074/* HAS_GETSERVBYNAME_R:
2075 * This symbol, if defined, indicates that the getservbyname_r routine
2076 * is available to getservbyname re-entrantly.
2077 */
2078/* GETSERVBYNAME_R_PROTO:
2079 * This symbol encodes the prototype of getservbyname_r.
2080 * It is zero if d_getservbyname_r is undef, and one of the
2081 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
2082 * is defined.
2083 */
2084/*#define HAS_GETSERVBYNAME_R /**/
2085#define GETSERVBYNAME_R_PROTO 0 /**/
2086
2087/* HAS_GETSERVBYPORT_R:
2088 * This symbol, if defined, indicates that the getservbyport_r routine
2089 * is available to getservbyport re-entrantly.
2090 */
2091/* GETSERVBYPORT_R_PROTO:
2092 * This symbol encodes the prototype of getservbyport_r.
2093 * It is zero if d_getservbyport_r is undef, and one of the
2094 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
2095 * is defined.
2096 */
2097/*#define HAS_GETSERVBYPORT_R /**/
2098#define GETSERVBYPORT_R_PROTO 0 /**/
2099
2100/* HAS_GETSERVENT_R:
2101 * This symbol, if defined, indicates that the getservent_r routine
2102 * is available to getservent re-entrantly.
2103 */
2104/* GETSERVENT_R_PROTO:
2105 * This symbol encodes the prototype of getservent_r.
2106 * It is zero if d_getservent_r is undef, and one of the
2107 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
2108 * is defined.
2109 */
2110/*#define HAS_GETSERVENT_R /**/
2111#define GETSERVENT_R_PROTO 0 /**/
2112
b40906a9
SH
2113/* HAS_GETSERV_PROTOS:
2114 * This symbol, if defined, indicates that <netdb.h> includes
2115 * prototypes for getservent(), getservbyname(), and
2116 * getservbyaddr(). Otherwise, it is up to the program to guess
2117 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2118 */
2119#define HAS_GETSERV_PROTOS /**/
2120
2121/* HAS_GETSPNAM:
2122 * This symbol, if defined, indicates that the getspnam system call is
2123 * available to retrieve SysV shadow password entries by name.
2124 */
2125/*#define HAS_GETSPNAM /**/
2126
2127/* HAS_GETSPNAM_R:
2128 * This symbol, if defined, indicates that the getspnam_r routine
2129 * is available to getspnam re-entrantly.
2130 */
2131/* GETSPNAM_R_PROTO:
2132 * This symbol encodes the prototype of getspnam_r.
2133 * It is zero if d_getspnam_r is undef, and one of the
2134 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
2135 * is defined.
2136 */
2137/*#define HAS_GETSPNAM_R /**/
2138#define GETSPNAM_R_PROTO 0 /**/
2139
a8a15001
GS
2140/* HAS_GETSERVBYNAME:
2141 * This symbol, if defined, indicates that the getservbyname()
2142 * routine is available to look up services by their name.
2143 */
2144/* HAS_GETSERVBYPORT:
2145 * This symbol, if defined, indicates that the getservbyport()
2146 * routine is available to look up services by their port.
2147 */
2148#define HAS_GETSERVBYNAME /**/
2149#define HAS_GETSERVBYPORT /**/
2150
b40906a9
SH
2151/* HAS_GMTIME_R:
2152 * This symbol, if defined, indicates that the gmtime_r routine
2153 * is available to gmtime re-entrantly.
a8a15001 2154 */
b40906a9
SH
2155/* GMTIME_R_PROTO:
2156 * This symbol encodes the prototype of gmtime_r.
2157 * It is zero if d_gmtime_r is undef, and one of the
2158 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
2159 * is defined.
2160 */
2161/*#define HAS_GMTIME_R /**/
2162#define GMTIME_R_PROTO 0 /**/
2163
2164/* HAS_GNULIBC:
2165 * This symbol, if defined, indicates to the C program that
2166 * the GNU C library is being used. A better check is to use
2167 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
2168 */
2169/*#define HAS_GNULIBC /**/
2170#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
2171# define _GNU_SOURCE
2172#endif
2173/* HAS_HASMNTOPT:
2174 * This symbol, if defined, indicates that the hasmntopt routine is
2175 * available to query the mount options of file systems.
2176 */
2177/*#define HAS_HASMNTOPT /**/
2178
2179/* HAS_HTONL:
2180 * This symbol, if defined, indicates that the htonl() routine (and
2181 * friends htons() ntohl() ntohs()) are available to do network
2182 * order byte swapping.
2183 */
2184/* HAS_HTONS:
2185 * This symbol, if defined, indicates that the htons() routine (and
2186 * friends htonl() ntohl() ntohs()) are available to do network
2187 * order byte swapping.
2188 */
2189/* HAS_NTOHL:
a8a15001
GS
2190 * This symbol, if defined, indicates that the ntohl() routine (and
2191 * friends htonl() htons() ntohs()) are available to do network
2192 * order byte swapping.
2193 */
2194/* HAS_NTOHS:
2195 * This symbol, if defined, indicates that the ntohs() routine (and
2196 * friends htonl() htons() ntohl()) are available to do network
2197 * order byte swapping.
2198 */
2199#define HAS_HTONL /**/
2200#define HAS_HTONS /**/
2201#define HAS_NTOHL /**/
2202#define HAS_NTOHS /**/
2203
3bf969c5
SH
2204/* HAS_ILOGBL:
2205 * This symbol, if defined, indicates that the ilogbl routine is
2206 * available. If scalbnl is also present we can emulate frexpl.
2207 */
2208/*#define HAS_ILOGBL /**/
2209
b40906a9
SH
2210/* HAS_INT64_T:
2211 * This symbol will defined if the C compiler supports int64_t.
2212 * Usually the <inttypes.h> needs to be included, but sometimes
2213 * <sys/types.h> is enough.
2214 */
2215/*#define HAS_INT64_T /**/
2216
2217/* HAS_ISASCII:
2218 * This manifest constant lets the C program know that isascii
2219 * is available.
2220 */
2221#define HAS_ISASCII /**/
2222
2223/* HAS_ISFINITE:
2224 * This symbol, if defined, indicates that the isfinite routine is
2225 * available to check whether a double is finite (non-infinity non-NaN).
2226 */
2227/*#define HAS_ISFINITE /**/
2228
2229/* HAS_ISINF:
2230 * This symbol, if defined, indicates that the isinf routine is
2231 * available to check whether a double is an infinity.
2232 */
2233/*#define HAS_ISINF /**/
2234
2235/* HAS_ISNAN:
2236 * This symbol, if defined, indicates that the isnan routine is
2237 * available to check whether a double is a NaN.
2238 */
2239#define HAS_ISNAN /**/
2240
2241/* HAS_ISNANL:
2242 * This symbol, if defined, indicates that the isnanl routine is
2243 * available to check whether a long double is a NaN.
2244 */
2245/*#define HAS_ISNANL /**/
2246
2247/* HAS_LCHOWN:
2248 * This symbol, if defined, indicates that the lchown routine is
2249 * available to operate on a symbolic link (instead of following the
2250 * link).
2251 */
2252/*#define HAS_LCHOWN /**/
2253
2254/* HAS_LDBL_DIG:
2255 * This symbol, if defined, indicates that this system's <float.h>
2256 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2257 * of significant digits in a long double precision number. Unlike
2258 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2259 */
2260#define HAS_LDBL_DIG /**/
2261
3bf969c5
SH
2262/* LIBM_LIB_VERSION:
2263 * This symbol, if defined, indicates that libm exports _LIB_VERSION
2264 * and that math.h defines the enum to manipulate it.
2265 */
2266/*#define LIBM_LIB_VERSION /**/
2267
b40906a9
SH
2268/* HAS_LOCALTIME_R:
2269 * This symbol, if defined, indicates that the localtime_r routine
2270 * is available to localtime re-entrantly.
2271 */
f025e94b
MB
2272/* LOCALTIME_R_NEEDS_TZSET:
2273 * Many libc's localtime_r implementations do not call tzset,
2274 * making them differ from localtime(), and making timezone
2275 * changes using $ENV{TZ} without explicitly calling tzset
2276 * impossible. This symbol makes us call tzset before localtime_r
2277 */
b40906a9
SH
2278/* LOCALTIME_R_PROTO:
2279 * This symbol encodes the prototype of localtime_r.
2280 * It is zero if d_localtime_r is undef, and one of the
2281 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
2282 * is defined.
2283 */
2284/*#define HAS_LOCALTIME_R /**/
f025e94b 2285/*#define LOCALTIME_R_NEEDS_TZSET /**/
b40906a9
SH
2286#define LOCALTIME_R_PROTO 0 /**/
2287
a8a15001
GS
2288/* HAS_LONG_DOUBLE:
2289 * This symbol will be defined if the C compiler supports long
2290 * doubles.
2291 */
2292/* LONG_DOUBLESIZE:
2293 * This symbol contains the size of a long double, so that the
2294 * C preprocessor can make decisions based on it. It is only
2295 * defined if the system supports long doubles.
2296 */
2297#define HAS_LONG_DOUBLE /**/
2298#ifdef HAS_LONG_DOUBLE
465b7da9
SH
2299# ifndef __GNUC__
2300# define LONG_DOUBLESIZE 10 /**/
2301# else
2302# define LONG_DOUBLESIZE 12 /**/
2303# endif
a8a15001
GS
2304#endif
2305
2306/* HAS_LONG_LONG:
2307 * This symbol will be defined if the C compiler supports long long.
2308 */
2309/* LONGLONGSIZE:
2310 * This symbol contains the size of a long long, so that the
2311 * C preprocessor can make decisions based on it. It is only
2312 * defined if the system supports long long.
2313 */
2314/*#define HAS_LONG_LONG /**/
2315#ifdef HAS_LONG_LONG
2316#define LONGLONGSIZE 8 /**/
2317#endif
2318
b40906a9
SH
2319/* HAS_LSEEK_PROTO:
2320 * This symbol, if defined, indicates that the system provides
2321 * a prototype for the lseek() function. Otherwise, it is up
2322 * to the program to supply one. A good guess is
2323 * extern off_t lseek(int, off_t, int);
2324 */
2325#define HAS_LSEEK_PROTO /**/
2326
2327/* HAS_MADVISE:
2328 * This symbol, if defined, indicates that the madvise system call is
2329 * available to map a file into memory.
2330 */
2331/*#define HAS_MADVISE /**/
2332
91180f33
SH
2333/* HAS_MALLOC_SIZE:
2334 * This symbol, if defined, indicates that the malloc_size
2335 * routine is available for use.
2336 */
2337/*#define HAS_MALLOC_SIZE /**/
2338
2339/* HAS_MALLOC_GOOD_SIZE:
2340 * This symbol, if defined, indicates that the malloc_good_size
2341 * routine is available for use.
2342 */
2343/*#define HAS_MALLOC_GOOD_SIZE /**/
2344
a8a15001
GS
2345/* HAS_MEMCHR:
2346 * This symbol, if defined, indicates that the memchr routine is available
2347 * to locate characters within a C string.
2348 */
2349#define HAS_MEMCHR /**/
2350
b40906a9
SH
2351/* HAS_MKDTEMP:
2352 * This symbol, if defined, indicates that the mkdtemp routine is
2353 * available to exclusively create a uniquely named temporary directory.
2354 */
2355/*#define HAS_MKDTEMP /**/
2356
a8a15001
GS
2357/* HAS_MKSTEMP:
2358 * This symbol, if defined, indicates that the mkstemp routine is
2359 * available to exclusively create and open a uniquely named
2360 * temporary file.
2361 */
2362/*#define HAS_MKSTEMP /**/
2363
b40906a9
SH
2364/* HAS_MKSTEMPS:
2365 * This symbol, if defined, indicates that the mkstemps routine is
2366 * available to excluslvely create and open a uniquely named
2367 * (with a suffix) temporary file.
2368 */
2369/*#define HAS_MKSTEMPS /**/
2370
a8a15001
GS
2371/* HAS_MMAP:
2372 * This symbol, if defined, indicates that the mmap system call is
2373 * available to map a file into memory.
2374 */
2375/* Mmap_t:
2376 * This symbol holds the return type of the mmap() system call
2377 * (and simultaneously the type of the first argument).
3bf969c5 2378 * Usually set to 'void *' or 'caddr_t'.
a8a15001
GS
2379 */
2380/*#define HAS_MMAP /**/
2381#define Mmap_t void * /**/
2382
b40906a9
SH
2383/* HAS_MODFL:
2384 * This symbol, if defined, indicates that the modfl routine is
2385 * available to split a long double x into a fractional part f and
2386 * an integer part i such that |f| < 1.0 and (f + i) = x.
2387 */
2388/* HAS_MODFL_PROTO:
2389 * This symbol, if defined, indicates that the system provides
2390 * a prototype for the modfl() function. Otherwise, it is up
2391 * to the program to supply one.
2392 */
2393/* HAS_MODFL_POW32_BUG:
2394 * This symbol, if defined, indicates that the modfl routine is
2395 * broken for long doubles >= pow(2, 32).
2396 * For example from 4294967303.150000 one would get 4294967302.000000
2397 * and 1.150000. The bug has been seen in certain versions of glibc,
2398 * release 2.2.2 is known to be okay.
2399 */
2400/*#define HAS_MODFL /**/
2401/*#define HAS_MODFL_PROTO /**/
2402/*#define HAS_MODFL_POW32_BUG /**/
2403
2404/* HAS_MPROTECT:
2405 * This symbol, if defined, indicates that the mprotect system call is
2406 * available to modify the access protection of a memory mapped file.
2407 */
2408/*#define HAS_MPROTECT /**/
2409
a8a15001
GS
2410/* HAS_MSG:
2411 * This symbol, if defined, indicates that the entire msg*(2) library is
2412 * supported (IPC mechanism based on message queues).
2413 */
2414/*#define HAS_MSG /**/
2415
b40906a9
SH
2416/* HAS_STRUCT_MSGHDR:
2417 * This symbol, if defined, indicates that the struct msghdr
2418 * is supported.
a8a15001 2419 */
b40906a9 2420/*#define HAS_STRUCT_MSGHDR /**/
a8a15001 2421
3bf969c5
SH
2422/* HAS_NL_LANGINFO:
2423 * This symbol, if defined, indicates that the nl_langinfo routine is
2424 * available to return local data. You will also need <langinfo.h>
2425 * and therefore I_LANGINFO.
2426 */
2427/*#define HAS_NL_LANGINFO /**/
2428
b40906a9
SH
2429/* HAS_OFF64_T:
2430 * This symbol will be defined if the C compiler supports off64_t.
a8a15001 2431 */
b40906a9 2432/*#define HAS_OFF64_T /**/
a8a15001 2433
b40906a9
SH
2434/* HAS_OPEN3:
2435 * This manifest constant lets the C program know that the three
2436 * argument form of open(2) is available.
a8a15001 2437 */
b40906a9 2438/*#define HAS_OPEN3 /**/
a8a15001 2439
3bf969c5
SH
2440/* HAS_PROCSELFEXE:
2441 * This symbol is defined if PROCSELFEXE_PATH is a symlink
2442 * to the absolute pathname of the executing program.
2443 */
2444/* PROCSELFEXE_PATH:
2445 * If HAS_PROCSELFEXE is defined this symbol is the filename
2446 * of the symbolic link pointing to the absolute pathname of
2447 * the executing program.
2448 */
2449/*#define HAS_PROCSELFEXE /**/
2450#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
2451#define PROCSELFEXE_PATH /**/
2452#endif
2453
b40906a9
SH
2454/* OLD_PTHREAD_CREATE_JOINABLE:
2455 * This symbol, if defined, indicates how to create pthread
2456 * in joinable (aka undetached) state. NOTE: not defined
2457 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2458 * (the new version of the constant).
2459 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2460 * and __UNDETACHED.
a8a15001 2461 */
b40906a9 2462/*#define OLD_PTHREAD_CREATE_JOINABLE /**/
a8a15001 2463
3bf969c5
SH
2464/* HAS_PTHREAD_ATFORK:
2465 * This symbol, if defined, indicates that the pthread_atfork routine
2466 * is available to setup fork handlers.
2467 */
2468/*#define HAS_PTHREAD_ATFORK /**/
2469
2470/* HAS_PTHREAD_ATTR_SETSCOPE:
2471 * This symbol, if defined, indicates that the pthread_attr_setscope
2472 * system call is available to set the contention scope attribute of
2473 * a thread attribute object.
2474 */
2475/*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
2476
b40906a9
SH
2477/* HAS_PTHREAD_YIELD:
2478 * This symbol, if defined, indicates that the pthread_yield
2479 * routine is available to yield the execution of the current
2480 * thread. sched_yield is preferable to pthread_yield.
a8a15001 2481 */
b40906a9
SH
2482/* SCHED_YIELD:
2483 * This symbol defines the way to yield the execution of
2484 * the current thread. Known ways are sched_yield,
2485 * pthread_yield, and pthread_yield with NULL.
a8a15001 2486 */
b40906a9
SH
2487/* HAS_SCHED_YIELD:
2488 * This symbol, if defined, indicates that the sched_yield
2489 * routine is available to yield the execution of the current
2490 * thread. sched_yield is preferable to pthread_yield.
2491 */
2492/*#define HAS_PTHREAD_YIELD /**/
2493#define SCHED_YIELD /**/
2494/*#define HAS_SCHED_YIELD /**/
a8a15001 2495
b40906a9
SH
2496/* HAS_RANDOM_R:
2497 * This symbol, if defined, indicates that the random_r routine
2498 * is available to random re-entrantly.
a8a15001 2499 */
b40906a9
SH
2500/* RANDOM_R_PROTO:
2501 * This symbol encodes the prototype of random_r.
2502 * It is zero if d_random_r is undef, and one of the
2503 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2504 * is defined.
a8a15001 2505 */
b40906a9
SH
2506/*#define HAS_RANDOM_R /**/
2507#define RANDOM_R_PROTO 0 /**/
a8a15001 2508
3bf969c5
SH
2509/* HAS_READDIR64_R:
2510 * This symbol, if defined, indicates that the readdir64_r routine
2511 * is available to readdir64 re-entrantly.
2512 */
2513/* READDIR64_R_PROTO:
2514 * This symbol encodes the prototype of readdir64_r.
2515 * It is zero if d_readdir64_r is undef, and one of the
2516 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2517 * is defined.
2518 */
2519/*#define HAS_READDIR64_R /**/
2520#define READDIR64_R_PROTO 0 /**/
2521
b40906a9
SH
2522/* HAS_READDIR_R:
2523 * This symbol, if defined, indicates that the readdir_r routine
2524 * is available to readdir re-entrantly.
a8a15001 2525 */
b40906a9
SH
2526/* READDIR_R_PROTO:
2527 * This symbol encodes the prototype of readdir_r.
2528 * It is zero if d_readdir_r is undef, and one of the
2529 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2530 * is defined.
a8a15001 2531 */
b40906a9
SH
2532/*#define HAS_READDIR_R /**/
2533#define READDIR_R_PROTO 0 /**/
a8a15001 2534
b40906a9
SH
2535/* HAS_READV:
2536 * This symbol, if defined, indicates that the readv routine is
2537 * available to do gather reads. You will also need <sys/uio.h>
2538 * and there I_SYSUIO.
2539 */
2540/*#define HAS_READV /**/
2541
2542/* HAS_RECVMSG:
2543 * This symbol, if defined, indicates that the recvmsg routine is
2544 * available to send structured socket messages.
2545 */
2546/*#define HAS_RECVMSG /**/
2547
2548/* HAS_SAFE_BCOPY:
2549 * This symbol, if defined, indicates that the bcopy routine is available
2550 * to copy potentially overlapping memory blocks. Normally, you should
2551 * probably use memmove() or memcpy(). If neither is defined, roll your
2552 * own version.
2553 */
2554/*#define HAS_SAFE_BCOPY /**/
2555
2556/* HAS_SAFE_MEMCPY:
2557 * This symbol, if defined, indicates that the memcpy routine is available
2558 * to copy potentially overlapping memory blocks. If you need to
2559 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2560 * use memmove() instead, if available.
2561 */
2562/*#define HAS_SAFE_MEMCPY /**/
2563
2564/* HAS_SANE_MEMCMP:
2565 * This symbol, if defined, indicates that the memcmp routine is available
2566 * and can be used to compare relative magnitudes of chars with their high
2567 * bits set. If it is not defined, roll your own version.
2568 */
2569#define HAS_SANE_MEMCMP /**/
2570
2571/* HAS_SBRK_PROTO:
2572 * This symbol, if defined, indicates that the system provides
2573 * a prototype for the sbrk() function. Otherwise, it is up
2574 * to the program to supply one. Good guesses are
2575 * extern void* sbrk(int);
2576 * extern void* sbrk(size_t);
2577 */
2578/*#define HAS_SBRK_PROTO /**/
2579
3bf969c5
SH
2580/* HAS_SCALBNL:
2581 * This symbol, if defined, indicates that the scalbnl routine is
2582 * available. If ilogbl is also present we can emulate frexpl.
2583 */
2584/*#define HAS_SCALBNL /**/
2585
b40906a9
SH
2586/* HAS_SEM:
2587 * This symbol, if defined, indicates that the entire sem*(2) library is
2588 * supported.
2589 */
2590/*#define HAS_SEM /**/
2591
2592/* HAS_SENDMSG:
2593 * This symbol, if defined, indicates that the sendmsg routine is
2594 * available to send structured socket messages.
2595 */
2596/*#define HAS_SENDMSG /**/
2597
2598/* HAS_SETGRENT:
2599 * This symbol, if defined, indicates that the setgrent routine is
2600 * available for initializing sequential access of the group database.
2601 */
2602/*#define HAS_SETGRENT /**/
2603
2604/* HAS_SETGRENT_R:
2605 * This symbol, if defined, indicates that the setgrent_r routine
2606 * is available to setgrent re-entrantly.
2607 */
2608/* SETGRENT_R_PROTO:
2609 * This symbol encodes the prototype of setgrent_r.
2610 * It is zero if d_setgrent_r is undef, and one of the
2611 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2612 * is defined.
2613 */
2614/*#define HAS_SETGRENT_R /**/
2615#define SETGRENT_R_PROTO 0 /**/
2616
2617/* HAS_SETGROUPS:
2618 * This symbol, if defined, indicates that the setgroups() routine is
2619 * available to set the list of process groups. If unavailable, multiple
2620 * groups are probably not supported.
2621 */
2622/*#define HAS_SETGROUPS /**/
2623
2624/* HAS_SETHOSTENT:
2625 * This symbol, if defined, indicates that the sethostent() routine is
2626 * available.
2627 */
2628/*#define HAS_SETHOSTENT /**/
2629
3bf969c5
SH
2630/* HAS_SETHOSTENT_R:
2631 * This symbol, if defined, indicates that the sethostent_r routine
2632 * is available to sethostent re-entrantly.
2633 */
2634/* SETHOSTENT_R_PROTO:
2635 * This symbol encodes the prototype of sethostent_r.
2636 * It is zero if d_sethostent_r is undef, and one of the
2637 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2638 * is defined.
2639 */
2640/*#define HAS_SETHOSTENT_R /**/
2641#define SETHOSTENT_R_PROTO 0 /**/
2642
b40906a9
SH
2643/* HAS_SETITIMER:
2644 * This symbol, if defined, indicates that the setitimer routine is
2645 * available to set interval timers.
2646 */
2647/*#define HAS_SETITIMER /**/
2648
3bf969c5
SH
2649/* HAS_SETLOCALE_R:
2650 * This symbol, if defined, indicates that the setlocale_r routine
2651 * is available to setlocale re-entrantly.
2652 */
2653/* SETLOCALE_R_PROTO:
2654 * This symbol encodes the prototype of setlocale_r.
2655 * It is zero if d_setlocale_r is undef, and one of the
2656 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2657 * is defined.
2658 */
2659/*#define HAS_SETLOCALE_R /**/
2660#define SETLOCALE_R_PROTO 0 /**/
2661
b40906a9
SH
2662/* HAS_SETNETENT:
2663 * This symbol, if defined, indicates that the setnetent() routine is
2664 * available.
2665 */
2666/*#define HAS_SETNETENT /**/
2667
3bf969c5
SH
2668/* HAS_SETNETENT_R:
2669 * This symbol, if defined, indicates that the setnetent_r routine
2670 * is available to setnetent re-entrantly.
b40906a9 2671 */
3bf969c5
SH
2672/* SETNETENT_R_PROTO:
2673 * This symbol encodes the prototype of setnetent_r.
2674 * It is zero if d_setnetent_r is undef, and one of the
2675 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2676 * is defined.
2677 */
2678/*#define HAS_SETNETENT_R /**/
2679#define SETNETENT_R_PROTO 0 /**/
2680
2681/* HAS_SETPROTOENT:
2682 * This symbol, if defined, indicates that the setprotoent() routine is
2683 * available.
2684 */
2685/*#define HAS_SETPROTOENT /**/
b40906a9
SH
2686
2687/* HAS_SETPGRP:
2688 * This symbol, if defined, indicates that the setpgrp routine is
2689 * available to set the current process group.
2690 */
2691/* USE_BSD_SETPGRP:
2692 * This symbol, if defined, indicates that setpgrp needs two
2693 * arguments whereas USG one needs none. See also HAS_SETPGID
2694 * for a POSIX interface.
2695 */
2696/*#define HAS_SETPGRP /**/
2697/*#define USE_BSD_SETPGRP /**/
2698
2699/* HAS_SETPROCTITLE:
2700 * This symbol, if defined, indicates that the setproctitle routine is
2701 * available to set process title.
2702 */
2703/*#define HAS_SETPROCTITLE /**/
2704
3bf969c5
SH
2705/* HAS_SETPROTOENT_R:
2706 * This symbol, if defined, indicates that the setprotoent_r routine
2707 * is available to setprotoent re-entrantly.
2708 */
2709/* SETPROTOENT_R_PROTO:
2710 * This symbol encodes the prototype of setprotoent_r.
2711 * It is zero if d_setprotoent_r is undef, and one of the
2712 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2713 * is defined.
2714 */
2715/*#define HAS_SETPROTOENT_R /**/
2716#define SETPROTOENT_R_PROTO 0 /**/
2717
b40906a9
SH
2718/* HAS_SETPWENT:
2719 * This symbol, if defined, indicates that the setpwent routine is
2720 * available for initializing sequential access of the passwd database.
2721 */
2722/*#define HAS_SETPWENT /**/
2723
2724/* HAS_SETPWENT_R:
2725 * This symbol, if defined, indicates that the setpwent_r routine
2726 * is available to setpwent re-entrantly.
2727 */
2728/* SETPWENT_R_PROTO:
2729 * This symbol encodes the prototype of setpwent_r.
2730 * It is zero if d_setpwent_r is undef, and one of the
2731 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2732 * is defined.
2733 */
2734/*#define HAS_SETPWENT_R /**/
2735#define SETPWENT_R_PROTO 0 /**/
2736
2737/* HAS_SETSERVENT:
2738 * This symbol, if defined, indicates that the setservent() routine is
2739 * available.
2740 */
2741/*#define HAS_SETSERVENT /**/
2742
3bf969c5
SH
2743/* HAS_SETSERVENT_R:
2744 * This symbol, if defined, indicates that the setservent_r routine
2745 * is available to setservent re-entrantly.
2746 */
2747/* SETSERVENT_R_PROTO:
2748 * This symbol encodes the prototype of setservent_r.
2749 * It is zero if d_setservent_r is undef, and one of the
2750 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2751 * is defined.
2752 */
2753/*#define HAS_SETSERVENT_R /**/
2754#define SETSERVENT_R_PROTO 0 /**/
2755
b40906a9
SH
2756/* HAS_SETVBUF:
2757 * This symbol, if defined, indicates that the setvbuf routine is
2758 * available to change buffering on an open stdio stream.
a8a15001 2759 * to a line-buffered mode.
3635cd84 2760 */
a8a15001 2761#define HAS_SETVBUF /**/
3635cd84 2762
b40906a9
SH
2763/* USE_SFIO:
2764 * This symbol, if defined, indicates that sfio should
2765 * be used.
2766 */
2767/*#define USE_SFIO /**/
2768
a8a15001
GS
2769/* HAS_SHM:
2770 * This symbol, if defined, indicates that the entire shm*(2) library is
2771 * supported.
3635cd84 2772 */
a8a15001 2773/*#define HAS_SHM /**/
3635cd84 2774
3bf969c5
SH
2775/* Shmat_t:
2776 * This symbol holds the return type of the shmat() system call.
2777 * Usually set to 'void *' or 'char *'.
2778 */
2779/* HAS_SHMAT_PROTOTYPE:
2780 * This symbol, if defined, indicates that the sys/shm.h includes
2781 * a prototype for shmat(). Otherwise, it is up to the program to
2782 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2783 * but not always right so it should be emitted by the program only
2784 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2785 */
2786#define Shmat_t void * /**/
2787/*#define HAS_SHMAT_PROTOTYPE /**/
2788
b40906a9
SH
2789/* HAS_SIGACTION:
2790 * This symbol, if defined, indicates that Vr4's sigaction() routine
2791 * is available.
8839b9e4 2792 */
b40906a9
SH
2793/*#define HAS_SIGACTION /**/
2794
3bf969c5
SH
2795/* HAS_SIGPROCMASK:
2796 * This symbol, if defined, indicates that the sigprocmask
2797 * system call is available to examine or change the signal mask
2798 * of the calling process.
2799 */
2800/*#define HAS_SIGPROCMASK /**/
2801
b40906a9
SH
2802/* HAS_SIGSETJMP:
2803 * This variable indicates to the C program that the sigsetjmp()
2804 * routine is available to save the calling process's registers
2805 * and stack environment for later use by siglongjmp(), and
2806 * to optionally save the process's signal mask. See
2807 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
8839b9e4 2808 */
b40906a9
SH
2809/* Sigjmp_buf:
2810 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2811 */
2812/* Sigsetjmp:
2813 * This macro is used in the same way as sigsetjmp(), but will invoke
2814 * traditional setjmp() if sigsetjmp isn't available.
2815 * See HAS_SIGSETJMP.
2816 */
2817/* Siglongjmp:
2818 * This macro is used in the same way as siglongjmp(), but will invoke
2819 * traditional longjmp() if siglongjmp isn't available.
2820 * See HAS_SIGSETJMP.
2821 */
2822/*#define HAS_SIGSETJMP /**/
2823#ifdef HAS_SIGSETJMP
2824#define Sigjmp_buf sigjmp_buf
2825#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2826#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2827#else
2828#define Sigjmp_buf jmp_buf
2829#define Sigsetjmp(buf,save_mask) setjmp((buf))
2830#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2831#endif
2832
2833/* USE_SITECUSTOMIZE:
2834 * This symbol, if defined, indicates that sitecustomize should
2835 * be used.
2836 */
2837/*#define USE_SITECUSTOMIZE /**/
8839b9e4 2838
aeb8b986
SH
2839/* HAS_SNPRINTF:
2840 * This symbol, if defined, indicates that the snprintf () library
2841 * function is available for use.
2842 */
2843/* HAS_VSNPRINTF:
2844 * This symbol, if defined, indicates that the vsnprintf () library
2845 * function is available for use.
2846 */
0586e26a
SH
2847#define HAS_SNPRINTF /**/
2848#define HAS_VSNPRINTF /**/
aeb8b986 2849
3bf969c5
SH
2850/* HAS_SOCKATMARK:
2851 * This symbol, if defined, indicates that the sockatmark routine is
2852 * available to test whether a socket is at the out-of-band mark.
2853 */
2854/*#define HAS_SOCKATMARK /**/
2855
2856/* HAS_SOCKATMARK_PROTO:
2857 * This symbol, if defined, indicates that the system provides
2858 * a prototype for the sockatmark() function. Otherwise, it is up
2859 * to the program to supply one. A good guess is
2860 * extern int sockatmark(int);
2861 */
2862/*#define HAS_SOCKATMARK_PROTO /**/
2863
a8a15001
GS
2864/* HAS_SOCKET:
2865 * This symbol, if defined, indicates that the BSD socket interface is
2866 * supported.
3635cd84 2867 */
a8a15001
GS
2868/* HAS_SOCKETPAIR:
2869 * This symbol, if defined, indicates that the BSD socketpair() call is
2870 * supported.
3635cd84 2871 */
a8a15001
GS
2872/* HAS_MSG_CTRUNC:
2873 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2874 * Checking just with #ifdef might not be enough because this symbol
2875 * has been known to be an enum.
3635cd84 2876 */
a8a15001
GS
2877/* HAS_MSG_DONTROUTE:
2878 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2879 * Checking just with #ifdef might not be enough because this symbol
2880 * has been known to be an enum.
3635cd84 2881 */
a8a15001
GS
2882/* HAS_MSG_OOB:
2883 * This symbol, if defined, indicates that the MSG_OOB is supported.
2884 * Checking just with #ifdef might not be enough because this symbol
2885 * has been known to be an enum.
8839b9e4 2886 */
a8a15001
GS
2887/* HAS_MSG_PEEK:
2888 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2889 * Checking just with #ifdef might not be enough because this symbol
2890 * has been known to be an enum.
8839b9e4 2891 */
a8a15001
GS
2892/* HAS_MSG_PROXY:
2893 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2894 * Checking just with #ifdef might not be enough because this symbol
2895 * has been known to be an enum.
3635cd84 2896 */
a8a15001
GS
2897/* HAS_SCM_RIGHTS:
2898 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2899 * Checking just with #ifdef might not be enough because this symbol
2900 * has been known to be an enum.
b1cada0a 2901 */
a8a15001
GS
2902#define HAS_SOCKET /**/
2903/*#define HAS_SOCKETPAIR /**/
2904/*#define HAS_MSG_CTRUNC /**/
2905/*#define HAS_MSG_DONTROUTE /**/
2906/*#define HAS_MSG_OOB /**/
2907/*#define HAS_MSG_PEEK /**/
2908/*#define HAS_MSG_PROXY /**/
2909/*#define HAS_SCM_RIGHTS /**/
b1cada0a 2910
b40906a9
SH
2911/* HAS_SOCKS5_INIT:
2912 * This symbol, if defined, indicates that the socks5_init routine is
2913 * available to initialize SOCKS 5.
2914 */
2915/*#define HAS_SOCKS5_INIT /**/
2916
3bf969c5
SH
2917/* SPRINTF_RETURNS_STRLEN:
2918 * This variable defines whether sprintf returns the length of the string
2919 * (as per the ANSI spec). Some C libraries retain compatibility with
2920 * pre-ANSI C and return a pointer to the passed in buffer; for these
2921 * this variable will be undef.
2922 */
2923#define SPRINTF_RETURNS_STRLEN /**/
2924
b40906a9
SH
2925/* HAS_SQRTL:
2926 * This symbol, if defined, indicates that the sqrtl routine is
2927 * available to do long double square roots.
2928 */
2929/*#define HAS_SQRTL /**/
2930
2931/* HAS_SRAND48_R:
2932 * This symbol, if defined, indicates that the srand48_r routine
2933 * is available to srand48 re-entrantly.
2934 */
2935/* SRAND48_R_PROTO:
2936 * This symbol encodes the prototype of srand48_r.
2937 * It is zero if d_srand48_r is undef, and one of the
2938 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2939 * is defined.
2940 */
2941/*#define HAS_SRAND48_R /**/
2942#define SRAND48_R_PROTO 0 /**/
2943
2944/* HAS_SRANDOM_R:
2945 * This symbol, if defined, indicates that the srandom_r routine
2946 * is available to srandom re-entrantly.
2947 */
2948/* SRANDOM_R_PROTO:
2949 * This symbol encodes the prototype of srandom_r.
2950 * It is zero if d_srandom_r is undef, and one of the
2951 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2952 * is defined.
2953 */
2954/*#define HAS_SRANDOM_R /**/
2955#define SRANDOM_R_PROTO 0 /**/
2956
3bf969c5
SH
2957/* HAS_SETRESGID_PROTO:
2958 * This symbol, if defined, indicates that the system provides
2959 * a prototype for the setresgid() function. Otherwise, it is up
2960 * to the program to supply one. Good guesses are
2961 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
2962 */
2963/*#define HAS_SETRESGID_PROTO /**/
2964
2965/* HAS_SETRESUID_PROTO:
2966 * This symbol, if defined, indicates that the system provides
2967 * a prototype for the setresuid() function. Otherwise, it is up
2968 * to the program to supply one. Good guesses are
2969 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
2970 */
2971/*#define HAS_SETRESUID_PROTO /**/
2972
a8a15001
GS
2973/* USE_STAT_BLOCKS:
2974 * This symbol is defined if this system has a stat structure declaring
2975 * st_blksize and st_blocks.
b69c47f4 2976 */
a8a15001
GS
2977#ifndef USE_STAT_BLOCKS
2978/*#define USE_STAT_BLOCKS /**/
2979#endif
b69c47f4 2980
b40906a9
SH
2981/* HAS_STRUCT_STATFS_F_FLAGS:
2982 * This symbol, if defined, indicates that the struct statfs
2983 * does have the f_flags member containing the mount flags of
2984 * the filesystem containing the file.
2985 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2986 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2987 * have statfs() and struct statfs, they have ustat() and getmnt()
2988 * with struct ustat and struct fs_data.
2989 */
2990/*#define HAS_STRUCT_STATFS_F_FLAGS /**/
2991
2992/* HAS_STRUCT_STATFS:
2993 * This symbol, if defined, indicates that the struct statfs
2994 * to do statfs() is supported.
2995 */
2996/*#define HAS_STRUCT_STATFS /**/
2997
2998/* HAS_FSTATVFS:
2999 * This symbol, if defined, indicates that the fstatvfs routine is
3000 * available to stat filesystems by file descriptors.
3001 */
3002/*#define HAS_FSTATVFS /**/
3003
3004/* USE_STDIO_PTR:
3005 * This symbol is defined if the _ptr and _cnt fields (or similar)
3006 * of the stdio FILE structure can be used to access the stdio buffer
3007 * for a file handle. If this is defined, then the FILE_ptr(fp)
3008 * and FILE_cnt(fp) macros will also be defined and should be used
3009 * to access these fields.
3010 */
3011/* FILE_ptr:
3012 * This macro is used to access the _ptr field (or equivalent) of the
3013 * FILE structure pointed to by its argument. This macro will always be
3014 * defined if USE_STDIO_PTR is defined.
3015 */
3016/* STDIO_PTR_LVALUE:
3017 * This symbol is defined if the FILE_ptr macro can be used as an
3018 * lvalue.
3019 */
3020/* FILE_cnt:
3021 * This macro is used to access the _cnt field (or equivalent) of the
3022 * FILE structure pointed to by its argument. This macro will always be
3023 * defined if USE_STDIO_PTR is defined.
3024 */
3025/* STDIO_CNT_LVALUE:
3026 * This symbol is defined if the FILE_cnt macro can be used as an
3027 * lvalue.
3028 */
3029/* STDIO_PTR_LVAL_SETS_CNT:
3030 * This symbol is defined if using the FILE_ptr macro as an lvalue
3031 * to increase the pointer by n has the side effect of decreasing the
3032 * value of File_cnt(fp) by n.
3033 */
3034/* STDIO_PTR_LVAL_NOCHANGE_CNT:
3035 * This symbol is defined if using the FILE_ptr macro as an lvalue
3036 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3037 */
3038#define USE_STDIO_PTR /**/
3039#ifdef USE_STDIO_PTR
3040#define FILE_ptr(fp) ((fp)->_ptr)
3041#define STDIO_PTR_LVALUE /**/
3042#define FILE_cnt(fp) ((fp)->_cnt)
3043#define STDIO_CNT_LVALUE /**/
3044/*#define STDIO_PTR_LVAL_SETS_CNT /**/
3045#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3046#endif
3047
3048/* USE_STDIO_BASE:
3049 * This symbol is defined if the _base field (or similar) of the
3050 * stdio FILE structure can be used to access the stdio buffer for
3051 * a file handle. If this is defined, then the FILE_base(fp) macro
3052 * will also be defined and should be used to access this field.
3053 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3054 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3055 * will never be defined unless USE_STDIO_PTR is.
3056 */
3057/* FILE_base:
3058 * This macro is used to access the _base field (or equivalent) of the
3059 * FILE structure pointed to by its argument. This macro will always be
3060 * defined if USE_STDIO_BASE is defined.
3061 */
3062/* FILE_bufsiz:
3063 * This macro is used to determine the number of bytes in the I/O
3064 * buffer pointed to by _base field (or equivalent) of the FILE
3065 * structure pointed to its argument. This macro will always be defined
3066 * if USE_STDIO_BASE is defined.
3067 */
3068#define USE_STDIO_BASE /**/
3069#ifdef USE_STDIO_BASE
3070#define FILE_base(fp) ((fp)->_base)
3071#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
3072#endif
3073
3074/* HAS_STRERROR:
3075 * This symbol, if defined, indicates that the strerror routine is
3076 * available to translate error numbers to strings. See the writeup
3077 * of Strerror() in this file before you try to define your own.
3078 */
3079/* HAS_SYS_ERRLIST:
3080 * This symbol, if defined, indicates that the sys_errlist array is
3081 * available to translate error numbers to strings. The extern int
3082 * sys_nerr gives the size of that table.
3083 */
3084/* Strerror:
a8a15001
GS
3085 * This preprocessor symbol is defined as a macro if strerror() is
3086 * not available to translate error numbers to strings but sys_errlist[]
3087 * array is there.
3088 */
3089#define HAS_STRERROR /**/
3090#define HAS_SYS_ERRLIST /**/
3091#define Strerror(e) strerror(e)
0543dcd8 3092
b40906a9
SH
3093/* HAS_STRERROR_R:
3094 * This symbol, if defined, indicates that the strerror_r routine
3095 * is available to strerror re-entrantly.
3096 */
3097/* STRERROR_R_PROTO:
3098 * This symbol encodes the prototype of strerror_r.
3099 * It is zero if d_strerror_r is undef, and one of the
3100 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
3101 * is defined.
3102 */
3103/*#define HAS_STRERROR_R /**/
3104#define STRERROR_R_PROTO 0 /**/
3105
3bf969c5
SH
3106/* HAS_STRFTIME:
3107 * This symbol, if defined, indicates that the strftime routine is
3108 * available to do time formatting.
3109 */
3110#define HAS_STRFTIME /**/
3111
3112/* HAS_STRLCAT:
3113 * This symbol, if defined, indicates that the strlcat () routine is
3114 * available to do string concatenation.
3115 */
3116/*#define HAS_STRLCAT /**/
3117
3118/* HAS_STRLCPY:
3119 * This symbol, if defined, indicates that the strlcpy () routine is
3120 * available to do string copying.
3121 */
3122/*#define HAS_STRLCPY /**/
3123
b40906a9
SH
3124/* HAS_STRTOLD:
3125 * This symbol, if defined, indicates that the strtold routine is
3126 * available to convert strings to long doubles.
3127 */
3128/*#define HAS_STRTOLD /**/
3129
3130/* HAS_STRTOLL:
3131 * This symbol, if defined, indicates that the strtoll routine is
3132 * available to convert strings to long longs.
3133 */
3134/*#define HAS_STRTOLL /**/
3135
3136/* HAS_STRTOQ:
3137 * This symbol, if defined, indicates that the strtoq routine is
3138 * available to convert strings to long longs (quads).
3139 */
3140/*#define HAS_STRTOQ /**/
3141
a8a15001
GS
3142/* HAS_STRTOUL:
3143 * This symbol, if defined, indicates that the strtoul routine is
3144 * available to provide conversion of strings to unsigned long.
0543dcd8 3145 */
a8a15001 3146#define HAS_STRTOUL /**/
0543dcd8 3147
b40906a9
SH
3148/* HAS_STRTOULL:
3149 * This symbol, if defined, indicates that the strtoull routine is
3150 * available to convert strings to unsigned long longs.
3151 */
3152/*#define HAS_STRTOULL /**/
3153
3154/* HAS_STRTOUQ:
3155 * This symbol, if defined, indicates that the strtouq routine is
3156 * available to convert strings to unsigned long longs (quads).
3157 */
3158/*#define HAS_STRTOUQ /**/
3159
3bf969c5
SH
3160/* HAS_SYSCALL_PROTO:
3161 * This symbol, if defined, indicates that the system provides
3162 * a prototype for the syscall() function. Otherwise, it is up
3163 * to the program to supply one. Good guesses are
3164 * extern int syscall(int, ...);
3165 * extern int syscall(long, ...);
3166 */
3167/*#define HAS_SYSCALL_PROTO /**/
3168
b40906a9
SH
3169/* HAS_TELLDIR_PROTO:
3170 * This symbol, if defined, indicates that the system provides
3171 * a prototype for the telldir() function. Otherwise, it is up
3172 * to the program to supply one. A good guess is
3173 * extern long telldir(DIR*);
3174 */
3175#define HAS_TELLDIR_PROTO /**/
3176
3177/* HAS_TIME:
3178 * This symbol, if defined, indicates that the time() routine exists.
3179 */
3180/* Time_t:
3181 * This symbol holds the type returned by time(). It can be long,
3182 * or time_t on BSD sites (in which case <sys/types.h> should be
3183 * included).
3184 */
3185#define HAS_TIME /**/
3186#define Time_t time_t /* Time type */
3187
3188/* HAS_TIMES:
3189 * This symbol, if defined, indicates that the times() routine exists.
3190 * Note that this became obsolete on some systems (SUNOS), which now
3191 * use getrusage(). It may be necessary to include <sys/times.h>.
3192 */
3193#define HAS_TIMES /**/
3194
3195/* HAS_TMPNAM_R:
3196 * This symbol, if defined, indicates that the tmpnam_r routine
3197 * is available to tmpnam re-entrantly.
3198 */
3199/* TMPNAM_R_PROTO:
3200 * This symbol encodes the prototype of tmpnam_r.
3201 * It is zero if d_tmpnam_r is undef, and one of the
3202 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
3203 * is defined.
3204 */
3205/*#define HAS_TMPNAM_R /**/
3206#define TMPNAM_R_PROTO 0 /**/
3207
3bf969c5
SH
3208/* HAS_TTYNAME_R:
3209 * This symbol, if defined, indicates that the ttyname_r routine
3210 * is available to ttyname re-entrantly.
3211 */
3212/* TTYNAME_R_PROTO:
3213 * This symbol encodes the prototype of ttyname_r.
3214 * It is zero if d_ttyname_r is undef, and one of the
3215 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
3216 * is defined.
3217 */
3218/*#define HAS_TTYNAME_R /**/
3219#define TTYNAME_R_PROTO 0 /**/
3220
3221/* U32_ALIGNMENT_REQUIRED:
3222 * This symbol, if defined, indicates that you must access
3223 * character data through U32-aligned pointers.
3224 */
3225#ifndef U32_ALIGNMENT_REQUIRED
3226#define U32_ALIGNMENT_REQUIRED /**/
3227#endif
3228
b40906a9
SH
3229/* HAS_UALARM:
3230 * This symbol, if defined, indicates that the ualarm routine is
3231 * available to do alarms with microsecond granularity.
3232 */
3233/*#define HAS_UALARM /**/
3234
a8a15001
GS
3235/* HAS_UNION_SEMUN:
3236 * This symbol, if defined, indicates that the union semun is
3237 * defined by including <sys/sem.h>. If not, the user code
3238 * probably needs to define it as:
3239 * union semun {
3240 * int val;
3241 * struct semid_ds *buf;
3242 * unsigned short *array;
3243 * }
7d4dff66 3244 */
a8a15001
GS
3245/* USE_SEMCTL_SEMUN:
3246 * This symbol, if defined, indicates that union semun is
3247 * used for semctl IPC_STAT.
3248 */
3249/* USE_SEMCTL_SEMID_DS:
3250 * This symbol, if defined, indicates that struct semid_ds * is
3251 * used for semctl IPC_STAT.
3252 */
3253#define HAS_UNION_SEMUN /**/
3254/*#define USE_SEMCTL_SEMUN /**/
3255/*#define USE_SEMCTL_SEMID_DS /**/
7d4dff66 3256
b40906a9
SH
3257/* HAS_UNORDERED:
3258 * This symbol, if defined, indicates that the unordered routine is
3259 * available to check whether two doubles are unordered
3260 * (effectively: whether either of them is NaN)
3261 */
3262/*#define HAS_UNORDERED /**/
3263
9c8463ea
SH
3264/* HAS_UNSETENV:
3265 * This symbol, if defined, indicates that the unsetenv () routine is
3266 * available for use.
3267 */
3268/*#define HAS_UNSETENV /**/
3269
3bf969c5
SH
3270/* HAS_USLEEP_PROTO:
3271 * This symbol, if defined, indicates that the system provides
3272 * a prototype for the usleep() function. Otherwise, it is up
3273 * to the program to supply one. A good guess is
3274 * extern int usleep(useconds_t);
3275 */
3276/*#define HAS_USLEEP_PROTO /**/
3277
b40906a9
SH
3278/* HAS_USTAT:
3279 * This symbol, if defined, indicates that the ustat system call is
3280 * available to query file system statistics by dev_t.
3281 */
3282/*#define HAS_USTAT /**/
3283
a8a15001
GS
3284/* HAS_VFORK:
3285 * This symbol, if defined, indicates that vfork() exists.
0543dcd8 3286 */
a8a15001 3287/*#define HAS_VFORK /**/
0543dcd8 3288
27bdbd07
SH
3289/* HAS_PSEUDOFORK:
3290 * This symbol, if defined, indicates that an emulation of the
3291 * fork routine is available.
3292 */
3293/*#define HAS_PSEUDOFORK /**/
3294
a8a15001
GS
3295/* Signal_t:
3296 * This symbol's value is either "void" or "int", corresponding to the
3297 * appropriate return type of a signal handler. Thus, you can declare
3298 * a signal handler using "Signal_t (*handler)()", and define the
3299 * handler using "Signal_t handler(sig)".
0543dcd8 3300 */
a8a15001 3301#define Signal_t void /* Signal handler's return type */
0543dcd8 3302
b40906a9
SH
3303/* HAS_VPRINTF:
3304 * This symbol, if defined, indicates that the vprintf routine is available
3305 * to printf with a pointer to an argument list. If unavailable, you
3306 * may need to write your own, probably in terms of _doprnt().
ac135a7c 3307 */
b40906a9
SH
3308/* USE_CHAR_VSPRINTF:
3309 * This symbol is defined if this system has vsprintf() returning type
3310 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3311 * is up to the package author to declare vsprintf correctly based on the
3312 * symbol.
a8a15001 3313 */
b40906a9
SH
3314#define HAS_VPRINTF /**/
3315/*#define USE_CHAR_VSPRINTF /**/
ac135a7c 3316
b40906a9
SH
3317/* HAS_WRITEV:
3318 * This symbol, if defined, indicates that the writev routine is
3319 * available to do scatter writes.
7d4dff66 3320 */
b40906a9 3321/*#define HAS_WRITEV /**/
7d4dff66 3322
b40906a9
SH
3323/* USE_DYNAMIC_LOADING:
3324 * This symbol, if defined, indicates that dynamic loading of
3325 * some sort is available.
3635cd84 3326 */
b40906a9 3327#define USE_DYNAMIC_LOADING /**/
3635cd84 3328
b40906a9
SH
3329/* DOUBLESIZE:
3330 * This symbol contains the size of a double, so that the C preprocessor
3331 * can make decisions based on it.
3332 */
3333#define DOUBLESIZE 8 /**/
3334
3335/* EBCDIC:
3336 * This symbol, if defined, indicates that this system uses
3337 * EBCDIC encoding.
3338 */
3339/*#define EBCDIC /**/
3340
3341/* FFLUSH_NULL:
3342 * This symbol, if defined, tells that fflush(NULL) does flush
3343 * all pending stdio output.
3344 */
3345/* FFLUSH_ALL:
3346 * This symbol, if defined, tells that to flush
3347 * all pending stdio output one must loop through all
3348 * the stdio file handles stored in an array and fflush them.
3349 * Note that if fflushNULL is defined, fflushall will not
3350 * even be probed for and will be left undefined.
3351 */
3352#define FFLUSH_NULL /**/
3353/*#define FFLUSH_ALL /**/
3354
3355/* Fpos_t:
3356 * This symbol holds the type used to declare file positions in libc.
3357 * It can be fpos_t, long, uint, etc... It may be necessary to include
3358 * <sys/types.h> to get any typedef'ed information.
3359 */
3360#define Fpos_t fpos_t /* File position type */
3361
3362/* Gid_t_f:
3363 * This symbol defines the format string used for printing a Gid_t.
3364 */
3365#define Gid_t_f "ld" /**/
3366
3367/* Gid_t_sign:
3368 * This symbol holds the signedess of a Gid_t.
3369 * 1 for unsigned, -1 for signed.
3370 */
3371#define Gid_t_sign -1 /* GID sign */
3372
3373/* Gid_t_size:
3374 * This symbol holds the size of a Gid_t in bytes.
3375 */
3376#define Gid_t_size 4 /* GID size */
3377
3378/* Gid_t:
3379 * This symbol holds the return type of getgid() and the type of
3380 * argument to setrgid() and related functions. Typically,
3381 * it is the type of group ids in the kernel. It can be int, ushort,
3382 * gid_t, etc... It may be necessary to include <sys/types.h> to get
3383 * any typedef'ed information.
3384 */
3385#define Gid_t gid_t /* Type for getgid(), etc... */
3386
3387/* Groups_t:
3388 * This symbol holds the type used for the second argument to
3389 * getgroups() and setgroups(). Usually, this is the same as
3390 * gidtype (gid_t) , but sometimes it isn't.
3391 * It can be int, ushort, gid_t, etc...
3392 * It may be necessary to include <sys/types.h> to get any
3393 * typedef'ed information. This is only required if you have
3394 * getgroups() or setgroups()..
3395 */
3396#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
3397#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
3398#endif
3399
3bf969c5
SH
3400/* I_CRYPT:
3401 * This symbol, if defined, indicates that <crypt.h> exists and
3402 * should be included.
3403 */
3404/*#define I_CRYPT /**/
3405
b40906a9
SH
3406/* DB_Prefix_t:
3407 * This symbol contains the type of the prefix structure element
3408 * in the <db.h> header file. In older versions of DB, it was
3409 * int, while in newer ones it is u_int32_t.
3410 */
3411/* DB_Hash_t:
3412 * This symbol contains the type of the prefix structure element
3413 * in the <db.h> header file. In older versions of DB, it was
3414 * int, while in newer ones it is size_t.
3415 */
3416/* DB_VERSION_MAJOR_CFG:
3417 * This symbol, if defined, defines the major version number of
3418 * Berkeley DB found in the <db.h> header when Perl was configured.
3419 */
3420/* DB_VERSION_MINOR_CFG:
3421 * This symbol, if defined, defines the minor version number of
3422 * Berkeley DB found in the <db.h> header when Perl was configured.
3423 * For DB version 1 this is always 0.
3424 */
3425/* DB_VERSION_PATCH_CFG:
3426 * This symbol, if defined, defines the patch version number of
3427 * Berkeley DB found in the <db.h> header when Perl was configured.
3428 * For DB version 1 this is always 0.
3429 */
3430#define DB_Hash_t int /**/
3431#define DB_Prefix_t int /**/
3432#define DB_VERSION_MAJOR_CFG 0 /**/
3433#define DB_VERSION_MINOR_CFG 0 /**/
3434#define DB_VERSION_PATCH_CFG 0 /**/
3435
3bf969c5
SH
3436/* I_FP:
3437 * This symbol, if defined, indicates that <fp.h> exists and
3438 * should be included.
3439 */
3440/*#define I_FP /**/
3441
b40906a9
SH
3442/* I_FP_CLASS:
3443 * This symbol, if defined, indicates that <fp_class.h> exists and
3444 * should be included.
3445 */
3446/*#define I_FP_CLASS /**/
3447
3448/* I_GRP:
3449 * This symbol, if defined, indicates to the C program that it should
3450 * include <grp.h>.
3451 */
3452/* GRPASSWD:
3453 * This symbol, if defined, indicates to the C program that struct group
3454 * in <grp.h> contains gr_passwd.
3455 */
3456/*#define I_GRP /**/
3457/*#define GRPASSWD /**/
3458
3459/* I_IEEEFP:
3460 * This symbol, if defined, indicates that <ieeefp.h> exists and
3461 * should be included.
3462 */
3463/*#define I_IEEEFP /**/
3464
3465/* I_INTTYPES:
3466 * This symbol, if defined, indicates to the C program that it should
3467 * include <inttypes.h>.
3468 */
3469/*#define I_INTTYPES /**/
3470
3bf969c5
SH
3471/* I_LANGINFO:
3472 * This symbol, if defined, indicates that <langinfo.h> exists and
3473 * should be included.
3474 */
3475/*#define I_LANGINFO /**/
3476
b40906a9
SH
3477/* I_LIBUTIL:
3478 * This symbol, if defined, indicates that <libutil.h> exists and
3479 * should be included.
3480 */
3481/*#define I_LIBUTIL /**/
3482
3483/* I_MACH_CTHREADS:
3484 * This symbol, if defined, indicates to the C program that it should
3485 * include <mach/cthreads.h>.
3486 */
3487/*#define I_MACH_CTHREADS /**/
3488
3489/* I_MNTENT:
3490 * This symbol, if defined, indicates that <mntent.h> exists and
3491 * should be included.
3492 */
3493/*#define I_MNTENT /**/
3494
3bf969c5
SH
3495/* I_NDBM:
3496 * This symbol, if defined, indicates that <ndbm.h> exists and should
3497 * be included.
3498 */
3499/*#define I_NDBM /**/
3500
b40906a9
SH
3501/* I_NETDB:
3502 * This symbol, if defined, indicates that <netdb.h> exists and
3503 * should be included.
3504 */
3505/*#define I_NETDB /**/
3506
3507/* I_NETINET_TCP:
3508 * This symbol, if defined, indicates to the C program that it should
3509 * include <netinet/tcp.h>.
3510 */
3511/*#define I_NETINET_TCP /**/
3512
3513/* I_POLL:
3514 * This symbol, if defined, indicates that <poll.h> exists and
3bf969c5 3515 * should be included. (see also HAS_POLL)
b40906a9
SH
3516 */
3517/*#define I_POLL /**/
3518
3519/* I_PROT:
3520 * This symbol, if defined, indicates that <prot.h> exists and
3521 * should be included.
3522 */
3523/*#define I_PROT /**/
3524
3525/* I_PTHREAD:
3526 * This symbol, if defined, indicates to the C program that it should
3527 * include <pthread.h>.
3528 */
3529/*#define I_PTHREAD /**/
3530
3531/* I_PWD:
3532 * This symbol, if defined, indicates to the C program that it should
3533 * include <pwd.h>.
3635cd84 3534 */
a8a15001
GS
3535/* PWQUOTA:
3536 * This symbol, if defined, indicates to the C program that struct passwd
3537 * contains pw_quota.
3635cd84 3538 */
a8a15001
GS
3539/* PWAGE:
3540 * This symbol, if defined, indicates to the C program that struct passwd
3541 * contains pw_age.
b69c47f4 3542 */
a8a15001
GS
3543/* PWCHANGE:
3544 * This symbol, if defined, indicates to the C program that struct passwd
3545 * contains pw_change.
3635cd84 3546 */
a8a15001
GS
3547/* PWCLASS:
3548 * This symbol, if defined, indicates to the C program that struct passwd
3549 * contains pw_class.
08aa1457 3550 */
a8a15001
GS
3551/* PWEXPIRE:
3552 * This symbol, if defined, indicates to the C program that struct passwd
3553 * contains pw_expire.
fe749a9f 3554 */
a8a15001
GS
3555/* PWCOMMENT:
3556 * This symbol, if defined, indicates to the C program that struct passwd
3557 * contains pw_comment.
7d4dff66 3558 */
a8a15001
GS
3559/* PWGECOS:
3560 * This symbol, if defined, indicates to the C program that struct passwd
3561 * contains pw_gecos.
2fcfac58 3562 */
a8a15001
GS
3563/* PWPASSWD:
3564 * This symbol, if defined, indicates to the C program that struct passwd
3565 * contains pw_passwd.
3566 */
3567/*#define I_PWD /**/
3568/*#define PWQUOTA /**/
3569/*#define PWAGE /**/
3570/*#define PWCHANGE /**/
3571/*#define PWCLASS /**/
3572/*#define PWEXPIRE /**/
3573/*#define PWCOMMENT /**/
3574/*#define PWGECOS /**/
3575/*#define PWPASSWD /**/
2fcfac58 3576
b40906a9
SH
3577/* I_SHADOW:
3578 * This symbol, if defined, indicates that <shadow.h> exists and
a8a15001 3579 * should be included.
08aa1457 3580 */
b40906a9 3581/*#define I_SHADOW /**/
08aa1457 3582
b40906a9
SH
3583/* I_SOCKS:
3584 * This symbol, if defined, indicates that <socks.h> exists and
3585 * should be included.
8839b9e4 3586 */
b40906a9 3587/*#define I_SOCKS /**/
8839b9e4 3588
b40906a9
SH
3589/* I_SUNMATH:
3590 * This symbol, if defined, indicates that <sunmath.h> exists and
3591 * should be included.
8839b9e4 3592 */
b40906a9 3593/*#define I_SUNMATH /**/
8839b9e4 3594
b40906a9
SH
3595/* I_SYSLOG:
3596 * This symbol, if defined, indicates that <syslog.h> exists and
3597 * should be included.
8839b9e4 3598 */
b40906a9 3599/*#define I_SYSLOG /**/
8839b9e4 3600
b40906a9
SH
3601/* I_SYSMODE:
3602 * This symbol, if defined, indicates that <sys/mode.h> exists and
3603 * should be included.
ca7ae272 3604 */
b40906a9 3605/*#define I_SYSMODE /**/
ca7ae272 3606
b40906a9
SH
3607/* I_SYS_MOUNT:
3608 * This symbol, if defined, indicates that <sys/mount.h> exists and
3609 * should be included.
a8a15001 3610 */
b40906a9 3611/*#define I_SYS_MOUNT /**/
be44fb0e 3612
b40906a9
SH
3613/* I_SYS_STATFS:
3614 * This symbol, if defined, indicates that <sys/statfs.h> exists.
08aa1457 3615 */
b40906a9 3616/*#define I_SYS_STATFS /**/
08aa1457 3617
b40906a9
SH
3618/* I_SYS_STATVFS:
3619 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
3620 * should be included.
a8a15001 3621 */
b40906a9
SH
3622/*#define I_SYS_STATVFS /**/
3623
3624/* I_SYSUIO:
3625 * This symbol, if defined, indicates that <sys/uio.h> exists and
3626 * should be included.
a8a15001 3627 */
b40906a9 3628/*#define I_SYSUIO /**/
08aa1457 3629
b40906a9
SH
3630/* I_SYSUTSNAME:
3631 * This symbol, if defined, indicates that <sys/utsname.h> exists and
3632 * should be included.
08aa1457 3633 */
b40906a9 3634/*#define I_SYSUTSNAME /**/
a8a15001 3635
b40906a9
SH
3636/* I_SYS_VFS:
3637 * This symbol, if defined, indicates that <sys/vfs.h> exists and
3638 * should be included.
08aa1457 3639 */
b40906a9 3640/*#define I_SYS_VFS /**/
a8a15001 3641
b40906a9
SH
3642/* I_TIME:
3643 * This symbol, if defined, indicates to the C program that it should
3644 * include <time.h>.
3635cd84 3645 */
b40906a9
SH
3646/* I_SYS_TIME:
3647 * This symbol, if defined, indicates to the C program that it should
3648 * include <sys/time.h>.
ac135a7c 3649 */
b40906a9
SH
3650/* I_SYS_TIME_KERNEL:
3651 * This symbol, if defined, indicates to the C program that it should
3652 * include <sys/time.h> with KERNEL defined.
fea7140c 3653 */
b40906a9
SH
3654/* HAS_TM_TM_ZONE:
3655 * This symbol, if defined, indicates to the C program that
3656 * the struct tm has a tm_zone field.
b8a524e9 3657 */
b40906a9
SH
3658/* HAS_TM_TM_GMTOFF:
3659 * This symbol, if defined, indicates to the C program that
3660 * the struct tm has a tm_gmtoff field.
8839b9e4 3661 */
b40906a9
SH
3662#define I_TIME /**/
3663/*#define I_SYS_TIME /**/
3664/*#define I_SYS_TIME_KERNEL /**/
3665/*#define HAS_TM_TM_ZONE /**/
3666/*#define HAS_TM_TM_GMTOFF /**/
8839b9e4 3667
b40906a9
SH
3668/* I_USTAT:
3669 * This symbol, if defined, indicates that <ustat.h> exists and
3670 * should be included.
c4d53692 3671 */
b40906a9 3672/*#define I_USTAT /**/
3635cd84 3673
3bf969c5
SH
3674/* I_STDARG:
3675 * This symbol, if defined, indicates that <stdarg.h> exists and should
3676 * be included.
3677 */
3678/* I_VARARGS:
3679 * This symbol, if defined, indicates to the C program that it should
3680 * include <varargs.h>.
3681 */
3682#define I_STDARG /**/
3683/*#define I_VARARGS /**/
3684
b40906a9
SH
3685/* PERL_INC_VERSION_LIST:
3686 * This variable specifies the list of subdirectories in over
3687 * which perl.c:incpush() and lib/lib.pm will automatically
3688 * search when adding directories to @INC, in a format suitable
3689 * for a C initialization string. See the inc_version_list entry
3690 * in Porting/Glossary for more details.
08aa1457 3691 */
b40906a9 3692#define PERL_INC_VERSION_LIST 0 /**/
3635cd84 3693
b40906a9
SH
3694/* INSTALL_USR_BIN_PERL:
3695 * This symbol, if defined, indicates that Perl is to be installed
3696 * also as /usr/bin/perl.
e10940c3 3697 */
b40906a9 3698/*#define INSTALL_USR_BIN_PERL /**/
e10940c3 3699
b40906a9
SH
3700/* PERL_PRIfldbl:
3701 * This symbol, if defined, contains the string used by stdio to
3702 * format long doubles (format 'f') for output.
08aa1457 3703 */
b40906a9
SH
3704/* PERL_PRIgldbl:
3705 * This symbol, if defined, contains the string used by stdio to
3706 * format long doubles (format 'g') for output.
08aa1457 3707 */
b40906a9
SH
3708/* PERL_PRIeldbl:
3709 * This symbol, if defined, contains the string used by stdio to
3710 * format long doubles (format 'e') for output.
08aa1457 3711 */
b40906a9
SH
3712/* PERL_SCNfldbl:
3713 * This symbol, if defined, contains the string used by stdio to
3714 * format long doubles (format 'f') for input.
1de32f2a 3715 */
b40906a9
SH
3716/*#define PERL_PRIfldbl "f" /**/
3717/*#define PERL_PRIgldbl "g" /**/
3718/*#define PERL_PRIeldbl "e" /**/
3719/*#define PERL_SCNfldbl "f" /**/
1de32f2a 3720
b40906a9
SH
3721/* Off_t:
3722 * This symbol holds the type used to declare offsets in the kernel.
3723 * It can be int, long, off_t, etc... It may be necessary to include
3724 * <sys/types.h> to get any typedef'ed information.
924b3ec4 3725 */
b40906a9
SH
3726/* LSEEKSIZE:
3727 * This symbol holds the number of bytes used by the Off_t.
7d4dff66 3728 */
b40906a9
SH
3729/* Off_t_size:
3730 * This symbol holds the number of bytes used by the Off_t.
3731 */
465b7da9
SH
3732#ifndef __GNUC__
3733# define Off_t __int64 /* <offset> type */
3734#else
3735# define Off_t long long /* <offset> type */
3736#endif
b40906a9
SH
3737#define LSEEKSIZE 8 /* <offset> size */
3738#define Off_t_size 8 /* <offset> size */
7d4dff66 3739
3bf969c5
SH
3740/* PERL_MAD:
3741 * This symbol, if defined, indicates that the Misc Attribution
3742 * Declaration code should be conditionally compiled.
3743 */
3744/*#define PERL_MAD /**/
3745
b40906a9
SH
3746/* Free_t:
3747 * This variable contains the return type of free(). It is usually
3748 * void, but occasionally int.
924b3ec4 3749 */
b40906a9
SH
3750/* Malloc_t:
3751 * This symbol is the type of pointer returned by malloc and realloc.
3752 */
3753#define Malloc_t void * /**/
3754#define Free_t void /**/
3635cd84 3755
b40906a9
SH
3756/* PERL_MALLOC_WRAP:
3757 * This symbol, if defined, indicates that we'd like malloc wrap checks.
b69c47f4 3758 */
b40906a9 3759#define PERL_MALLOC_WRAP /**/
b69c47f4 3760
b40906a9
SH
3761/* MYMALLOC:
3762 * This symbol, if defined, indicates that we're using our own malloc.
924b3ec4 3763 */
b40906a9 3764/*#define MYMALLOC /**/
08aa1457 3765
b40906a9
SH
3766/* Mode_t:
3767 * This symbol holds the type used to declare file modes
3768 * for systems calls. It is usually mode_t, but may be
3769 * int or unsigned short. It may be necessary to include <sys/types.h>
3770 * to get any typedef'ed information.
08aa1457 3771 */
b40906a9 3772#define Mode_t mode_t /* file mode parameter for system calls */
3635cd84 3773
b40906a9
SH
3774/* VAL_O_NONBLOCK:
3775 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3776 * non-blocking I/O for the file descriptor. Note that there is no way
3777 * back, i.e. you cannot turn it blocking again this way. If you wish to
3778 * alternatively switch between blocking and non-blocking, use the
3779 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
7d4dff66 3780 */
b40906a9
SH
3781/* VAL_EAGAIN:
3782 * This symbol holds the errno error code set by read() when no data was
3783 * present on the non-blocking file descriptor.
924b3ec4 3784 */
b40906a9
SH
3785/* RD_NODATA:
3786 * This symbol holds the return code from read() when no data is present
3787 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3788 * not defined, then you can't distinguish between no data and EOF by
3789 * issuing a read(). You'll have to find another way to tell for sure!
8839b9e4 3790 */
b40906a9
SH
3791/* EOF_NONBLOCK:
3792 * This symbol, if defined, indicates to the C program that a read() on
3793 * a non-blocking file descriptor will return 0 on EOF, and not the value
3794 * held in RD_NODATA (-1 usually, in that case!).
8839b9e4 3795 */
b40906a9
SH
3796#define VAL_O_NONBLOCK O_NONBLOCK
3797#define VAL_EAGAIN EAGAIN
3798#define RD_NODATA -1
3799#define EOF_NONBLOCK
8839b9e4 3800
b40906a9
SH
3801/* NEED_VA_COPY:
3802 * This symbol, if defined, indicates that the system stores
3803 * the variable argument list datatype, va_list, in a format
3804 * that cannot be copied by simple assignment, so that some
3805 * other means must be used when copying is required.
3806 * As such systems vary in their provision (or non-provision)
3807 * of copying mechanisms, handy.h defines a platform-
3808 * independent macro, Perl_va_copy(src, dst), to do the job.
8839b9e4 3809 */
b40906a9 3810/*#define NEED_VA_COPY /**/
a8a15001 3811
b40906a9
SH
3812/* Netdb_host_t:
3813 * This symbol holds the type used for the 1st argument
3814 * to gethostbyaddr().
8839b9e4 3815 */
b40906a9
SH
3816/* Netdb_hlen_t:
3817 * This symbol holds the type used for the 2nd argument
3818 * to gethostbyaddr().
8839b9e4 3819 */
b40906a9
SH
3820/* Netdb_name_t:
3821 * This symbol holds the type used for the argument to
3822 * gethostbyname().
8839b9e4 3823 */
b40906a9
SH
3824/* Netdb_net_t:
3825 * This symbol holds the type used for the 1st argument to
3826 * getnetbyaddr().
08aa1457 3827 */
b40906a9
SH
3828#define Netdb_host_t char * /**/
3829#define Netdb_hlen_t int /**/
3830#define Netdb_name_t char * /**/
3831#define Netdb_net_t long /**/
3635cd84 3832
b40906a9
SH
3833/* PERL_OTHERLIBDIRS:
3834 * This variable contains a colon-separated set of paths for the perl
3835 * binary to search for additional library files or modules.
3836 * These directories will be tacked to the end of @INC.
3837 * Perl will automatically search below each path for version-
3838 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3839 * for more details.
924b3ec4 3840 */
b40906a9 3841/*#define PERL_OTHERLIBDIRS "" /**/
08aa1457 3842
b40906a9
SH
3843/* HAS_QUAD:
3844 * This symbol, if defined, tells that there's a 64-bit integer type,
3845 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
3846 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
08aa1457 3847 */
b40906a9
SH
3848/*#define HAS_QUAD /**/
3849#ifdef HAS_QUAD
465b7da9
SH
3850# ifndef __GNUC__
3851# define Quad_t __int64 /**/
3852# define Uquad_t unsigned __int64 /**/
3853# else
3854# define Quad_t long long /**/
3855# define Uquad_t unsigned long long /**/
3856# endif
b40906a9
SH
3857# define QUADKIND 5 /**/
3858# define QUAD_IS_INT 1
3859# define QUAD_IS_LONG 2
3860# define QUAD_IS_LONG_LONG 3
3861# define QUAD_IS_INT64_T 4
3862#endif
3635cd84 3863
b40906a9
SH
3864/* IVTYPE:
3865 * This symbol defines the C type used for Perl's IV.
8839b9e4 3866 */
b40906a9
SH
3867/* UVTYPE:
3868 * This symbol defines the C type used for Perl's UV.
8839b9e4 3869 */
b40906a9
SH
3870/* I8TYPE:
3871 * This symbol defines the C type used for Perl's I8.
08aa1457 3872 */
b40906a9
SH
3873/* U8TYPE:
3874 * This symbol defines the C type used for Perl's U8.
08aa1457 3875 */
b40906a9
SH
3876/* I16TYPE:
3877 * This symbol defines the C type used for Perl's I16.
8839b9e4 3878 */
b40906a9
SH
3879/* U16TYPE:
3880 * This symbol defines the C type used for Perl's U16.
8839b9e4 3881 */
b40906a9
SH
3882/* I32TYPE:
3883 * This symbol defines the C type used for Perl's I32.
08aa1457 3884 */
b40906a9
SH
3885/* U32TYPE:
3886 * This symbol defines the C type used for Perl's U32.
924b3ec4 3887 */
b40906a9
SH
3888/* I64TYPE:
3889 * This symbol defines the C type used for Perl's I64.
e10940c3 3890 */
b40906a9
SH
3891/* U64TYPE:
3892 * This symbol defines the C type used for Perl's U64.
ac135a7c 3893 */
b40906a9
SH
3894/* NVTYPE:
3895 * This symbol defines the C type used for Perl's NV.
0543dcd8 3896 */
b40906a9
SH
3897/* IVSIZE:
3898 * This symbol contains the sizeof(IV).
0543dcd8 3899 */
b40906a9
SH
3900/* UVSIZE:
3901 * This symbol contains the sizeof(UV).
a3540c92 3902 */
b40906a9
SH
3903/* I8SIZE:
3904 * This symbol contains the sizeof(I8).
a3540c92 3905 */
b40906a9
SH
3906/* U8SIZE:
3907 * This symbol contains the sizeof(U8).
104f9d64 3908 */
b40906a9
SH
3909/* I16SIZE:
3910 * This symbol contains the sizeof(I16).
c890dc6c 3911 */
b40906a9
SH
3912/* U16SIZE:
3913 * This symbol contains the sizeof(U16).
ac135a7c 3914 */
b40906a9
SH
3915/* I32SIZE:
3916 * This symbol contains the sizeof(I32).
ac135a7c 3917 */
b40906a9
SH
3918/* U32SIZE:
3919 * This symbol contains the sizeof(U32).
a3540c92 3920 */
b40906a9
SH
3921/* I64SIZE:
3922 * This symbol contains the sizeof(I64).
a8a15001 3923 */
b40906a9
SH
3924/* U64SIZE:
3925 * This symbol contains the sizeof(U64).
4d3be0c7 3926 */
b40906a9
SH
3927/* NVSIZE:
3928 * This symbol contains the sizeof(NV).
82839a9d 3929 */
b40906a9
SH
3930/* NV_PRESERVES_UV:
3931 * This symbol, if defined, indicates that a variable of type NVTYPE
3932 * can preserve all the bits of a variable of type UVTYPE.
3635cd84 3933 */
b40906a9
SH
3934/* NV_PRESERVES_UV_BITS:
3935 * This symbol contains the number of bits a variable of type NVTYPE
3936 * can preserve of a variable of type UVTYPE.
8839b9e4 3937 */
b40906a9
SH
3938/* NV_ZERO_IS_ALLBITS_ZERO
3939 * This symbol, if defined, indicates that a variable of type NVTYPE
3940 * stores 0.0 in memory as all bits zero.
8839b9e4 3941 */
b40906a9
SH
3942#define IVTYPE long /**/
3943#define UVTYPE unsigned long /**/
3944#define I8TYPE char /**/
3945#define U8TYPE unsigned char /**/
3946#define I16TYPE short /**/
3947#define U16TYPE unsigned short /**/
3948#define I32TYPE long /**/
3949#define U32TYPE unsigned long /**/
3950#ifdef HAS_QUAD
465b7da9
SH
3951# ifndef __GNUC__
3952# define I64TYPE __int64 /**/
3953# define U64TYPE unsigned __int64 /**/
3954# else
3955# define I64TYPE long long /**/
3956# define U64TYPE unsigned long long /**/
3957# endif
b40906a9
SH
3958#endif
3959#define NVTYPE double /**/
3960#define IVSIZE 4 /**/
3961#define UVSIZE 4 /**/
3962#define I8SIZE 1 /**/
3963#define U8SIZE 1 /**/
3964#define I16SIZE 2 /**/
3965#define U16SIZE 2 /**/
3966#define I32SIZE 4 /**/
3967#define U32SIZE 4 /**/
3968#ifdef HAS_QUAD
3969#define I64SIZE 8 /**/
3970#define U64SIZE 8 /**/
3971#endif
3972#define NVSIZE 8 /**/
3973#define NV_PRESERVES_UV
3974#define NV_PRESERVES_UV_BITS 32
3975#define NV_ZERO_IS_ALLBITS_ZERO
3976#if 4 == 8
3977# ifdef BYTEORDER
3978# if BYTEORDER == 0x1234
3979# undef BYTEORDER
3980# define BYTEORDER 0x12345678
3981# else
3982# if BYTEORDER == 0x4321
3983# undef BYTEORDER
3984# define BYTEORDER 0x87654321
3985# endif
3986# endif
3987# endif
3988#endif
8839b9e4 3989
b40906a9
SH
3990/* IVdf:
3991 * This symbol defines the format string used for printing a Perl IV
3992 * as a signed decimal integer.
8839b9e4 3993 */
b40906a9
SH
3994/* UVuf:
3995 * This symbol defines the format string used for printing a Perl UV
3996 * as an unsigned decimal integer.
8839b9e4 3997 */
b40906a9
SH
3998/* UVof:
3999 * This symbol defines the format string used for printing a Perl UV
4000 * as an unsigned octal integer.
e0e3c57a 4001 */
b40906a9
SH
4002/* UVxf:
4003 * This symbol defines the format string used for printing a Perl UV
4004 * as an unsigned hexadecimal integer in lowercase abcdef.
b8a524e9 4005 */
b40906a9
SH
4006/* UVXf:
4007 * This symbol defines the format string used for printing a Perl UV
4008 * as an unsigned hexadecimal integer in uppercase ABCDEF.
b8a524e9 4009 */
b40906a9
SH
4010/* NVef:
4011 * This symbol defines the format string used for printing a Perl NV
4012 * using %e-ish floating point format.
b69c47f4 4013 */
b40906a9
SH
4014/* NVff:
4015 * This symbol defines the format string used for printing a Perl NV
4016 * using %f-ish floating point format.
e10940c3 4017 */
b40906a9
SH
4018/* NVgf:
4019 * This symbol defines the format string used for printing a Perl NV
4020 * using %g-ish floating point format.
b8a524e9 4021 */
b40906a9
SH
4022#define IVdf "ld" /**/
4023#define UVuf "lu" /**/
4024#define UVof "lo" /**/
4025#define UVxf "lx" /**/
4026#define UVXf "lX" /**/
4027#define NVef "e" /**/
4028#define NVff "f" /**/
4029#define NVgf "g" /**/
b8a524e9 4030
b40906a9
SH
4031/* Pid_t:
4032 * This symbol holds the type used to declare process ids in the kernel.
4033 * It can be int, uint, pid_t, etc... It may be necessary to include
4034 * <sys/types.h> to get any typedef'ed information.
b8a524e9 4035 */
b40906a9 4036#define Pid_t int /* PID type */
b8a524e9 4037
b40906a9
SH
4038/* PRIVLIB:
4039 * This symbol contains the name of the private library for this package.
4040 * The library is private in the sense that it needn't be in anyone's
4041 * execution path, but it should be accessible by the world. The program
4042 * should be prepared to do ~ expansion.
7d4dff66 4043 */
b40906a9
SH
4044/* PRIVLIB_EXP:
4045 * This symbol contains the ~name expanded version of PRIVLIB, to be used
4046 * in programs that are not prepared to deal with ~ expansion at run-time.
327c3667 4047 */
8c5f6936
RGS
4048#define PRIVLIB "c:\\perl\\5.10.0\\lib" /**/
4049#define PRIVLIB_EXP (win32_get_privlib("5.10.0")) /**/
327c3667 4050
3bf969c5
SH
4051/* CAN_PROTOTYPE:
4052 * If defined, this macro indicates that the C compiler can handle
4053 * function prototypes.
4054 */
4055/* _:
4056 * This macro is used to declare function parameters for folks who want
4057 * to make declarations with prototypes using a different style than
4058 * the above macros. Use double parentheses. For example:
4059 *
4060 * int main _((int argc, char *argv[]));
4061 */
4062#define CAN_PROTOTYPE /**/
4063#ifdef CAN_PROTOTYPE
4064#define _(args) args
4065#else
4066#define _(args) ()
4067#endif
4068
b40906a9
SH
4069/* PTRSIZE:
4070 * This symbol contains the size of a pointer, so that the C preprocessor
4071 * can make decisions based on it. It will be sizeof(void *) if
4072 * the compiler supports (void *); otherwise it will be
4073 * sizeof(char *).
0cd52aa3 4074 */
b40906a9 4075#define PTRSIZE 4 /**/
0cd52aa3 4076
b40906a9
SH
4077/* Drand01:
4078 * This macro is to be used to generate uniformly distributed
4079 * random numbers over the range [0., 1.[. You may have to supply
4080 * an 'extern double drand48();' in your program since SunOS 4.1.3
4081 * doesn't provide you with anything relevant in its headers.
4082 * See HAS_DRAND48_PROTO.
327c3667 4083 */
b40906a9
SH
4084/* Rand_seed_t:
4085 * This symbol defines the type of the argument of the
4086 * random seed function.
3635cd84 4087 */
b40906a9
SH
4088/* seedDrand01:
4089 * This symbol defines the macro to be used in seeding the
4090 * random number generator (see Drand01).
7d4dff66 4091 */
b40906a9
SH
4092/* RANDBITS:
4093 * This symbol indicates how many bits are produced by the
4094 * function used to generate normalized random numbers.
4095 * Values include 15, 16, 31, and 48.
07ba5892 4096 */
b40906a9
SH
4097#define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
4098#define Rand_seed_t unsigned /**/
4099#define seedDrand01(x) srand((Rand_seed_t)x) /**/
4100#define RANDBITS 15 /**/
07ba5892 4101
b40906a9
SH
4102/* SELECT_MIN_BITS:
4103 * This symbol holds the minimum number of bits operated by select.
4104 * That is, if you do select(n, ...), how many bits at least will be
4105 * cleared in the masks if some activity is detected. Usually this
4106 * is either n or 32*ceil(n/32), especially many little-endians do
4107 * the latter. This is only useful if you have select(), naturally.
8839b9e4 4108 */
b40906a9 4109#define SELECT_MIN_BITS 32 /**/
8839b9e4 4110
b40906a9
SH
4111/* Select_fd_set_t:
4112 * This symbol holds the type used for the 2nd, 3rd, and 4th
4113 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
4114 * is defined, and 'int *' otherwise. This is only useful if you
4115 * have select(), of course.
07ba5892 4116 */
b40906a9 4117#define Select_fd_set_t Perl_fd_set * /**/
07ba5892 4118
3bf969c5
SH
4119/* SH_PATH:
4120 * This symbol contains the full pathname to the shell used on this
4121 * on this system to execute Bourne shell scripts. Usually, this will be
4122 * /bin/sh, though it's possible that some systems will have /bin/ksh,
4123 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
4124 * D:/bin/sh.exe.
4125 */
4126#define SH_PATH "cmd /x /c" /**/
4127
b40906a9
SH
4128/* SIG_NAME:
4129 * This symbol contains a list of signal names in order of
4130 * signal number. This is intended
4131 * to be used as a static array initialization, like this:
4132 * char *sig_name[] = { SIG_NAME };
4133 * The signals in the list are separated with commas, and each signal
4134 * is surrounded by double quotes. There is no leading SIG in the signal
4135 * name, i.e. SIGQUIT is known as "QUIT".
4136 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
4137 * etc., where nn is the actual signal number (e.g. NUM37).
4138 * The signal number for sig_name[i] is stored in sig_num[i].
4139 * The last element is 0 to terminate the list with a NULL. This
4140 * corresponds to the 0 at the end of the sig_name_init list.
4141 * Note that this variable is initialized from the sig_name_init,
4142 * not from sig_name (which is unused).
0cd52aa3 4143 */
b40906a9
SH
4144/* SIG_NUM:
4145 * This symbol contains a list of signal numbers, in the same order as the
4146 * SIG_NAME list. It is suitable for static array initialization, as in:
4147 * int sig_num[] = { SIG_NUM };
4148 * The signals in the list are separated with commas, and the indices
4149 * within that list and the SIG_NAME list match, so it's easy to compute
4150 * the signal name from a number or vice versa at the price of a small
4151 * dynamic linear lookup.
4152 * Duplicates are allowed, but are moved to the end of the list.
4153 * The signal number corresponding to sig_name[i] is sig_number[i].
4154 * if (i < NSIG) then sig_number[i] == i.
4155 * The last element is 0, corresponding to the 0 at the end of
4156 * the sig_name_init list.
4157 * Note that this variable is initialized from the sig_num_init,
4158 * not from sig_num (which is unused).
0cd52aa3 4159 */
b40906a9
SH
4160/* SIG_SIZE:
4161 * This variable contains the number of elements of the SIG_NAME
4162 * and SIG_NUM arrays, excluding the final NULL entry.
07ba5892 4163 */
b40906a9
SH
4164#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 /**/
4165#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 /**/
4166#define SIG_SIZE 27 /**/
52b0428e 4167
b40906a9
SH
4168/* SITEARCH:
4169 * This symbol contains the name of the private library for this package.
4170 * The library is private in the sense that it needn't be in anyone's
4171 * execution path, but it should be accessible by the world. The program
4172 * should be prepared to do ~ expansion.
4173 * The standard distribution will put nothing in this directory.
4174 * After perl has been installed, users may install their own local
4175 * architecture-dependent modules in this directory with
4176 * MakeMaker Makefile.PL
4177 * or equivalent. See INSTALL for details.
8839b9e4 4178 */
b40906a9
SH
4179/* SITEARCH_EXP:
4180 * This symbol contains the ~name expanded version of SITEARCH, to be used
4181 * in programs that are not prepared to deal with ~ expansion at run-time.
4182 */
8c5f6936 4183#define SITEARCH "c:\\perl\\site\\5.10.0\\lib\\MSWin32-x86" /**/
b40906a9 4184/*#define SITEARCH_EXP "" /**/
8839b9e4 4185
b40906a9
SH
4186/* SITELIB:
4187 * This symbol contains the name of the private library for this package.
4188 * The library is private in the sense that it needn't be in anyone's
4189 * execution path, but it should be accessible by the world. The program
4190 * should be prepared to do ~ expansion.
4191 * The standard distribution will put nothing in this directory.
4192 * After perl has been installed, users may install their own local
4193 * architecture-independent modules in this directory with
4194 * MakeMaker Makefile.PL
4195 * or equivalent. See INSTALL for details.
54b118e4 4196 */
b40906a9
SH
4197/* SITELIB_EXP:
4198 * This symbol contains the ~name expanded version of SITELIB, to be used
4199 * in programs that are not prepared to deal with ~ expansion at run-time.
4200 */
4201/* SITELIB_STEM:
4202 * This define is SITELIB_EXP with any trailing version-specific component
4203 * removed. The elements in inc_version_list (inc_version_list.U) can
4204 * be tacked onto this variable to generate a list of directories to search.
4205 */
8c5f6936
RGS
4206#define SITELIB "c:\\perl\\site\\5.10.0\\lib" /**/
4207#define SITELIB_EXP (win32_get_sitelib("5.10.0")) /**/
b40906a9 4208#define SITELIB_STEM "" /**/
54b118e4 4209
b40906a9
SH
4210/* Size_t_size:
4211 * This symbol holds the size of a Size_t in bytes.
54b118e4 4212 */
b40906a9 4213#define Size_t_size 4 /**/
54b118e4 4214
b40906a9
SH
4215/* Size_t:
4216 * This symbol holds the type used to declare length parameters
4217 * for string functions. It is usually size_t, but may be
4218 * unsigned long, int, etc. It may be necessary to include
4219 * <sys/types.h> to get any typedef'ed information.
c4d53692 4220 */
b40906a9 4221#define Size_t size_t /* length paramater for string functions */
52b0428e 4222
b40906a9
SH
4223/* Sock_size_t:
4224 * This symbol holds the type used for the size argument of
4225 * various socket calls (just the base type, not the pointer-to).
c4d53692 4226 */
b40906a9 4227#define Sock_size_t int /**/
52b0428e 4228
b40906a9
SH
4229/* SSize_t:
4230 * This symbol holds the type used by functions that return
4231 * a count of bytes or an error condition. It must be a signed type.
4232 * It is usually ssize_t, but may be long or int, etc.
4233 * It may be necessary to include <sys/types.h> or <unistd.h>
4234 * to get any typedef'ed information.
4235 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
b69c47f4 4236 */
b40906a9 4237#define SSize_t int /* signed count of bytes */
b69c47f4 4238
b40906a9
SH
4239/* STARTPERL:
4240 * This variable contains the string to put in front of a perl
4241 * script to make sure (one hopes) that it runs with perl and not
4242 * some shell.
52b0428e 4243 */
b40906a9 4244#define STARTPERL "#!perl" /**/
c4d53692 4245
b40906a9
SH
4246/* STDCHAR:
4247 * This symbol is defined to be the type of char used in stdio.h.
4248 * It has the values "unsigned char" or "char".
c4d53692 4249 */
b40906a9 4250#define STDCHAR char /**/
c4d53692 4251
b40906a9
SH
4252/* HAS_STDIO_STREAM_ARRAY:
4253 * This symbol, if defined, tells that there is an array
4254 * holding the stdio streams.
a8a15001 4255 */
b40906a9
SH
4256/* STDIO_STREAM_ARRAY:
4257 * This symbol tells the name of the array holding the stdio streams.
4258 * Usual values include _iob, __iob, and __sF.
4259 */
4260/*#define HAS_STDIO_STREAM_ARRAY /**/
4261#define STDIO_STREAM_ARRAY
a8a15001 4262
b40906a9
SH
4263/* Uid_t_f:
4264 * This symbol defines the format string used for printing a Uid_t.
c4d53692 4265 */
b40906a9 4266#define Uid_t_f "ld" /**/
c4d53692 4267
b40906a9
SH
4268/* Uid_t_sign:
4269 * This symbol holds the signedess of a Uid_t.
4270 * 1 for unsigned, -1 for signed.
8839b9e4 4271 */
b40906a9 4272#define Uid_t_sign -1 /* UID sign */
8839b9e4 4273
b40906a9
SH
4274/* Uid_t_size:
4275 * This symbol holds the size of a Uid_t in bytes.
b8a524e9 4276 */
b40906a9 4277#define Uid_t_size 4 /* UID size */
b8a524e9 4278
b40906a9
SH
4279/* Uid_t:
4280 * This symbol holds the type used to declare user ids in the kernel.
4281 * It can be int, ushort, uid_t, etc... It may be necessary to include
4282 * <sys/types.h> to get any typedef'ed information.
0543dcd8 4283 */
b40906a9 4284#define Uid_t uid_t /* UID type */
0543dcd8 4285
b40906a9
SH
4286/* USE_64_BIT_INT:
4287 * This symbol, if defined, indicates that 64-bit integers should
4288 * be used when available. If not defined, the native integers
4289 * will be employed (be they 32 or 64 bits). The minimal possible
4290 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4291 * This may mean using for example "long longs", while your memory
4292 * may still be limited to 2 gigabytes.
a8a15001 4293 */
b40906a9
SH
4294/* USE_64_BIT_ALL:
4295 * This symbol, if defined, indicates that 64-bit integers should
4296 * be used when available. If not defined, the native integers
4297 * will be used (be they 32 or 64 bits). The maximal possible
4298 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4299 * be able to use more than 2 gigabytes of memory. This mode is
4300 * even more binary incompatible than USE_64_BIT_INT. You may not
4301 * be able to run the resulting executable in a 32-bit CPU at all or
4302 * you may need at least to reboot your OS to 64-bit mode.
52b0428e 4303 */
b40906a9
SH
4304#ifndef USE_64_BIT_INT
4305/*#define USE_64_BIT_INT /**/
4306#endif
3635cd84 4307
b40906a9
SH
4308#ifndef USE_64_BIT_ALL
4309/*#define USE_64_BIT_ALL /**/
4310#endif
4311
3bf969c5
SH
4312/* USE_FAST_STDIO:
4313 * This symbol, if defined, indicates that Perl should
4314 * be built to use 'fast stdio'.
4315 * Defaults to define in Perls 5.8 and earlier, to undef later.
4316 */
4317#ifndef USE_FAST_STDIO
4318/*#define USE_FAST_STDIO / **/
4319#endif
4320
b40906a9
SH
4321/* USE_LARGE_FILES:
4322 * This symbol, if defined, indicates that large file support
4323 * should be used when available.
b8a524e9 4324 */
b40906a9 4325#ifndef USE_LARGE_FILES
d6422456 4326/*#define USE_LARGE_FILES /**/
b40906a9 4327#endif
b8a524e9 4328
b40906a9
SH
4329/* USE_LONG_DOUBLE:
4330 * This symbol, if defined, indicates that long doubles should
4331 * be used when available.
924b3ec4 4332 */
b40906a9
SH
4333#ifndef USE_LONG_DOUBLE
4334/*#define USE_LONG_DOUBLE /**/
4335#endif
924b3ec4 4336
b40906a9
SH
4337/* USE_MORE_BITS:
4338 * This symbol, if defined, indicates that 64-bit interfaces and
4339 * long doubles should be used when available.
9423c6fc 4340 */
b40906a9
SH
4341#ifndef USE_MORE_BITS
4342/*#define USE_MORE_BITS /**/
4343#endif
4344
4345/* MULTIPLICITY:
4346 * This symbol, if defined, indicates that Perl should
4347 * be built to use multiplicity.
9423c6fc 4348 */
b40906a9 4349#ifndef MULTIPLICITY
d6422456 4350/*#define MULTIPLICITY /**/
b40906a9 4351#endif
9423c6fc 4352
b40906a9
SH
4353/* USE_PERLIO:
4354 * This symbol, if defined, indicates that the PerlIO abstraction should
4355 * be used throughout. If not defined, stdio should be
4356 * used in a fully backward compatible manner.
3635cd84 4357 */
b40906a9 4358#ifndef USE_PERLIO
d6422456 4359/*#define USE_PERLIO /**/
b40906a9 4360#endif
3635cd84 4361
b40906a9
SH
4362/* USE_SOCKS:
4363 * This symbol, if defined, indicates that Perl should
4364 * be built to use socks.
924b3ec4 4365 */
b40906a9
SH
4366#ifndef USE_SOCKS
4367/*#define USE_SOCKS /**/
4368#endif
4369
4370/* USE_ITHREADS:
4371 * This symbol, if defined, indicates that Perl should be built to
4372 * use the interpreter-based threading implementation.
924b3ec4 4373 */
b40906a9
SH
4374/* USE_5005THREADS:
4375 * This symbol, if defined, indicates that Perl should be built to
4376 * use the 5.005-based threading implementation.
4d3be0c7 4377 */
b40906a9
SH
4378/* OLD_PTHREADS_API:
4379 * This symbol, if defined, indicates that Perl should
4380 * be built to use the old draft POSIX threads API.
4d3be0c7 4381 */
b40906a9
SH
4382/* USE_REENTRANT_API:
4383 * This symbol, if defined, indicates that Perl should
4384 * try to use the various _r versions of library functions.
4385 * This is extremely experimental.
4d3be0c7 4386 */
b40906a9 4387/*#define USE_5005THREADS /**/
d6422456 4388/*#define USE_ITHREADS /**/
b40906a9
SH
4389#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
4390#define USE_THREADS /* until src is revised*/
4391#endif
4392/*#define OLD_PTHREADS_API /**/
4393/*#define USE_REENTRANT_API /**/
924b3ec4 4394
b40906a9
SH
4395/* PERL_VENDORARCH:
4396 * If defined, this symbol contains the name of a private library.
4397 * The library is private in the sense that it needn't be in anyone's
4398 * execution path, but it should be accessible by the world.
3bf969c5 4399 * It may have a ~ on the front.
b40906a9
SH
4400 * The standard distribution will put nothing in this directory.
4401 * Vendors who distribute perl may wish to place their own
4402 * architecture-dependent modules and extensions in this directory with
3bf969c5 4403 * MakeMaker Makefile.PL INSTALLDIRS=vendor
b40906a9 4404 * or equivalent. See INSTALL for details.
a8a15001 4405 */
b40906a9
SH
4406/* PERL_VENDORARCH_EXP:
4407 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
4408 * in programs that are not prepared to deal with ~ expansion at run-time.
0543dcd8 4409 */
b40906a9
SH
4410/*#define PERL_VENDORARCH "" /**/
4411/*#define PERL_VENDORARCH_EXP "" /**/
0543dcd8 4412
b40906a9
SH
4413/* PERL_VENDORLIB_EXP:
4414 * This symbol contains the ~name expanded version of VENDORLIB, to be used
4415 * in programs that are not prepared to deal with ~ expansion at run-time.
2fcfac58 4416 */
b40906a9
SH
4417/* PERL_VENDORLIB_STEM:
4418 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
4419 * removed. The elements in inc_version_list (inc_version_list.U) can
4420 * be tacked onto this variable to generate a list of directories to search.
327c3667 4421 */
b40906a9
SH
4422/*#define PERL_VENDORLIB_EXP "" /**/
4423/*#define PERL_VENDORLIB_STEM "" /**/
327c3667 4424
b40906a9
SH
4425/* VOIDFLAGS:
4426 * This symbol indicates how much support of the void type is given by this
4427 * compiler. What various bits mean:
4428 *
4429 * 1 = supports declaration of void
4430 * 2 = supports arrays of pointers to functions returning void
4431 * 4 = supports comparisons between pointers to void functions and
4432 * addresses of void functions
4433 * 8 = suports declaration of generic void pointers
4434 *
4435 * The package designer should define VOIDUSED to indicate the requirements
4436 * of the package. This can be done either by #defining VOIDUSED before
4437 * including config.h, or by defining defvoidused in Myinit.U. If the
4438 * latter approach is taken, only those flags will be tested. If the
4439 * level of void support necessary is not present, defines void to int.
a8a15001 4440 */
b40906a9
SH
4441#ifndef VOIDUSED
4442#define VOIDUSED 15
4443#endif
4444#define VOIDFLAGS 15
4445#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
4446#define void int /* is void to be avoided? */
4447#define M_VOID /* Xenix strikes again */
4448#endif
a8a15001 4449
3bf969c5
SH
4450/* HAS_POLL:
4451 * This symbol, if defined, indicates that the poll routine is
4452 * available to poll active file descriptors. You may safely
4453 * include <poll.h> when both this symbol *and* I_POLL are defined.
82839a9d 4454 */
3bf969c5 4455/*#define HAS_POLL /**/
8839b9e4 4456
08aa1457 4457#endif