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