This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
integrate cfgperl contents into mainline; merge conflicts
[perl5.git] / win32 / config_H.vc
CommitLineData
08aa1457
PP
1/*
2 * This file was produced by running the config_h.SH script, which
3 * gets its values from config.sh, which is generally produced by
4 * running Configure.
5 *
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit config.sh and rerun config_h.SH.
9 *
924b3ec4 10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
08aa1457
PP
11 */
12
924b3ec4
GS
13/*
14 * Package name : perl5
07ba5892 15 * Source directory :
e1f15930 16 * Configuration time: Mon Oct 11 21:24:59 1999
924b3ec4
GS
17 * Configured by : gsar
18 * Target system :
08aa1457
PP
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
PP
29/* HAS_ALARM:
30 * This symbol, if defined, indicates that the alarm routine is
31 * available.
32 */
33/*#define HAS_ALARM /**/
34
35/* HASATTRIBUTE:
36 * This symbol indicates the C compiler can check for function attributes,
37 * such as printf formats. This is normally only supported by GNU cc.
38 */
39/*#define HASATTRIBUTE /**/
40#ifndef HASATTRIBUTE
41#define __attribute__(_arg_)
42#endif
43
44/* HAS_BCMP:
45 * This symbol is defined if the bcmp() routine is available to
46 * compare blocks of memory.
47 */
48/*#define HAS_BCMP /**/
49
50/* HAS_BCOPY:
51 * This symbol is defined if the bcopy() routine is available to
52 * copy blocks of memory.
53 */
54/*#define HAS_BCOPY /**/
55
56/* HAS_BZERO:
57 * This symbol is defined if the bzero() routine is available to
58 * set a memory block to 0.
59 */
60/*#define HAS_BZERO /**/
61
08aa1457
PP
62/* HAS_CHOWN:
63 * This symbol, if defined, indicates that the chown routine is
64 * available.
65 */
66/*#define HAS_CHOWN /**/
67
68/* HAS_CHROOT:
69 * This symbol, if defined, indicates that the chroot routine is
70 * available.
71 */
72/*#define HAS_CHROOT /**/
73
74/* HAS_CHSIZE:
75 * This symbol, if defined, indicates that the chsize routine is available
76 * to truncate files. You might need a -lx to get this routine.
77 */
78#define HAS_CHSIZE /**/
79
08aa1457
PP
80/* HASCONST:
81 * This symbol, if defined, indicates that this C compiler knows about
82 * the const type. There is no need to actually test for that symbol
83 * within your programs. The mere use of the "const" keyword will
84 * trigger the necessary tests.
85 */
86#define HASCONST /**/
87#ifndef HASCONST
88#define const
89#endif
90
91/* HAS_CRYPT:
92 * This symbol, if defined, indicates that the crypt routine is available
93 * to encrypt passwords and the like.
94 */
95/*#define HAS_CRYPT /**/
96
97/* HAS_CUSERID:
98 * This symbol, if defined, indicates that the cuserid routine is
99 * available to get character login names.
100 */
101/*#define HAS_CUSERID /**/
102
103/* HAS_DBL_DIG:
104 * This symbol, if defined, indicates that this system's <float.h>
105 * or <limits.h> defines the symbol DBL_DIG, which is the number
106 * of significant digits in a double precision number. If this
107 * symbol is not defined, a guess of 15 is usually pretty good.
108 */
109#define HAS_DBL_DIG /**/
110
111/* HAS_DIFFTIME:
112 * This symbol, if defined, indicates that the difftime routine is
113 * available.
114 */
115#define HAS_DIFFTIME /**/
116
117/* HAS_DLERROR:
118 * This symbol, if defined, indicates that the dlerror routine is
119 * available to return a string describing the last error that
120 * occurred from a call to dlopen(), dlclose() or dlsym().
121 */
122#define HAS_DLERROR /**/
123
924b3ec4
GS
124/* SETUID_SCRIPTS_ARE_SECURE_NOW:
125 * This symbol, if defined, indicates that the bug that prevents
126 * setuid scripts from being secure is not present in this kernel.
127 */
128/* DOSUID:
129 * This symbol, if defined, indicates that the C program should
130 * check the script that it is executing for setuid/setgid bits, and
131 * attempt to emulate setuid/setgid on systems that have disabled
132 * setuid #! scripts because the kernel can't do it securely.
133 * It is up to the package designer to make sure that this emulation
134 * is done securely. Among other things, it should do an fstat on
135 * the script it just opened to make sure it really is a setuid/setgid
136 * script, it should make sure the arguments passed correspond exactly
137 * to the argument on the #! line, and it should not trust any
138 * subprocesses to which it must pass the filename rather than the
139 * file descriptor of the script to be executed.
140 */
141/*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
142/*#define DOSUID /**/
143
08aa1457
PP
144/* HAS_DUP2:
145 * This symbol, if defined, indicates that the dup2 routine is
146 * available to duplicate file descriptors.
147 */
148#define HAS_DUP2 /**/
149
150/* HAS_FCHMOD:
151 * This symbol, if defined, indicates that the fchmod routine is available
152 * to change mode of opened files. If unavailable, use chmod().
153 */
154/*#define HAS_FCHMOD /**/
155
156/* HAS_FCHOWN:
157 * This symbol, if defined, indicates that the fchown routine is available
158 * to change ownership of opened files. If unavailable, use chown().
159 */
160/*#define HAS_FCHOWN /**/
161
162/* HAS_FCNTL:
163 * This symbol, if defined, indicates to the C program that
164 * the fcntl() function exists.
165 */
166/*#define HAS_FCNTL /**/
167
168/* HAS_FGETPOS:
169 * This symbol, if defined, indicates that the fgetpos routine is
170 * available to get the file position indicator, similar to ftell().
171 */
172#define HAS_FGETPOS /**/
173
174/* FLEXFILENAMES:
175 * This symbol, if defined, indicates that the system supports filenames
176 * longer than 14 characters.
177 */
178#define FLEXFILENAMES /**/
179
180/* HAS_FLOCK:
181 * This symbol, if defined, indicates that the flock routine is
182 * available to do file locking.
183 */
184#define HAS_FLOCK /**/
185
186/* HAS_FORK:
187 * This symbol, if defined, indicates that the fork routine is
188 * available.
189 */
190/*#define HAS_FORK /**/
191
192/* HAS_FSETPOS:
193 * This symbol, if defined, indicates that the fsetpos routine is
194 * available to set the file position indicator, similar to fseek().
195 */
196#define HAS_FSETPOS /**/
197
198/* HAS_GETTIMEOFDAY:
199 * This symbol, if defined, indicates that the gettimeofday() system
200 * call is available for a sub-second accuracy clock. Usually, the file
201 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
202 * The type "Timeval" should be used to refer to "struct timeval".
203 */
204/*#define HAS_GETTIMEOFDAY /**/
205#ifdef HAS_GETTIMEOFDAY
206#define Timeval struct timeval /* Structure used by gettimeofday() */
207#endif
208
209/* HAS_GETGROUPS:
210 * This symbol, if defined, indicates that the getgroups() routine is
211 * available to get the list of process groups. If unavailable, multiple
212 * groups are probably not supported.
213 */
08aa1457 214/*#define HAS_GETGROUPS /**/
08aa1457 215
08aa1457
PP
216/* HAS_GETLOGIN:
217 * This symbol, if defined, indicates that the getlogin routine is
218 * available to get the login name.
219 */
e34ffe5a 220#define HAS_GETLOGIN /**/
08aa1457 221
924b3ec4
GS
222/* HAS_GETPGID:
223 * This symbol, if defined, indicates to the C program that
224 * the getpgid(pid) function is available to get the
225 * process group id.
226 */
227/*#define HAS_GETPGID /**/
228
229/* HAS_GETPGRP:
230 * This symbol, if defined, indicates that the getpgrp routine is
231 * available to get the current process group.
232 */
233/* USE_BSD_GETPGRP:
234 * This symbol, if defined, indicates that getpgrp needs one
235 * arguments whereas USG one needs none.
236 */
237/*#define HAS_GETPGRP /**/
238/*#define USE_BSD_GETPGRP /**/
239
08aa1457
PP
240/* HAS_GETPGRP2:
241 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
242 * routine is available to get the current process group.
243 */
244/*#define HAS_GETPGRP2 /**/
245
246/* HAS_GETPPID:
247 * This symbol, if defined, indicates that the getppid routine is
248 * available to get the parent process ID.
249 */
250/*#define HAS_GETPPID /**/
251
252/* HAS_GETPRIORITY:
253 * This symbol, if defined, indicates that the getpriority routine is
254 * available to get a process's priority.
255 */
256/*#define HAS_GETPRIORITY /**/
257
924b3ec4
GS
258/* HAS_INET_ATON:
259 * This symbol, if defined, indicates to the C program that the
260 * inet_aton() function is available to parse IP address "dotted-quad"
261 * strings.
08aa1457 262 */
924b3ec4 263/*#define HAS_INET_ATON /**/
08aa1457
PP
264
265/* HAS_KILLPG:
266 * This symbol, if defined, indicates that the killpg routine is available
267 * to kill process groups. If unavailable, you probably should use kill
268 * with a negative process number.
269 */
270/*#define HAS_KILLPG /**/
271
272/* HAS_LINK:
273 * This symbol, if defined, indicates that the link routine is
274 * available to create hard links.
275 */
276/*#define HAS_LINK /**/
277
278/* HAS_LOCALECONV:
279 * This symbol, if defined, indicates that the localeconv routine is
280 * available for numeric and monetary formatting conventions.
281 */
282#define HAS_LOCALECONV /**/
283
284/* HAS_LOCKF:
285 * This symbol, if defined, indicates that the lockf routine is
286 * available to do file locking.
287 */
288/*#define HAS_LOCKF /**/
289
290/* HAS_LSTAT:
291 * This symbol, if defined, indicates that the lstat routine is
292 * available to do file stats on symbolic links.
293 */
294/*#define HAS_LSTAT /**/
295
296/* HAS_MBLEN:
297 * This symbol, if defined, indicates that the mblen routine is available
298 * to find the number of bytes in a multibye character.
299 */
300#define HAS_MBLEN /**/
301
302/* HAS_MBSTOWCS:
303 * This symbol, if defined, indicates that the mbstowcs routine is
304 * available to covert a multibyte string into a wide character string.
305 */
306#define HAS_MBSTOWCS /**/
307
308/* HAS_MBTOWC:
309 * This symbol, if defined, indicates that the mbtowc routine is available
310 * to covert a multibyte to a wide character.
311 */
312#define HAS_MBTOWC /**/
313
314/* HAS_MEMCMP:
315 * This symbol, if defined, indicates that the memcmp routine is available
316 * to compare blocks of memory.
317 */
318#define HAS_MEMCMP /**/
319
320/* HAS_MEMCPY:
321 * This symbol, if defined, indicates that the memcpy routine is available
322 * to copy blocks of memory.
323 */
324#define HAS_MEMCPY /**/
325
326/* HAS_MEMMOVE:
327 * This symbol, if defined, indicates that the memmove routine is available
328 * to copy potentially overlapping blocks of memory. This should be used
329 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
330 * own version.
331 */
332#define HAS_MEMMOVE /**/
333
334/* HAS_MEMSET:
335 * This symbol, if defined, indicates that the memset routine is available
336 * to set blocks of memory.
337 */
338#define HAS_MEMSET /**/
339
340/* HAS_MKDIR:
341 * This symbol, if defined, indicates that the mkdir routine is available
342 * to create directories. Otherwise you should fork off a new process to
343 * exec /bin/mkdir.
344 */
345#define HAS_MKDIR /**/
346
347/* HAS_MKFIFO:
348 * This symbol, if defined, indicates that the mkfifo routine is
349 * available to create FIFOs. Otherwise, mknod should be able to
350 * do it for you. However, if mkfifo is there, mknod might require
351 * super-user privileges which mkfifo will not.
352 */
353/*#define HAS_MKFIFO /**/
354
355/* HAS_MKTIME:
356 * This symbol, if defined, indicates that the mktime routine is
357 * available.
358 */
359#define HAS_MKTIME /**/
360
c4d53692
GS
361/* HAS_MSYNC:
362 * This symbol, if defined, indicates that the msync system call is
363 * available to synchronize a mapped file.
364 */
365/*#define HAS_MSYNC /**/
366
367/* HAS_MUNMAP:
368 * This symbol, if defined, indicates that the munmap system call is
369 * available to unmap a region, usually mapped by mmap().
370 */
371/*#define HAS_MUNMAP /**/
372
08aa1457
PP
373/* HAS_NICE:
374 * This symbol, if defined, indicates that the nice routine is
375 * available.
376 */
377/*#define HAS_NICE /**/
378
08aa1457
PP
379/* HAS_PATHCONF:
380 * This symbol, if defined, indicates that pathconf() is available
381 * to determine file-system related limits and options associated
382 * with a given filename.
383 */
384/* HAS_FPATHCONF:
385 * This symbol, if defined, indicates that pathconf() is available
386 * to determine file-system related limits and options associated
387 * with a given open file descriptor.
388 */
389/*#define HAS_PATHCONF /**/
390/*#define HAS_FPATHCONF /**/
391
392/* HAS_PAUSE:
393 * This symbol, if defined, indicates that the pause routine is
394 * available to suspend a process until a signal is received.
395 */
396#define HAS_PAUSE /**/
397
398/* HAS_PIPE:
399 * This symbol, if defined, indicates that the pipe routine is
400 * available to create an inter-process channel.
401 */
402#define HAS_PIPE /**/
403
404/* HAS_POLL:
405 * This symbol, if defined, indicates that the poll routine is
924b3ec4
GS
406 * available to poll active file descriptors. You may safely
407 * include <poll.h> when this symbol is defined.
08aa1457
PP
408 */
409/*#define HAS_POLL /**/
410
411/* HAS_READDIR:
412 * This symbol, if defined, indicates that the readdir routine is
413 * available to read directory entries. You may have to include
414 * <dirent.h>. See I_DIRENT.
415 */
416#define HAS_READDIR /**/
417
418/* HAS_SEEKDIR:
419 * This symbol, if defined, indicates that the seekdir routine is
420 * available. You may have to include <dirent.h>. See I_DIRENT.
421 */
422#define HAS_SEEKDIR /**/
423
424/* HAS_TELLDIR:
425 * This symbol, if defined, indicates that the telldir routine is
426 * available. You may have to include <dirent.h>. See I_DIRENT.
427 */
428#define HAS_TELLDIR /**/
429
430/* HAS_REWINDDIR:
431 * This symbol, if defined, indicates that the rewinddir routine is
432 * available. You may have to include <dirent.h>. See I_DIRENT.
433 */
434#define HAS_REWINDDIR /**/
435
436/* HAS_READLINK:
437 * This symbol, if defined, indicates that the readlink routine is
438 * available to read the value of a symbolic link.
439 */
440/*#define HAS_READLINK /**/
441
442/* HAS_RENAME:
443 * This symbol, if defined, indicates that the rename routine is available
444 * to rename files. Otherwise you should do the unlink(), link(), unlink()
445 * trick.
446 */
447#define HAS_RENAME /**/
448
449/* HAS_RMDIR:
450 * This symbol, if defined, indicates that the rmdir routine is
451 * available to remove directories. Otherwise you should fork off a
452 * new process to exec /bin/rmdir.
453 */
454#define HAS_RMDIR /**/
455
08aa1457
PP
456/* HAS_SELECT:
457 * This symbol, if defined, indicates that the select routine is
458 * available to select active file descriptors. If the timeout field
459 * is used, <sys/time.h> may need to be included.
460 */
461#define HAS_SELECT /**/
462
08aa1457
PP
463/* HAS_SETEGID:
464 * This symbol, if defined, indicates that the setegid routine is available
465 * to change the effective gid of the current program.
466 */
467/*#define HAS_SETEGID /**/
468
469/* HAS_SETEUID:
470 * This symbol, if defined, indicates that the seteuid routine is available
471 * to change the effective uid of the current program.
472 */
473/*#define HAS_SETEUID /**/
474
475/* HAS_SETLINEBUF:
476 * This symbol, if defined, indicates that the setlinebuf routine is
477 * available to change stderr or stdout from block-buffered or unbuffered
478 * to a line-buffered mode.
479 */
480/*#define HAS_SETLINEBUF /**/
481
482/* HAS_SETLOCALE:
483 * This symbol, if defined, indicates that the setlocale routine is
484 * available to handle locale-specific ctype implementations.
485 */
486#define HAS_SETLOCALE /**/
487
924b3ec4
GS
488/* HAS_SETPGID:
489 * This symbol, if defined, indicates that the setpgid(pid, gpid)
490 * routine is available to set process group ID.
491 */
492/*#define HAS_SETPGID /**/
493
494/* HAS_SETPGRP:
495 * This symbol, if defined, indicates that the setpgrp routine is
496 * available to set the current process group.
497 */
498/* USE_BSD_SETPGRP:
499 * This symbol, if defined, indicates that setpgrp needs two
500 * arguments whereas USG one needs none. See also HAS_SETPGID
501 * for a POSIX interface.
502 */
503/*#define HAS_SETPGRP /**/
504/*#define USE_BSD_SETPGRP /**/
505
08aa1457
PP
506/* HAS_SETPGRP2:
507 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
508 * routine is available to set the current process group.
509 */
510/*#define HAS_SETPGRP2 /**/
511
512/* HAS_SETPRIORITY:
513 * This symbol, if defined, indicates that the setpriority routine is
514 * available to set a process's priority.
515 */
516/*#define HAS_SETPRIORITY /**/
517
518/* HAS_SETREGID:
519 * This symbol, if defined, indicates that the setregid routine is
520 * available to change the real and effective gid of the current
521 * process.
522 */
523/* HAS_SETRESGID:
524 * This symbol, if defined, indicates that the setresgid routine is
525 * available to change the real, effective and saved gid of the current
526 * process.
527 */
528/*#define HAS_SETREGID /**/
529/*#define HAS_SETRESGID /**/
530
531/* HAS_SETREUID:
532 * This symbol, if defined, indicates that the setreuid routine is
533 * available to change the real and effective uid of the current
534 * process.
535 */
536/* HAS_SETRESUID:
537 * This symbol, if defined, indicates that the setresuid routine is
538 * available to change the real, effective and saved uid of the current
539 * process.
540 */
541/*#define HAS_SETREUID /**/
542/*#define HAS_SETRESUID /**/
543
544/* HAS_SETRGID:
545 * This symbol, if defined, indicates that the setrgid routine is available
546 * to change the real gid of the current program.
547 */
548/*#define HAS_SETRGID /**/
549
550/* HAS_SETRUID:
551 * This symbol, if defined, indicates that the setruid routine is available
552 * to change the real uid of the current program.
553 */
554/*#define HAS_SETRUID /**/
555
556/* HAS_SETSID:
557 * This symbol, if defined, indicates that the setsid routine is
558 * available to set the process group ID.
559 */
560/*#define HAS_SETSID /**/
561
08aa1457
PP
562/* Shmat_t:
563 * This symbol holds the return type of the shmat() system call.
564 * Usually set to 'void *' or 'char *'.
565 */
566/* HAS_SHMAT_PROTOTYPE:
567 * This symbol, if defined, indicates that the sys/shm.h includes
568 * a prototype for shmat(). Otherwise, it is up to the program to
82839a9d 569 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
08aa1457
PP
570 * but not always right so it should be emitted by the program only
571 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
572 */
573#define Shmat_t void * /**/
574/*#define HAS_SHMAT_PROTOTYPE /**/
575
924b3ec4
GS
576/* HAS_STRCHR:
577 * This symbol is defined to indicate that the strchr()/strrchr()
578 * functions are available for string searching. If not, try the
579 * index()/rindex() pair.
08aa1457 580 */
924b3ec4
GS
581/* HAS_INDEX:
582 * This symbol is defined to indicate that the index()/rindex()
583 * functions are available for string searching.
08aa1457 584 */
924b3ec4
GS
585#define HAS_STRCHR /**/
586/*#define HAS_INDEX /**/
587
588/* HAS_STRCOLL:
589 * This symbol, if defined, indicates that the strcoll routine is
590 * available to compare strings using collating information.
08aa1457 591 */
924b3ec4
GS
592#define HAS_STRCOLL /**/
593
594/* USE_STRUCT_COPY:
595 * This symbol, if defined, indicates that this C compiler knows how
596 * to copy structures. If undefined, you'll need to use a block copy
597 * routine of some sort instead.
08aa1457 598 */
924b3ec4 599#define USE_STRUCT_COPY /**/
08aa1457 600
08aa1457
PP
601/* HAS_STRTOD:
602 * This symbol, if defined, indicates that the strtod routine is
603 * available to provide better numeric string conversion than atof().
604 */
605#define HAS_STRTOD /**/
606
607/* HAS_STRTOL:
608 * This symbol, if defined, indicates that the strtol routine is available
609 * to provide better numeric string conversion than atoi() and friends.
610 */
611#define HAS_STRTOL /**/
612
613/* HAS_STRTOUL:
614 * This symbol, if defined, indicates that the strtoul routine is
615 * available to provide conversion of strings to unsigned long.
616 */
617#define HAS_STRTOUL /**/
618
619/* HAS_STRXFRM:
620 * This symbol, if defined, indicates that the strxfrm() routine is
621 * available to transform strings.
622 */
623#define HAS_STRXFRM /**/
624
625/* HAS_SYMLINK:
626 * This symbol, if defined, indicates that the symlink routine is available
627 * to create symbolic links.
628 */
629/*#define HAS_SYMLINK /**/
630
631/* HAS_SYSCALL:
632 * This symbol, if defined, indicates that the syscall routine is
633 * available to call arbitrary system calls. If undefined, that's tough.
634 */
635/*#define HAS_SYSCALL /**/
636
637/* HAS_SYSCONF:
638 * This symbol, if defined, indicates that sysconf() is available
639 * to determine system related limits and options.
640 */
641/*#define HAS_SYSCONF /**/
642
643/* HAS_SYSTEM:
644 * This symbol, if defined, indicates that the system routine is
645 * available to issue a shell command.
646 */
647#define HAS_SYSTEM /**/
648
649/* HAS_TCGETPGRP:
650 * This symbol, if defined, indicates that the tcgetpgrp routine is
651 * available to get foreground process group ID.
652 */
653/*#define HAS_TCGETPGRP /**/
654
655/* HAS_TCSETPGRP:
656 * This symbol, if defined, indicates that the tcsetpgrp routine is
657 * available to set foreground process group ID.
658 */
659/*#define HAS_TCSETPGRP /**/
660
08aa1457
PP
661/* HAS_TRUNCATE:
662 * This symbol, if defined, indicates that the truncate routine is
663 * available to truncate files.
664 */
665/*#define HAS_TRUNCATE /**/
666
667/* HAS_TZNAME:
668 * This symbol, if defined, indicates that the tzname[] array is
669 * available to access timezone names.
670 */
671#define HAS_TZNAME /**/
672
673/* HAS_UMASK:
674 * This symbol, if defined, indicates that the umask routine is
675 * available to set and get the value of the file creation mask.
676 */
677#define HAS_UMASK /**/
678
08aa1457
PP
679/* HASVOLATILE:
680 * This symbol, if defined, indicates that this C compiler knows about
681 * the volatile declaration.
682 */
683#define HASVOLATILE /**/
684#ifndef HASVOLATILE
685#define volatile
686#endif
687
08aa1457
PP
688/* HAS_WAIT4:
689 * This symbol, if defined, indicates that wait4() exists.
690 */
691/*#define HAS_WAIT4 /**/
692
693/* HAS_WAITPID:
694 * This symbol, if defined, indicates that the waitpid routine is
695 * available to wait for child process.
696 */
f55ee38a 697#define HAS_WAITPID /**/
08aa1457
PP
698
699/* HAS_WCSTOMBS:
700 * This symbol, if defined, indicates that the wcstombs routine is
701 * available to convert wide character strings to multibyte strings.
702 */
703#define HAS_WCSTOMBS /**/
704
705/* HAS_WCTOMB:
706 * This symbol, if defined, indicates that the wctomb routine is available
707 * to covert a wide character to a multibyte.
708 */
709#define HAS_WCTOMB /**/
710
9036c72f 711/* I_ARPA_INET:
327c3667
GS
712 * This symbol, if defined, indicates to the C program that it should
713 * include <arpa/inet.h> to get inet_addr and friends declarations.
9036c72f 714 */
327c3667 715#define I_ARPA_INET /**/
9036c72f 716
924b3ec4
GS
717/* I_DBM:
718 * This symbol, if defined, indicates that <dbm.h> exists and should
719 * be included.
08aa1457 720 */
924b3ec4
GS
721/* I_RPCSVC_DBM:
722 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
723 * should be included.
08aa1457 724 */
924b3ec4
GS
725/*#define I_DBM /**/
726#define I_RPCSVC_DBM /**/
08aa1457
PP
727
728/* I_DIRENT:
729 * This symbol, if defined, indicates to the C program that it should
730 * include <dirent.h>. Using this symbol also triggers the definition
731 * of the Direntry_t define which ends up being 'struct dirent' or
732 * 'struct direct' depending on the availability of <dirent.h>.
733 */
734/* DIRNAMLEN:
735 * This symbol, if defined, indicates to the C program that the length
736 * of directory entry names is provided by a d_namlen field. Otherwise
737 * you need to do strlen() on the d_name field.
738 */
739/* Direntry_t:
740 * This symbol is set to 'struct direct' or 'struct dirent' depending on
741 * whether dirent is available or not. You should use this pseudo type to
742 * portably declare your directory entries.
743 */
744#define I_DIRENT /**/
745#define DIRNAMLEN /**/
746#define Direntry_t struct direct
747
748/* I_DLFCN:
749 * This symbol, if defined, indicates that <dlfcn.h> exists and should
750 * be included.
751 */
752#define I_DLFCN /**/
753
754/* I_FCNTL:
755 * This manifest constant tells the C program to include <fcntl.h>.
756 */
757#define I_FCNTL /**/
758
759/* I_FLOAT:
760 * This symbol, if defined, indicates to the C program that it should
761 * include <float.h> to get definition of symbols like DBL_MAX or
762 * DBL_MIN, i.e. machine dependent floating point values.
763 */
764#define I_FLOAT /**/
765
08aa1457
PP
766/* I_LIMITS:
767 * This symbol, if defined, indicates to the C program that it should
768 * include <limits.h> to get definition of symbols like WORD_BIT or
769 * LONG_MAX, i.e. machine dependant limitations.
770 */
771#define I_LIMITS /**/
772
924b3ec4
GS
773/* I_LOCALE:
774 * This symbol, if defined, indicates to the C program that it should
775 * include <locale.h>.
776 */
777#define I_LOCALE /**/
778
08aa1457
PP
779/* I_MATH:
780 * This symbol, if defined, indicates to the C program that it should
781 * include <math.h>.
782 */
783#define I_MATH /**/
784
785/* I_MEMORY:
786 * This symbol, if defined, indicates to the C program that it should
787 * include <memory.h>.
788 */
789/*#define I_MEMORY /**/
790
791/* I_NDBM:
792 * This symbol, if defined, indicates that <ndbm.h> exists and should
793 * be included.
794 */
795/*#define I_NDBM /**/
796
797/* I_NET_ERRNO:
798 * This symbol, if defined, indicates that <net/errno.h> exists and
799 * should be included.
800 */
801/*#define I_NET_ERRNO /**/
802
803/* I_NETINET_IN:
804 * This symbol, if defined, indicates to the C program that it should
805 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
806 */
807/*#define I_NETINET_IN /**/
808
924b3ec4
GS
809/* I_SFIO:
810 * This symbol, if defined, indicates to the C program that it should
811 * include <sfio.h>.
812 */
813/*#define I_SFIO /**/
814
08aa1457
PP
815/* I_STDDEF:
816 * This symbol, if defined, indicates that <stddef.h> exists and should
817 * be included.
818 */
819#define I_STDDEF /**/
820
821/* I_STDLIB:
822 * This symbol, if defined, indicates that <stdlib.h> exists and should
823 * be included.
824 */
825#define I_STDLIB /**/
826
827/* I_STRING:
828 * This symbol, if defined, indicates to the C program that it should
829 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
830 */
831#define I_STRING /**/
832
833/* I_SYS_DIR:
834 * This symbol, if defined, indicates to the C program that it should
835 * include <sys/dir.h>.
836 */
837/*#define I_SYS_DIR /**/
838
839/* I_SYS_FILE:
840 * This symbol, if defined, indicates to the C program that it should
841 * include <sys/file.h> to get definition of R_OK and friends.
842 */
843/*#define I_SYS_FILE /**/
844
845/* I_SYS_IOCTL:
846 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
847 * be included. Otherwise, include <sgtty.h> or <termio.h>.
848 */
849/*#define I_SYS_IOCTL /**/
850
851/* I_SYS_NDIR:
852 * This symbol, if defined, indicates to the C program that it should
853 * include <sys/ndir.h>.
854 */
855/*#define I_SYS_NDIR /**/
856
857/* I_SYS_PARAM:
858 * This symbol, if defined, indicates to the C program that it should
859 * include <sys/param.h>.
860 */
861/*#define I_SYS_PARAM /**/
862
863/* I_SYS_RESOURCE:
864 * This symbol, if defined, indicates to the C program that it should
865 * include <sys/resource.h>.
866 */
867/*#define I_SYS_RESOURCE /**/
868
869/* I_SYS_SELECT:
870 * This symbol, if defined, indicates to the C program that it should
871 * include <sys/select.h> in order to get definition of struct timeval.
872 */
873/*#define I_SYS_SELECT /**/
874
924b3ec4
GS
875/* I_SYS_STAT:
876 * This symbol, if defined, indicates to the C program that it should
877 * include <sys/stat.h>.
878 */
879#define I_SYS_STAT /**/
880
08aa1457
PP
881/* I_SYS_TIMES:
882 * This symbol, if defined, indicates to the C program that it should
883 * include <sys/times.h>.
884 */
885/*#define I_SYS_TIMES /**/
886
be44fb0e
GS
887/* I_SYS_TYPES:
888 * This symbol, if defined, indicates to the C program that it should
889 * include <sys/types.h>.
890 */
891#define I_SYS_TYPES /**/
892
08aa1457
PP
893/* I_SYS_UN:
894 * This symbol, if defined, indicates to the C program that it should
895 * include <sys/un.h> to get UNIX domain socket definitions.
896 */
897/*#define I_SYS_UN /**/
898
899/* I_SYS_WAIT:
900 * This symbol, if defined, indicates to the C program that it should
901 * include <sys/wait.h>.
902 */
903/*#define I_SYS_WAIT /**/
904
905/* I_TERMIO:
906 * This symbol, if defined, indicates that the program should include
907 * <termio.h> rather than <sgtty.h>. There are also differences in
908 * the ioctl() calls that depend on the value of this symbol.
909 */
910/* I_TERMIOS:
911 * This symbol, if defined, indicates that the program should include
912 * the POSIX termios.h rather than sgtty.h or termio.h.
913 * There are also differences in the ioctl() calls that depend on the
914 * value of this symbol.
915 */
916/* I_SGTTY:
917 * This symbol, if defined, indicates that the program should include
918 * <sgtty.h> rather than <termio.h>. There are also differences in
919 * the ioctl() calls that depend on the value of this symbol.
920 */
921/*#define I_TERMIO /**/
922/*#define I_TERMIOS /**/
923/*#define I_SGTTY /**/
924
08aa1457
PP
925/* I_UNISTD:
926 * This symbol, if defined, indicates to the C program that it should
927 * include <unistd.h>.
928 */
929/*#define I_UNISTD /**/
930
931/* I_UTIME:
932 * This symbol, if defined, indicates to the C program that it should
933 * include <utime.h>.
934 */
935#define I_UTIME /**/
936
924b3ec4
GS
937/* I_VALUES:
938 * This symbol, if defined, indicates to the C program that it should
939 * include <values.h> to get definition of symbols like MINFLOAT or
940 * MAXLONG, i.e. machine dependant limitations. Probably, you
941 * should use <limits.h> instead, if it is available.
942 */
943/*#define I_VALUES /**/
944
08aa1457
PP
945/* I_STDARG:
946 * This symbol, if defined, indicates that <stdarg.h> exists and should
947 * be included.
948 */
949/* I_VARARGS:
950 * This symbol, if defined, indicates to the C program that it should
951 * include <varargs.h>.
952 */
953#define I_STDARG /**/
954/*#define I_VARARGS /**/
955
956/* I_VFORK:
957 * This symbol, if defined, indicates to the C program that it should
958 * include vfork.h.
959 */
960/*#define I_VFORK /**/
961
08aa1457
PP
962/* CAN_PROTOTYPE:
963 * If defined, this macro indicates that the C compiler can handle
964 * function prototypes.
965 */
966/* _:
967 * This macro is used to declare function parameters for folks who want
968 * to make declarations with prototypes using a different style than
969 * the above macros. Use double parentheses. For example:
970 *
971 * int main _((int argc, char *argv[]));
972 */
973#define CAN_PROTOTYPE /**/
974#ifdef CAN_PROTOTYPE
975#define _(args) args
976#else
977#define _(args) ()
978#endif
979
924b3ec4
GS
980/* SH_PATH:
981 * This symbol contains the full pathname to the shell used on this
982 * on this system to execute Bourne shell scripts. Usually, this will be
983 * /bin/sh, though it's possible that some systems will have /bin/ksh,
984 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
985 * D:/bin/sh.exe.
08aa1457 986 */
924b3ec4 987#define SH_PATH "cmd /x /c" /**/
08aa1457 988
08aa1457
PP
989/* STDCHAR:
990 * This symbol is defined to be the type of char used in stdio.h.
991 * It has the values "unsigned char" or "char".
992 */
4e35701f 993#define STDCHAR char /**/
08aa1457 994
327c3667
GS
995/* HAS_ACCESSX:
996 * This symbol, if defined, indicates that the accessx routine is
997 * available to do extended access checks.
998 */
999/*#define HAS_ACCESSX /**/
1000
1001/* HAS_EACCESS:
1002 * This symbol, if defined, indicates that the eaccess routine is
1003 * available to do extended access checks.
1004 */
1005/*#define HAS_EACCESS /**/
1006
1007/* I_SYS_ACCESS:
1008 * This symbol, if defined, indicates to the C program that it should
104f9d64 1009 * include <sys/access.h>.
327c3667
GS
1010 */
1011/*#define I_SYS_ACCESS /**/
1012
1013/* I_SYS_SECURITY:
1014 * This symbol, if defined, indicates to the C program that it should
1015 * include <sys/security.h>.
1016 */
1017/*#define I_SYS_SECURITY /**/
1018
9423c6fc
GS
1019/* CROSSCOMPILE:
1020 * This symbol, if defined, signifies that we our
1021 * build process is a cross-compilation.
1022 */
1023/*#define CROSSCOMPILE /**/
1024
1025/* INTSIZE:
1026 * This symbol contains the value of sizeof(int) so that the C
1027 * preprocessor can make decisions based on it.
1028 */
1029/* LONGSIZE:
1030 * This symbol contains the value of sizeof(long) so that the C
1031 * preprocessor can make decisions based on it.
1032 */
1033/* SHORTSIZE:
1034 * This symbol contains the value of sizeof(short) so that the C
1035 * preprocessor can make decisions based on it.
1036 */
1037#define INTSIZE 4 /**/
1038#define LONGSIZE 4 /**/
1039#define SHORTSIZE 2 /**/
1040
1041/* MULTIARCH:
1042 * This symbol, if defined, signifies that the build
1043 * process will produce some binary files that are going to be
1044 * used in a cross-platform environment. This is the case for
1045 * example with the NeXT "fat" binaries that contain executables
1046 * for several CPUs.
1047 */
1048/*#define MULTIARCH /**/
1049
924b3ec4 1050/* MEM_ALIGNBYTES:
9423c6fc
GS
1051 * This symbol contains the number of bytes required to align a
1052 * double. Usual values are 2, 4 and 8. The default is eight,
1053 * for safety.
08aa1457 1054 */
9423c6fc
GS
1055#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1056# define MEM_ALIGNBYTES 8
1057#else
1058#define MEM_ALIGNBYTES 8
1059#endif
08aa1457
PP
1060
1061/* BYTEORDER:
1062 * This symbol holds the hexadecimal constant defined in byteorder,
1063 * i.e. 0x1234 or 0x4321, etc...
9423c6fc
GS
1064 * If the compiler supports cross-compiling or multiple-architecture
1065 * binaries (eg. on NeXT systems), use compiler-defined macros to
1066 * determine the byte order.
08aa1457
PP
1067 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1068 * Binaries (MAB) on either big endian or little endian machines.
1069 * The endian-ness is available at compile-time. This only matters
1070 * for perl, where the config.h can be generated and installed on
1071 * one system, and used by a different architecture to build an
1072 * extension. Older versions of NeXT that might not have
1073 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1074 * so the default case (for NeXT) is big endian to catch them.
1075 * This might matter for NeXT 3.0.
1076 */
9423c6fc
GS
1077#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1078# ifdef __LITTLE_ENDIAN__
1079# if LONGSIZE == 4
1080# define BYTEORDER 0x1234
1081# else
1082# if LONGSIZE == 8
1083# define BYTEORDER 0x12345678
1084# endif
1085# endif
1086# else
1087# ifdef __BIG_ENDIAN__
1088# if LONGSIZE == 4
1089# define BYTEORDER 0x4321
1090# else
1091# if LONGSIZE == 8
1092# define BYTEORDER 0x87654321
1093# endif
1094# endif
1095# endif
1096# endif
1097# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1098# define BYTEORDER 0x4321
1099# endif
1100#else
08aa1457 1101#define BYTEORDER 0x1234 /* large digits for MSB */
08aa1457
PP
1102#endif /* NeXT */
1103
924b3ec4
GS
1104/* CASTI32:
1105 * This symbol is defined if the C compiler can cast negative
1106 * or large floating point numbers to 32-bit ints.
08aa1457 1107 */
2cdbc966 1108/*#define CASTI32 /**/
08aa1457 1109
924b3ec4
GS
1110/* CASTNEGFLOAT:
1111 * This symbol is defined if the C compiler can cast negative
1112 * numbers to unsigned longs, ints and shorts.
08aa1457 1113 */
924b3ec4
GS
1114/* CASTFLAGS:
1115 * This symbol contains flags that say what difficulties the compiler
1116 * has casting odd floating values to unsigned long:
1117 * 0 = ok
1118 * 1 = couldn't cast < 0
1119 * 2 = couldn't cast >= 0x80000000
1120 * 4 = couldn't cast in argument expression list
08aa1457 1121 */
924b3ec4
GS
1122#define CASTNEGFLOAT /**/
1123#define CASTFLAGS 0 /**/
1124
1125/* VOID_CLOSEDIR:
1126 * This symbol, if defined, indicates that the closedir() routine
1127 * does not return a value.
08aa1457 1128 */
924b3ec4 1129/*#define VOID_CLOSEDIR /**/
08aa1457 1130
c4d53692
GS
1131/* HAS_FD_SET:
1132 * This symbol, when defined, indicates presence of the fd_set typedef
1133 * in <sys/types.h>
1134 */
1135#define HAS_FD_SET /**/
1136
08aa1457
PP
1137/* Gconvert:
1138 * This preprocessor macro is defined to convert a floating point
1139 * number to a string without a trailing decimal point. This
1140 * emulates the behavior of sprintf("%g"), but is sometimes much more
1141 * efficient. If gconvert() is not available, but gcvt() drops the
1142 * trailing decimal point, then gcvt() is used. If all else fails,
1143 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1144 * macro are: value, number of digits, whether trailing zeros should
1145 * be retained, and the output buffer.
1146 * Possible values are:
1147 * d_Gconvert='gconvert((x),(n),(t),(b))'
1148 * d_Gconvert='gcvt((x),(n),(b))'
1149 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1150 * The last two assume trailing zeros should not be kept.
1151 */
1152#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1153
924b3ec4 1154/* HAS_GNULIBC:
08aa1457 1155 * This symbol, if defined, indicates to the C program that
924b3ec4 1156 * the GNU C library is being used.
08aa1457 1157 */
924b3ec4
GS
1158/*#define HAS_GNULIBC /**/
1159/* HAS_ISASCII:
1160 * This manifest constant lets the C program know that isascii
1161 * is available.
08aa1457 1162 */
924b3ec4 1163#define HAS_ISASCII /**/
08aa1457 1164
be44fb0e
GS
1165/* HAS_LCHOWN:
1166 * This symbol, if defined, indicates that the lchown routine is
1167 * available to operate on a symbolic link (instead of following the
1168 * link).
1169 */
1170/*#define HAS_LCHOWN /**/
1171
924b3ec4
GS
1172/* HAS_OPEN3:
1173 * This manifest constant lets the C program know that the three
1174 * argument form of open(2) is available.
08aa1457 1175 */
924b3ec4 1176/*#define HAS_OPEN3 /**/
08aa1457 1177
924b3ec4
GS
1178/* HAS_SAFE_BCOPY:
1179 * This symbol, if defined, indicates that the bcopy routine is available
1180 * to copy potentially overlapping memory blocks. Otherwise you should
1181 * probably use memmove() or memcpy(). If neither is defined, roll your
1182 * own version.
08aa1457 1183 */
924b3ec4 1184/*#define HAS_SAFE_BCOPY /**/
08aa1457 1185
924b3ec4
GS
1186/* HAS_SAFE_MEMCPY:
1187 * This symbol, if defined, indicates that the memcpy routine is available
1188 * to copy potentially overlapping memory blocks. Otherwise you should
1189 * probably use memmove() or memcpy(). If neither is defined, roll your
1190 * own version.
08aa1457 1191 */
924b3ec4 1192/*#define HAS_SAFE_MEMCPY /**/
08aa1457 1193
924b3ec4
GS
1194/* HAS_SANE_MEMCMP:
1195 * This symbol, if defined, indicates that the memcmp routine is available
1196 * and can be used to compare relative magnitudes of chars with their high
1197 * bits set. If it is not defined, roll your own version.
08aa1457 1198 */
924b3ec4 1199#define HAS_SANE_MEMCMP /**/
08aa1457 1200
924b3ec4
GS
1201/* HAS_SIGACTION:
1202 * This symbol, if defined, indicates that Vr4's sigaction() routine
1203 * is available.
fea7140c 1204 */
924b3ec4 1205/*#define HAS_SIGACTION /**/
fea7140c 1206
c4d53692
GS
1207/* HAS_SIGSETJMP:
1208 * This variable indicates to the C program that the sigsetjmp()
1209 * routine is available to save the calling process's registers
1210 * and stack environment for later use by siglongjmp(), and
1211 * to optionally save the process's signal mask. See
1212 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1213 */
08aa1457
PP
1214/* Sigjmp_buf:
1215 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1216 */
1217/* Sigsetjmp:
1218 * This macro is used in the same way as sigsetjmp(), but will invoke
1219 * traditional setjmp() if sigsetjmp isn't available.
1220 * See HAS_SIGSETJMP.
1221 */
1222/* Siglongjmp:
1223 * This macro is used in the same way as siglongjmp(), but will invoke
1224 * traditional longjmp() if siglongjmp isn't available.
1225 * See HAS_SIGSETJMP.
1226 */
1227/*#define HAS_SIGSETJMP /**/
1228#ifdef HAS_SIGSETJMP
1229#define Sigjmp_buf sigjmp_buf
1230#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1231#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1232#else
1233#define Sigjmp_buf jmp_buf
1234#define Sigsetjmp(buf,save_mask) setjmp((buf))
1235#define Siglongjmp(buf,retval) longjmp((buf),(retval))
1236#endif
1237
924b3ec4
GS
1238/* USE_STDIO_PTR:
1239 * This symbol is defined if the _ptr and _cnt fields (or similar)
1240 * of the stdio FILE structure can be used to access the stdio buffer
1241 * for a file handle. If this is defined, then the FILE_ptr(fp)
1242 * and FILE_cnt(fp) macros will also be defined and should be used
1243 * to access these fields.
08aa1457 1244 */
924b3ec4
GS
1245/* FILE_ptr:
1246 * This macro is used to access the _ptr field (or equivalent) of the
1247 * FILE structure pointed to by its argument. This macro will always be
1248 * defined if USE_STDIO_PTR is defined.
1249 */
1250/* STDIO_PTR_LVALUE:
1251 * This symbol is defined if the FILE_ptr macro can be used as an
1252 * lvalue.
1253 */
1254/* FILE_cnt:
1255 * This macro is used to access the _cnt field (or equivalent) of the
1256 * FILE structure pointed to by its argument. This macro will always be
1257 * defined if USE_STDIO_PTR is defined.
1258 */
1259/* STDIO_CNT_LVALUE:
1260 * This symbol is defined if the FILE_cnt macro can be used as an
1261 * lvalue.
1262 */
1263#define USE_STDIO_PTR /**/
1264#ifdef USE_STDIO_PTR
1265#define FILE_ptr(fp) ((fp)->_ptr)
1266#define STDIO_PTR_LVALUE /**/
1267#define FILE_cnt(fp) ((fp)->_cnt)
1268#define STDIO_CNT_LVALUE /**/
1269#endif
08aa1457 1270
924b3ec4
GS
1271/* USE_STDIO_BASE:
1272 * This symbol is defined if the _base field (or similar) of the
1273 * stdio FILE structure can be used to access the stdio buffer for
1274 * a file handle. If this is defined, then the FILE_base(fp) macro
1275 * will also be defined and should be used to access this field.
1276 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1277 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1278 * will never be defined unless USE_STDIO_PTR is.
08aa1457 1279 */
924b3ec4
GS
1280/* FILE_base:
1281 * This macro is used to access the _base field (or equivalent) of the
1282 * FILE structure pointed to by its argument. This macro will always be
1283 * defined if USE_STDIO_BASE is defined.
08aa1457 1284 */
924b3ec4
GS
1285/* FILE_bufsiz:
1286 * This macro is used to determine the number of bytes in the I/O
1287 * buffer pointed to by _base field (or equivalent) of the FILE
1288 * structure pointed to its argument. This macro will always be defined
1289 * if USE_STDIO_BASE is defined.
1290 */
1291#define USE_STDIO_BASE /**/
1292#ifdef USE_STDIO_BASE
1293#define FILE_base(fp) ((fp)->_base)
1294#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1295#endif
08aa1457 1296
924b3ec4
GS
1297/* HAS_VPRINTF:
1298 * This symbol, if defined, indicates that the vprintf routine is available
1299 * to printf with a pointer to an argument list. If unavailable, you
1300 * may need to write your own, probably in terms of _doprnt().
08aa1457 1301 */
924b3ec4
GS
1302/* USE_CHAR_VSPRINTF:
1303 * This symbol is defined if this system has vsprintf() returning type
1304 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1305 * is up to the package author to declare vsprintf correctly based on the
1306 * symbol.
1307 */
1308#define HAS_VPRINTF /**/
1309/*#define USE_CHAR_VSPRINTF /**/
08aa1457 1310
07ba5892
GS
1311/* DOUBLESIZE:
1312 * This symbol contains the size of a double, so that the C preprocessor
1313 * can make decisions based on it.
1314 */
1315#define DOUBLESIZE 8 /**/
1316
924b3ec4 1317/* I_TIME:
08aa1457 1318 * This symbol, if defined, indicates to the C program that it should
924b3ec4 1319 * include <time.h>.
08aa1457 1320 */
924b3ec4 1321/* I_SYS_TIME:
08aa1457 1322 * This symbol, if defined, indicates to the C program that it should
924b3ec4 1323 * include <sys/time.h>.
08aa1457 1324 */
924b3ec4 1325/* I_SYS_TIME_KERNEL:
08aa1457 1326 * This symbol, if defined, indicates to the C program that it should
924b3ec4 1327 * include <sys/time.h> with KERNEL defined.
08aa1457 1328 */
924b3ec4
GS
1329#define I_TIME /**/
1330/*#define I_SYS_TIME /**/
1331/*#define I_SYS_TIME_KERNEL /**/
08aa1457 1332
924b3ec4
GS
1333/* VAL_O_NONBLOCK:
1334 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1335 * non-blocking I/O for the file descriptor. Note that there is no way
1336 * back, i.e. you cannot turn it blocking again this way. If you wish to
1337 * alternatively switch between blocking and non-blocking, use the
1338 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
08aa1457 1339 */
924b3ec4
GS
1340/* VAL_EAGAIN:
1341 * This symbol holds the errno error code set by read() when no data was
1342 * present on the non-blocking file descriptor.
1343 */
1344/* RD_NODATA:
1345 * This symbol holds the return code from read() when no data is present
1346 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1347 * not defined, then you can't distinguish between no data and EOF by
1348 * issuing a read(). You'll have to find another way to tell for sure!
1349 */
1350/* EOF_NONBLOCK:
1351 * This symbol, if defined, indicates to the C program that a read() on
1352 * a non-blocking file descriptor will return 0 on EOF, and not the value
1353 * held in RD_NODATA (-1 usually, in that case!).
1354 */
1355#define VAL_O_NONBLOCK O_NONBLOCK
1356#define VAL_EAGAIN EAGAIN
1357#define RD_NODATA -1
1358#define EOF_NONBLOCK
08aa1457 1359
07ba5892
GS
1360/* PTRSIZE:
1361 * This symbol contains the size of a pointer, so that the C preprocessor
1362 * can make decisions based on it. It will be sizeof(void *) if
1363 * the compiler supports (void *); otherwise it will be
1364 * sizeof(char *).
1365 */
1366#define PTRSIZE 4 /**/
1367
104f9d64
GS
1368/* Drand01:
1369 * This macro is to be used to generate uniformly distributed
1370 * random numbers over the range [0., 1.[. You may have to supply
1371 * an 'extern double drand48();' in your program since SunOS 4.1.3
1372 * doesn't provide you with anything relevant in it's headers.
1373 * See HAS_DRAND48_PROTO.
1374 */
1375/* Rand_seed_t:
1376 * This symbol defines the type of the argument of the
1377 * random seed function.
1378 */
1379/* seedDrand01:
1380 * This symbol defines the macro to be used in seeding the
1381 * random number generator (see Drand01).
1382 */
924b3ec4 1383/* RANDBITS:
104f9d64
GS
1384 * This symbol indicates how many bits are produced by the
1385 * function used to generate normalized random numbers.
1386 * Values include 15, 16, 31, and 48.
924b3ec4 1387 */
ce9935e0 1388#define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
104f9d64
GS
1389#define Rand_seed_t unsigned /**/
1390#define seedDrand01(x) srand((Rand_seed_t)x) /**/
1391#define RANDBITS 15 /**/
924b3ec4
GS
1392
1393/* SSize_t:
1394 * This symbol holds the type used by functions that return
1395 * a count of bytes or an error condition. It must be a signed type.
1396 * It is usually ssize_t, but may be long or int, etc.
1397 * It may be necessary to include <sys/types.h> or <unistd.h>
1398 * to get any typedef'ed information.
1399 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1400 */
1401#define SSize_t int /* signed count of bytes */
1402
327c3667
GS
1403/* EBCDIC:
1404 * This symbol, if defined, indicates that this system uses
1405 * EBCDIC encoding.
1406 */
1407/*#define EBCDIC /**/
1408
82839a9d
GS
1409/* ARCHLIB:
1410 * This variable, if defined, holds the name of the directory in
1411 * which the user wants to put architecture-dependent public
1412 * library files for perl5. It is most often a local directory
1413 * such as /usr/local/lib. Programs using this variable must be
1414 * prepared to deal with filename expansion. If ARCHLIB is the
1415 * same as PRIVLIB, it is not defined, since presumably the
1416 * program already searches PRIVLIB.
1417 */
1418/* ARCHLIB_EXP:
1419 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1420 * in programs that are not prepared to deal with ~ expansion at run-time.
1421 */
04dc9db9 1422#define ARCHLIB "c:\\perl\\5.00562\\lib\\MSWin32-x86" /**/
82839a9d
GS
1423/*#define ARCHLIB_EXP "" /**/
1424
1425/* BIN:
1426 * This symbol holds the path of the bin directory where the package will
1427 * be installed. Program must be prepared to deal with ~name substitution.
1428 */
1429/* BIN_EXP:
1430 * This symbol is the filename expanded version of the BIN symbol, for
1431 * programs that do not want to deal with that at run-time.
1432 */
04dc9db9
GS
1433#define BIN "c:\\perl\\5.00562\\bin\\MSWin32-x86" /**/
1434#define BIN_EXP "c:\\perl\\5.00562\\bin\\MSWin32-x86" /**/
82839a9d
GS
1435
1436/* INSTALL_USR_BIN_PERL:
1437 * This symbol, if defined, indicates that Perl is to be installed
1438 * also as /usr/bin/perl.
1439 */
1440/*#define INSTALL_USR_BIN_PERL /**/
1441
1442/* PRIVLIB:
1443 * This symbol contains the name of the private library for this package.
1444 * The library is private in the sense that it needn't be in anyone's
1445 * execution path, but it should be accessible by the world. The program
1446 * should be prepared to do ~ expansion.
1447 */
1448/* PRIVLIB_EXP:
1449 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1450 * in programs that are not prepared to deal with ~ expansion at run-time.
1451 */
04dc9db9
GS
1452#define PRIVLIB "c:\\perl\\5.00562\\lib" /**/
1453#define PRIVLIB_EXP (win32_get_privlib("5.00562")) /**/
82839a9d
GS
1454
1455/* SITEARCH:
1456 * This symbol contains the name of the private library for this package.
1457 * The library is private in the sense that it needn't be in anyone's
1458 * execution path, but it should be accessible by the world. The program
1459 * should be prepared to do ~ expansion.
1460 * The standard distribution will put nothing in this directory.
1461 * Individual sites may place their own extensions and modules in
1462 * this directory.
1463 */
1464/* SITEARCH_EXP:
1465 * This symbol contains the ~name expanded version of SITEARCH, to be used
1466 * in programs that are not prepared to deal with ~ expansion at run-time.
1467 */
04dc9db9 1468#define SITEARCH "c:\\perl\\site\\5.00562\\lib\\MSWin32-x86" /**/
82839a9d
GS
1469/*#define SITEARCH_EXP "" /**/
1470
1471/* SITELIB:
1472 * This symbol contains the name of the private library for this package.
1473 * The library is private in the sense that it needn't be in anyone's
1474 * execution path, but it should be accessible by the world. The program
1475 * should be prepared to do ~ expansion.
1476 * The standard distribution will put nothing in this directory.
1477 * Individual sites may place their own extensions and modules in
1478 * this directory.
1479 */
1480/* SITELIB_EXP:
1481 * This symbol contains the ~name expanded version of SITELIB, to be used
1482 * in programs that are not prepared to deal with ~ expansion at run-time.
1483 */
04dc9db9
GS
1484#define SITELIB "c:\\perl\\site\\5.00562\\lib" /**/
1485#define SITELIB_EXP (win32_get_sitelib("5.00562")) /**/
82839a9d
GS
1486
1487/* PERL_VENDORLIB_EXP:
1488 * This symbol contains the ~name expanded version of VENDORLIB, to be used
1489 * in programs that are not prepared to deal with ~ expansion at run-time.
1490 */
e1f15930 1491/*#define PERL_VENDORLIB_EXP "" /**/
82839a9d 1492
924b3ec4
GS
1493/* OSNAME:
1494 * This symbol contains the name of the operating system, as determined
1495 * by Configure. You shouldn't rely on it too much; the specific
1496 * feature tests from Configure are generally more reliable.
1497 */
1498#define OSNAME "MSWin32" /**/
1499
924b3ec4
GS
1500/* CAT2:
1501 * This macro catenates 2 tokens together.
08aa1457 1502 */
924b3ec4
GS
1503/* STRINGIFY:
1504 * This macro surrounds its token with double quotes.
1505 */
1506#if 42 == 1
1507#define CAT2(a,b)a/**/b
1508#define STRINGIFY(a)"a"
1509 /* If you can get stringification with catify, tell me how! */
1510#endif
1511#if 42 == 42
1512#define CAT2(a,b)a ## b
1513#define StGiFy(a)# a
1514#define STRINGIFY(a)StGiFy(a)
1515#endif
1516#if 42 != 1 && 42 != 42
1517#include "Bletch: How does this C preprocessor catenate tokens?"
1518#endif
1519
104f9d64
GS
1520/* CPPSTDIN:
1521 * This symbol contains the first part of the string which will invoke
1522 * the C preprocessor on the standard input and produce to standard
1523 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1524 * call a wrapper. See CPPRUN.
1525 */
1526/* CPPMINUS:
1527 * This symbol contains the second part of the string which will invoke
1528 * the C preprocessor on the standard input and produce to standard
1529 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1530 * to specify standard input, otherwise the value is "".
1531 */
c4d53692
GS
1532/* CPPRUN:
1533 * This symbol contains the string which will invoke a C preprocessor on
1534 * the standard input and produce to standard output. It needs to end
1535 * with CPPLAST, after all other preprocessor flags have been specified.
1536 * The main difference with CPPSTDIN is that this program will never be a
1537 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1538 * available directly to the user. Note that it may well be different from
1539 * the preprocessor used to compile the C program.
1540 */
e1f15930
GS
1541/* CPPLAST:
1542 * This symbol is intended to be used along with CPPRUN in the same manner
1543 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1544 */
104f9d64
GS
1545#define CPPSTDIN "cl -nologo -E"
1546#define CPPMINUS ""
c4d53692 1547#define CPPRUN "cl -nologo -E"
e1f15930 1548#define CPPLAST ""
104f9d64 1549
327c3667
GS
1550/* HAS_ACCESS:
1551 * This manifest constant lets the C program know that the access()
1552 * system call is available to check for accessibility using real UID/GID.
1553 * (always present on UNIX.)
1554 */
1555#define HAS_ACCESS /**/
1556
c4d53692
GS
1557/* HAS_CSH:
1558 * This symbol, if defined, indicates that the C-shell exists.
1559 */
924b3ec4 1560/* CSH:
0cd52aa3 1561 * This symbol, if defined, contains the full pathname of csh.
08aa1457 1562 */
0cd52aa3
GS
1563/*#define HAS_CSH /**/
1564#ifdef HAS_CSH
1565#define CSH "" /**/
1566#endif
1567
327c3667
GS
1568/* HAS_ENDGRENT:
1569 * This symbol, if defined, indicates that the getgrent routine is
1570 * available for finalizing sequential access of the group database.
1571 */
1572/*#define HAS_ENDGRENT /**/
1573
0cd52aa3
GS
1574/* HAS_ENDHOSTENT:
1575 * This symbol, if defined, indicates that the endhostent() routine is
1576 * available to close whatever was being used for host queries.
1577 */
1578/*#define HAS_ENDHOSTENT /**/
1579
1580/* HAS_ENDNETENT:
1581 * This symbol, if defined, indicates that the endnetent() routine is
1582 * available to close whatever was being used for network queries.
1583 */
1584/*#define HAS_ENDNETENT /**/
1585
1586/* HAS_ENDPROTOENT:
1587 * This symbol, if defined, indicates that the endprotoent() routine is
1588 * available to close whatever was being used for protocol queries.
1589 */
1590/*#define HAS_ENDPROTOENT /**/
1591
327c3667
GS
1592/* HAS_ENDPWENT:
1593 * This symbol, if defined, indicates that the getgrent routine is
1594 * available for finalizing sequential access of the passwd database.
1595 */
1596/*#define HAS_ENDPWENT /**/
1597
0cd52aa3
GS
1598/* HAS_ENDSERVENT:
1599 * This symbol, if defined, indicates that the endservent() routine is
1600 * available to close whatever was being used for service queries.
1601 */
1602/*#define HAS_ENDSERVENT /**/
924b3ec4 1603
327c3667
GS
1604/* HAS_GETGRENT:
1605 * This symbol, if defined, indicates that the getgrent routine is
1606 * available for sequential access of the group database.
1607 */
1608/*#define HAS_GETGRENT /**/
1609
07ba5892
GS
1610/* HAS_GETHOSTBYADDR:
1611 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1612 * available to look up hosts by their IP addresses.
1613 */
1614#define HAS_GETHOSTBYADDR /**/
1615
1616/* HAS_GETHOSTBYNAME:
1617 * This symbol, if defined, indicates that the gethostbyname() routine is
1618 * available to look up host names in some data base or other.
1619 */
1620#define HAS_GETHOSTBYNAME /**/
1621
1622/* HAS_GETHOSTENT:
1623 * This symbol, if defined, indicates that the gethostent() routine is
1624 * available to look up host names in some data base or another.
1625 */
1626/*#define HAS_GETHOSTENT /**/
1627
9423c6fc
GS
1628/* HAS_GETHOSTNAME:
1629 * This symbol, if defined, indicates that the C program may use the
1630 * gethostname() routine to derive the host name. See also HAS_UNAME
1631 * and PHOSTNAME.
1632 */
1633/* HAS_UNAME:
1634 * This symbol, if defined, indicates that the C program may use the
1635 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1636 * and PHOSTNAME.
1637 */
1638/* PHOSTNAME:
1639 * This symbol, if defined, indicates the command to feed to the
1640 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1641 * and HAS_UNAME. Note that the command uses a fully qualified path,
1642 * so that it is safe even if used by a process with super-user
1643 * privileges.
1644 */
e1f15930
GS
1645/* HAS_PHOSTNAME:
1646 * This symbol, if defined, indicates that the C program may use the
1647 * contents of PHOSTNAME as a command to feed to the popen() routine
1648 * to derive the host name.
1649 */
9423c6fc
GS
1650#define HAS_GETHOSTNAME /**/
1651#define HAS_UNAME /**/
1652#undef HAS_PHOSTNAME
1653#ifdef HAS_PHOSTNAME
1654#define PHOSTNAME "" /* How to get the host name */
1655#endif
1656
07ba5892
GS
1657/* HAS_GETNETBYADDR:
1658 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1659 * available to look up networks by their IP addresses.
1660 */
1661/*#define HAS_GETNETBYADDR /**/
1662
1663/* HAS_GETNETBYNAME:
1664 * This symbol, if defined, indicates that the getnetbyname() routine is
1665 * available to look up networks by their names.
1666 */
1667/*#define HAS_GETNETBYNAME /**/
1668
0cd52aa3
GS
1669/* HAS_GETNETENT:
1670 * This symbol, if defined, indicates that the getnetent() routine is
1671 * available to look up network names in some data base or another.
1672 */
1673/*#define HAS_GETNETENT /**/
1674
1675/* HAS_GETPROTOENT:
1676 * This symbol, if defined, indicates that the getprotoent() routine is
1677 * available to look up protocols in some data base or another.
1678 */
1679/*#define HAS_GETPROTOENT /**/
1680
07ba5892
GS
1681/* HAS_GETPROTOBYNAME:
1682 * This symbol, if defined, indicates that the getprotobyname()
1683 * routine is available to look up protocols by their name.
1684 */
1685/* HAS_GETPROTOBYNUMBER:
1686 * This symbol, if defined, indicates that the getprotobynumber()
1687 * routine is available to look up protocols by their number.
1688 */
1689#define HAS_GETPROTOBYNAME /**/
1690#define HAS_GETPROTOBYNUMBER /**/
1691
327c3667
GS
1692/* HAS_GETPWENT:
1693 * This symbol, if defined, indicates that the getpwent routine is
1694 * available for sequential access of the passwd database.
1695 * If this is not available, the older getpw() function may be available.
1696 */
1697/*#define HAS_GETPWENT /**/
1698
0cd52aa3
GS
1699/* HAS_GETSERVENT:
1700 * This symbol, if defined, indicates that the getservent() routine is
1701 * available to look up network services in some data base or another.
1702 */
1703/*#define HAS_GETSERVENT /**/
1704
07ba5892
GS
1705/* HAS_GETSERVBYNAME:
1706 * This symbol, if defined, indicates that the getservbyname()
1707 * routine is available to look up services by their name.
1708 */
1709/* HAS_GETSERVBYPORT:
1710 * This symbol, if defined, indicates that the getservbyport()
1711 * routine is available to look up services by their port.
1712 */
1713#define HAS_GETSERVBYNAME /**/
1714#define HAS_GETSERVBYPORT /**/
1715
327c3667
GS
1716/* HAS_HTONL:
1717 * This symbol, if defined, indicates that the htonl() routine (and
1718 * friends htons() ntohl() ntohs()) are available to do network
1719 * order byte swapping.
1720 */
1721/* HAS_HTONS:
1722 * This symbol, if defined, indicates that the htons() routine (and
1723 * friends htonl() ntohl() ntohs()) are available to do network
1724 * order byte swapping.
1725 */
1726/* HAS_NTOHL:
1727 * This symbol, if defined, indicates that the ntohl() routine (and
1728 * friends htonl() htons() ntohs()) are available to do network
1729 * order byte swapping.
1730 */
1731/* HAS_NTOHS:
1732 * This symbol, if defined, indicates that the ntohs() routine (and
1733 * friends htonl() htons() ntohl()) are available to do network
1734 * order byte swapping.
1735 */
1736#define HAS_HTONL /**/
1737#define HAS_HTONS /**/
1738#define HAS_NTOHL /**/
1739#define HAS_NTOHS /**/
1740
0cd52aa3
GS
1741/* HAS_LONG_DOUBLE:
1742 * This symbol will be defined if the C compiler supports long
1743 * doubles.
1744 */
1745/* LONG_DOUBLESIZE:
1746 * This symbol contains the size of a long double, so that the
1747 * C preprocessor can make decisions based on it. It is only
1748 * defined if the system supports long doubles.
1749 */
1750#define HAS_LONG_DOUBLE /**/
1751#ifdef HAS_LONG_DOUBLE
1752#define LONG_DOUBLESIZE 10 /**/
1753#endif
1754
bdaec6b3 1755/* HAS_LONG_LONG:
327c3667 1756 * This symbol will be defined if the C compiler supports long long.
bdaec6b3
GS
1757 */
1758/* LONGLONGSIZE:
1759 * This symbol contains the size of a long long, so that the
1760 * C preprocessor can make decisions based on it. It is only
1761 * defined if the system supports long long.
1762 */
1763/*#define HAS_LONG_LONG /**/
1764#ifdef HAS_LONG_LONG
1765#define LONGLONGSIZE 8 /**/
1766#endif
1767
9423c6fc
GS
1768/* HAS_MEMCHR:
1769 * This symbol, if defined, indicates that the memchr routine is available
1770 * to locate characters within a C string.
1771 */
e1f15930 1772#define HAS_MEMCHR /**/
9423c6fc 1773
327c3667
GS
1774/* HAS_MSG:
1775 * This symbol, if defined, indicates that the entire msg*(2) library is
1776 * supported (IPC mechanism based on message queues).
1777 */
1778/*#define HAS_MSG /**/
1779
1780/* HAS_SEM:
1781 * This symbol, if defined, indicates that the entire sem*(2) library is
1782 * supported.
1783 */
1784/*#define HAS_SEM /**/
1785
1786/* HAS_SETGRENT:
1787 * This symbol, if defined, indicates that the setgrent routine is
1788 * available for initializing sequential access of the group database.
1789 */
1790/*#define HAS_SETGRENT /**/
1791
924b3ec4
GS
1792/* HAS_SETGROUPS:
1793 * This symbol, if defined, indicates that the setgroups() routine is
1794 * available to set the list of process groups. If unavailable, multiple
1795 * groups are probably not supported.
1796 */
1797/*#define HAS_SETGROUPS /**/
1798
07ba5892
GS
1799/* HAS_SETHOSTENT:
1800 * This symbol, if defined, indicates that the sethostent() routine is
1801 * available.
1802 */
1803/*#define HAS_SETHOSTENT /**/
1804
0cd52aa3
GS
1805/* HAS_SETNETENT:
1806 * This symbol, if defined, indicates that the setnetent() routine is
1807 * available.
1808 */
1809/*#define HAS_SETNETENT /**/
1810
1811/* HAS_SETPROTOENT:
1812 * This symbol, if defined, indicates that the setprotoent() routine is
1813 * available.
1814 */
1815/*#define HAS_SETPROTOENT /**/
1816
327c3667
GS
1817/* HAS_SETPWENT:
1818 * This symbol, if defined, indicates that the setpwent routine is
1819 * available for initializing sequential access of the passwd database.
1820 */
1821/*#define HAS_SETPWENT /**/
1822
0cd52aa3
GS
1823/* HAS_SETSERVENT:
1824 * This symbol, if defined, indicates that the setservent() routine is
1825 * available.
1826 */
1827/*#define HAS_SETSERVENT /**/
1828
1829/* HAS_SETVBUF:
1830 * This symbol, if defined, indicates that the setvbuf routine is
1831 * available to change buffering on an open stdio stream.
1832 * to a line-buffered mode.
1833 */
1834#define HAS_SETVBUF /**/
1835
327c3667
GS
1836/* HAS_SHM:
1837 * This symbol, if defined, indicates that the entire shm*(2) library is
1838 * supported.
1839 */
1840/*#define HAS_SHM /**/
1841
bdaec6b3
GS
1842/* HAS_SOCKET:
1843 * This symbol, if defined, indicates that the BSD socket interface is
1844 * supported.
1845 */
1846/* HAS_SOCKETPAIR:
1847 * This symbol, if defined, indicates that the BSD socketpair() call is
1848 * supported.
1849 */
c4d53692
GS
1850/* HAS_MSG_CTRUNC:
1851 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1852 * Checking just with #ifdef might not be enough because this symbol
1853 * has been known to be an enum.
1854 */
1855/* HAS_MSG_DONTROUTE:
1856 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1857 * Checking just with #ifdef might not be enough because this symbol
1858 * has been known to be an enum.
1859 */
1860/* HAS_MSG_OOB:
1861 * This symbol, if defined, indicates that the MSG_OOB is supported.
1862 * Checking just with #ifdef might not be enough because this symbol
1863 * has been known to be an enum.
1864 */
1865/* HAS_MSG_PEEK:
1866 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1867 * Checking just with #ifdef might not be enough because this symbol
1868 * has been known to be an enum.
1869 */
1870/* HAS_MSG_PROXY:
1871 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1872 * Checking just with #ifdef might not be enough because this symbol
1873 * has been known to be an enum.
1874 */
1875/* HAS_SCM_RIGHTS:
1876 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1877 * Checking just with #ifdef might not be enough because this symbol
1878 * has been known to be an enum.
1879 */
c4d53692
GS
1880#define HAS_SOCKET /**/
1881/*#define HAS_SOCKETPAIR /**/
1882/*#define HAS_MSG_CTRUNC /**/
1883/*#define HAS_MSG_DONTROUTE /**/
1884/*#define HAS_MSG_OOB /**/
1885/*#define HAS_MSG_PEEK /**/
1886/*#define HAS_MSG_PROXY /**/
1887/*#define HAS_SCM_RIGHTS /**/
bdaec6b3 1888
327c3667
GS
1889/* USE_STAT_BLOCKS:
1890 * This symbol is defined if this system has a stat structure declaring
1891 * st_blksize and st_blocks.
1892 */
104f9d64 1893/*#define USE_STAT_BLOCKS /**/
327c3667
GS
1894
1895/* HAS_STRERROR:
1896 * This symbol, if defined, indicates that the strerror routine is
1897 * available to translate error numbers to strings. See the writeup
1898 * of Strerror() in this file before you try to define your own.
1899 */
1900/* HAS_SYS_ERRLIST:
1901 * This symbol, if defined, indicates that the sys_errlist array is
1902 * available to translate error numbers to strings. The extern int
1903 * sys_nerr gives the size of that table.
1904 */
1905/* Strerror:
1906 * This preprocessor symbol is defined as a macro if strerror() is
1907 * not available to translate error numbers to strings but sys_errlist[]
1908 * array is there.
1909 */
1910#define HAS_STRERROR /**/
1911#define HAS_SYS_ERRLIST /**/
1912#define Strerror(e) strerror(e)
1913
be44fb0e
GS
1914/* HAS_UNION_SEMUN:
1915 * This symbol, if defined, indicates that the union semun is
1916 * defined by including <sys/sem.h>. If not, the user code
1917 * probably needs to define it as:
1918 * union semun {
1919 * int val;
1920 * struct semid_ds *buf;
1921 * unsigned short *array;
1922 * }
1923 */
1924/* USE_SEMCTL_SEMUN:
1925 * This symbol, if defined, indicates that union semun is
1926 * used for semctl IPC_STAT.
1927 */
1928/* USE_SEMCTL_SEMID_DS:
1929 * This symbol, if defined, indicates that struct semid_ds * is
1930 * used for semctl IPC_STAT.
1931 */
1932#define HAS_UNION_SEMUN /**/
1933/*#define USE_SEMCTL_SEMUN /**/
1934/*#define USE_SEMCTL_SEMID_DS /**/
1935
9423c6fc
GS
1936/* HAS_VFORK:
1937 * This symbol, if defined, indicates that vfork() exists.
1938 */
1939/*#define HAS_VFORK /**/
1940
924b3ec4
GS
1941/* Signal_t:
1942 * This symbol's value is either "void" or "int", corresponding to the
1943 * appropriate return type of a signal handler. Thus, you can declare
1944 * a signal handler using "Signal_t (*handler)()", and define the
1945 * handler using "Signal_t handler(sig)".
1946 */
1947#define Signal_t void /* Signal handler's return type */
1948
1949/* Groups_t:
1950 * This symbol holds the type used for the second argument to
1951 * getgroups() and setgropus(). Usually, this is the same as
1952 * gidtype (gid_t) , but sometimes it isn't.
1953 * It can be int, ushort, uid_t, etc...
1954 * It may be necessary to include <sys/types.h> to get any
1955 * typedef'ed information. This is only required if you have
1956 * getgroups() or setgropus()..
1957 */
1958#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1959#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1960#endif
1961
327c3667
GS
1962/* I_GRP:
1963 * This symbol, if defined, indicates to the C program that it should
1964 * include <grp.h>.
1965 */
1966/* GRPASSWD:
1967 * This symbol, if defined, indicates to the C program that struct group
1968 * in <grp.h> contains gr_passwd.
1969 */
1970/*#define I_GRP /**/
1971/*#define GRPASSWD /**/
1972
924b3ec4
GS
1973/* I_NETDB:
1974 * This symbol, if defined, indicates that <netdb.h> exists and
1975 * should be included.
1976 */
1977/*#define I_NETDB /**/
08aa1457 1978
be44fb0e 1979/* I_PWD:
bdaec6b3 1980 * This symbol, if defined, indicates to the C program that it should
be44fb0e 1981 * include <pwd.h>.
bdaec6b3 1982 */
be44fb0e
GS
1983/* PWQUOTA:
1984 * This symbol, if defined, indicates to the C program that struct passwd
1985 * contains pw_quota.
1986 */
1987/* PWAGE:
1988 * This symbol, if defined, indicates to the C program that struct passwd
1989 * contains pw_age.
1990 */
1991/* PWCHANGE:
1992 * This symbol, if defined, indicates to the C program that struct passwd
1993 * contains pw_change.
1994 */
1995/* PWCLASS:
1996 * This symbol, if defined, indicates to the C program that struct passwd
1997 * contains pw_class.
1998 */
1999/* PWEXPIRE:
2000 * This symbol, if defined, indicates to the C program that struct passwd
2001 * contains pw_expire.
2002 */
2003/* PWCOMMENT:
2004 * This symbol, if defined, indicates to the C program that struct passwd
2005 * contains pw_comment.
2006 */
2007/* PWGECOS:
2008 * This symbol, if defined, indicates to the C program that struct passwd
2009 * contains pw_gecos.
2010 */
9036c72f
GS
2011/* PWPASSWD:
2012 * This symbol, if defined, indicates to the C program that struct passwd
2013 * contains pw_passwd.
2014 */
be44fb0e
GS
2015/*#define I_PWD /**/
2016/*#define PWQUOTA /**/
2017/*#define PWAGE /**/
2018/*#define PWCHANGE /**/
2019/*#define PWCLASS /**/
2020/*#define PWEXPIRE /**/
2021/*#define PWCOMMENT /**/
2022/*#define PWGECOS /**/
9036c72f 2023/*#define PWPASSWD /**/
bdaec6b3 2024
9036c72f
GS
2025/* Free_t:
2026 * This variable contains the return type of free(). It is usually
2027 * void, but occasionally int.
08aa1457 2028 */
9036c72f
GS
2029/* Malloc_t:
2030 * This symbol is the type of pointer returned by malloc and realloc.
08aa1457 2031 */
9036c72f
GS
2032#define Malloc_t void * /**/
2033#define Free_t void /**/
2034
2035/* MYMALLOC:
2036 * This symbol, if defined, indicates that we're using our own malloc.
2037 */
2038/*#define MYMALLOC /**/
08aa1457 2039
be44fb0e
GS
2040/* SIG_NAME:
2041 * This symbol contains a list of signal names in order of
2042 * signal number. This is intended
2043 * to be used as a static array initialization, like this:
2044 * char *sig_name[] = { SIG_NAME };
2045 * The signals in the list are separated with commas, and each signal
2046 * is surrounded by double quotes. There is no leading SIG in the signal
2047 * name, i.e. SIGQUIT is known as "QUIT".
2048 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2049 * etc., where nn is the actual signal number (e.g. NUM37).
2050 * The signal number for sig_name[i] is stored in sig_num[i].
2051 * The last element is 0 to terminate the list with a NULL. This
2052 * corresponds to the 0 at the end of the sig_num list.
2053 */
2054/* SIG_NUM:
2055 * This symbol contains a list of signal numbers, in the same order as the
2056 * SIG_NAME list. It is suitable for static array initialization, as in:
2057 * int sig_num[] = { SIG_NUM };
2058 * The signals in the list are separated with commas, and the indices
2059 * within that list and the SIG_NAME list match, so it's easy to compute
2060 * the signal name from a number or vice versa at the price of a small
2061 * dynamic linear lookup.
2062 * Duplicates are allowed, but are moved to the end of the list.
2063 * The signal number corresponding to sig_name[i] is sig_number[i].
2064 * if (i < NSIG) then sig_number[i] == i.
2065 * The last element is 0, corresponding to the 0 at the end of
2066 * the sig_name list.
2067 */
46124e9e 2068#define SIG_NAME "ZERO", "NUM01", "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 /**/
22c35a8c 2069#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
be44fb0e 2070
9036c72f
GS
2071/* VOIDFLAGS:
2072 * This symbol indicates how much support of the void type is given by this
2073 * compiler. What various bits mean:
2074 *
2075 * 1 = supports declaration of void
2076 * 2 = supports arrays of pointers to functions returning void
2077 * 4 = supports comparisons between pointers to void functions and
2078 * addresses of void functions
2079 * 8 = suports declaration of generic void pointers
2080 *
2081 * The package designer should define VOIDUSED to indicate the requirements
2082 * of the package. This can be done either by #defining VOIDUSED before
2083 * including config.h, or by defining defvoidused in Myinit.U. If the
2084 * latter approach is taken, only those flags will be tested. If the
2085 * level of void support necessary is not present, defines void to int.
08aa1457 2086 */
9036c72f
GS
2087#ifndef VOIDUSED
2088#define VOIDUSED 15
2089#endif
2090#define VOIDFLAGS 15
2091#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2092#define void int /* is void to be avoided? */
2093#define M_VOID /* Xenix strikes again */
2094#endif
08aa1457 2095
e8ee3774
GS
2096/* HAS_ATOLF:
2097 * This symbol, if defined, indicates that the atolf routine is
2098 * available to convert strings into long doubles.
2099 */
2100/*#define HAS_ATOLF /**/
2101
2102/* HAS_ATOLL:
2103 * This symbol, if defined, indicates that the atoll routine is
2104 * available to convert strings into long longs.
2105 */
2106/*#define HAS_ATOLL /**/
2107
2108/* PERL_BINCOMPAT_5005:
2109 * This symbol, if defined, indicates that Perl 5.006 should be
2110 * binary-compatible with Perl 5.005. This is impossible for builds
2111 * that use features like threads and multiplicity it is always undef
2112 * for those versions.
2113 */
2114/*#define PERL_BINCOMPAT_5005 /**/
2115
924b3ec4
GS
2116/* DLSYM_NEEDS_UNDERSCORE:
2117 * This symbol, if defined, indicates that we need to prepend an
2118 * underscore to the symbol name before calling dlsym(). This only
2119 * makes sense if you *have* dlsym, which we will presume is the
2120 * case if you're using dl_dlopen.xs.
2121 */
2122/*#define DLSYM_NEEDS_UNDERSCORE /**/
2123
82839a9d
GS
2124/* HAS_ENDSPENT:
2125 * This symbol, if defined, indicates that the endspent system call is
2126 * available to finalize the scan of SysV shadow password entries.
2127 */
2128/*#define HAS_ENDSPENT /**/
2129
327c3667
GS
2130/* HAS_FSEEKO:
2131 * This symbol, if defined, indicates that the fseeko routine is
2132 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2133 */
2134/*#define HAS_FSEEKO /**/
2135
2136/* HAS_FTELLO:
2137 * This symbol, if defined, indicates that the ftello routine is
82839a9d 2138 * available to ftell beyond 32 bits (useful for ILP32 hosts).
327c3667
GS
2139 */
2140/*#define HAS_FTELLO /**/
2141
9423c6fc
GS
2142/* HAS_GETMNTENT:
2143 * This symbol, if defined, indicates that the getmntent routine is
2144 * available to iterate through mounted file systems.
2145 */
2146/*#define HAS_GETMNTENT /**/
2147
82839a9d
GS
2148/* HAS_GETSPENT:
2149 * This symbol, if defined, indicates that the getspent system call is
2150 * available to retrieve SysV shadow password entries sequentially.
2151 */
2152/*#define HAS_GETSPENT /**/
2153
2154/* HAS_GETSPNAM:
2155 * This symbol, if defined, indicates that the getspnam system call is
2156 * available to retrieve SysV shadow password entries by name.
2157 */
2158/*#define HAS_GETSPNAM /**/
2159
9423c6fc
GS
2160/* HAS_HASMNTOPT:
2161 * This symbol, if defined, indicates that the hasmntopt routine is
2162 * available to query the mount options of file systems.
2163 */
2164/*#define HAS_HASMNTOPT /**/
2165
e8ee3774
GS
2166/* HAS_LDBL_DIG:
2167 * This symbol, if defined, indicates that this system's <float.h>
2168 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2169 * of significant digits in a long double precision number. Unlike
2170 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2171 */
2172#define HAS_LDBL_DIG /**/
2173
82839a9d
GS
2174/* HAS_SETSPENT:
2175 * This symbol, if defined, indicates that the setspent system call is
2176 * available to initialize the scan of SysV shadow password entries.
2177 */
2178/*#define HAS_SETSPENT /**/
2179
924b3ec4
GS
2180/* USE_SFIO:
2181 * This symbol, if defined, indicates that sfio should
2182 * be used.
2183 */
2184/*#define USE_SFIO /**/
2185
c4d53692
GS
2186/* HAS_FSTATFS:
2187 * This symbol, if defined, indicates that the fstatfs routine is
9423c6fc 2188 * available to stat filesystems of file descriptors.
c4d53692
GS
2189 */
2190/* HAS_STRUCT_STATFS_FLAGS:
2191 * This symbol, if defined, indicates that the struct statfs
2192 * does have the f_flags member containing the mount flags of
2193 * the filesystem holding the file.
9423c6fc
GS
2194 * This kind of struct statfs is coming from sys/mount.h (BSD),
2195 * not from sys/statfs.h (SYSV).
c4d53692
GS
2196 */
2197/*#define HAS_FSTATFS /**/
2198/*#define HAS_STRUCT_STATFS_FLAGS /**/
2199
2200/* HAS_FSTATVFS:
2201 * This symbol, if defined, indicates that the fstatvfs routine is
9423c6fc 2202 * available to stat filesystems of file descriptors.
c4d53692
GS
2203 */
2204/*#define HAS_FSTATVFS /**/
2205
2206/* HAS_TELLDIR_PROTO:
2207 * This symbol, if defined, indicates that the system provides
2208 * a prototype for the telldir() function. Otherwise, it is up
2209 * to the program to supply one. A good guess is
82839a9d 2210 * extern long telldir _((DIR*));
c4d53692
GS
2211 */
2212#define HAS_TELLDIR_PROTO /**/
2213
924b3ec4
GS
2214/* USE_DYNAMIC_LOADING:
2215 * This symbol, if defined, indicates that dynamic loading of
2216 * some sort is available.
2217 */
2218#define USE_DYNAMIC_LOADING /**/
2219
9423c6fc
GS
2220/* FFLUSH_NULL:
2221 * This symbol, if defined, tells that fflush(NULL) does flush
2222 * all pending stdio output.
2223 */
2224/* FFLUSH_ALL:
2225 * This symbol, if defined, tells that to flush
2226 * all pending stdio output one must loop through all
2227 * the stdio file handles stored in an array and fflush them.
2228 * Note that if fflushNULL is defined, fflushall will not
2229 * even be probed for and will be left undefined.
2230 */
2231#define FFLUSH_NULL /**/
2232/*#define FFLUSH_ALL /**/
2233
924b3ec4
GS
2234/* DB_Prefix_t:
2235 * This symbol contains the type of the prefix structure element
2236 * in the <db.h> header file. In older versions of DB, it was
2237 * int, while in newer ones it is u_int32_t.
2238 */
2239/* DB_Hash_t:
2240 * This symbol contains the type of the prefix structure element
2241 * in the <db.h> header file. In older versions of DB, it was
2242 * int, while in newer ones it is size_t.
2243 */
2244#define DB_Hash_t int /**/
2245#define DB_Prefix_t int /**/
2246
327c3667
GS
2247/* I_INTTYPES:
2248 * This symbol, if defined, indicates to the C program that it should
2249 * include <inttypes.h>.
2250 */
2251/* HAS_INT64_T:
2252 * This symbol will defined if the C compiler supports int64_t.
2253 * Usually the <inttypes.h> needs to be included, but sometimes
2254 * <sys/types.h> is enough.
2255 */
2256/*#define I_INTTYPES /**/
2257/*#define HAS_INT64_T /**/
2258
c4d53692
GS
2259/* I_MNTENT:
2260 * This symbol, if defined, indicates that <mntent.h> exists and
2261 * should be included.
2262 */
2263/*#define I_MNTENT /**/
2264
9423c6fc
GS
2265/* I_NETINET_TCP:
2266 * This symbol, if defined, indicates to the C program that it should
2267 * include <netinet/tcp.h>.
2268 */
2269/*#define I_NETINET_TCP /**/
2270
c4d53692
GS
2271/* I_POLL:
2272 * This symbol, if defined, indicates that <poll.h> exists and
2273 * should be included.
2274 */
2275/*#define I_POLL /**/
2276
82839a9d
GS
2277/* I_SHADOW:
2278 * This symbol, if defined, indicates that <shadow.h> exists and
2279 * should be included.
2280 */
2281/*#define I_SHADOW /**/
2282
2283/* I_SOCKS:
2284 * This symbol, if defined, indicates that <socks.h> exists and
2285 * should be included.
2286 */
2287/*#define I_SOCKS /**/
2288
c4d53692
GS
2289/* I_SYS_MOUNT:
2290 * This symbol, if defined, indicates that <sys/mount.h> exists and
2291 * should be included.
2292 */
2293/*#define I_SYS_MOUNT /**/
2294
2295/* I_SYS_STATVFS:
2296 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2297 * should be included.
2298 */
2299/*#define I_SYS_STATVFS /**/
2300
e8ee3774
GS
2301/* HAS_OFF64_T:
2302 * This symbol will be defined if the C compiler supports off64_t.
327c3667 2303 */
e8ee3774
GS
2304/* HAS_FPOS64_T:
2305 * This symbol will be defined if the C compiler supports fpos64_t.
327c3667 2306 */
e8ee3774
GS
2307/*#define HAS_OFF64_T /**/
2308/*#define HAS_FPOS64_T /**/
2309
2310/* PERL_PRIfldbl:
2311 * This symbol, if defined, contains the string used by stdio to
2312 * format long doubles (format 'f') for output.
327c3667 2313 */
e8ee3774
GS
2314/* PERL_PRIgldbl:
2315 * This symbol, if defined, contains the string used by stdio to
2316 * format long doubles (format 'g') for output.
327c3667 2317 */
e1f15930
GS
2318/*#define PERL_PRIfldbl "f" /**/
2319/*#define PERL_PRIgldbl "g" /**/
e8ee3774
GS
2320
2321/* PERL_PRId64:
2322 * This symbol, if defined, contains the string used by stdio to
2323 * format 64-bit decimal numbers (format 'd') for output.
327c3667 2324 */
e8ee3774
GS
2325/* PERL_PRIu64:
2326 * This symbol, if defined, contains the string used by stdio to
2327 * format 64-bit unsigned decimal numbers (format 'u') for output.
327c3667 2328 */
e8ee3774
GS
2329/* PERL_PRIo64:
2330 * This symbol, if defined, contains the string used by stdio to
2331 * format 64-bit octal numbers (format 'o') for output.
327c3667 2332 */
e8ee3774
GS
2333/* PERL_PRIx64:
2334 * This symbol, if defined, contains the string used by stdio to
2335 * format 64-bit hexadecimal numbers (format 'x') for output.
327c3667 2336 */
e1f15930
GS
2337/*#define PERL_PRId64 "ld" /**/
2338/*#define PERL_PRIu64 "lu" /**/
2339/*#define PERL_PRIo64 "lo" /**/
2340/*#define PERL_PRIx64 "lx" /**/
327c3667 2341
327c3667
GS
2342/* SELECT_MIN_BITS:
2343 * This symbol holds the minimum number of bits operated by select.
2344 * That is, if you do select(n, ...), how many bits at least will be
2345 * cleared in the masks if some activity is detected. Usually this
2346 * is either n or 32*ceil(n/32), especially many little-endians do
2347 * the latter. This is only useful if you have select(), naturally.
2348 */
2349#define SELECT_MIN_BITS 32 /**/
2350
08aa1457
PP
2351/* STARTPERL:
2352 * This variable contains the string to put in front of a perl
2353 * script to make sure (one hopes) that it runs with perl and not
2354 * some shell.
2355 */
f987c7de 2356#define STARTPERL "#!perl" /**/
08aa1457 2357
9423c6fc
GS
2358/* HAS_STDIO_STREAM_ARRAY:
2359 * This symbol, if defined, tells that there is an array
2360 * holding the stdio streams.
2361 */
2362/* STDIO_STREAM_ARRAY:
2363 * This symbol tells the name of the array holding the stdio streams.
2364 * Usual values include _iob, __iob, and __sF.
2365 */
2366/*#define HAS_STDIO_STREAM_ARRAY /**/
e1f15930 2367#define STDIO_STREAM_ARRAY
9423c6fc 2368
e8ee3774
GS
2369/* HAS_STRTOULL:
2370 * This symbol, if defined, indicates that the strtoull routine is
2371 * available to convert strings into unsigned long longs.
2372 */
2373/*#define HAS_STRTOULL /**/
2374
327c3667 2375/* USE_64_BITS:
104f9d64
GS
2376 * This symbol, if defined, indicates that 64-bit interfaces should
2377 * be used when available. If not defined, the native default interfaces
327c3667
GS
2378 * will be used (be they 32 or 64 bits).
2379 */
2380/*#define USE_64_BITS /**/
2381
e1f15930
GS
2382/* USE_LARGE_FILES:
2383 * This symbol, if defined, indicates that large file support
2384 * should be used when available. The USE_64_BITS symbol will
2385 * also be turned on if necessary.
2386 */
2387/*#define USE_LARGE_FILES /**/
2388
e8ee3774
GS
2389/* USE_LONG_DOUBLE:
2390 * This symbol, if defined, indicates that long doubles should
2391 * be used when available.
2392 */
2393/*#define USE_LONG_DOUBLE /**/
2394
c4d53692
GS
2395/* MULTIPLICITY:
2396 * This symbol, if defined, indicates that Perl should
2397 * be built to use multiplicity.
2398 */
2399/*#define MULTIPLICITY /**/
2400
08aa1457
PP
2401/* USE_PERLIO:
2402 * This symbol, if defined, indicates that the PerlIO abstraction should
2403 * be used throughout. If not defined, stdio should be
2404 * used in a fully backward compatible manner.
2405 */
2406/*#define USE_PERLIO /**/
2407
82839a9d
GS
2408/* USE_SOCKS:
2409 * This symbol, if defined, indicates that Perl should
2410 * be built to use socks.
2411 */
2412/*#define USE_SOCKS /**/
2413
e1f15930
GS
2414/* PERL_XS_APIVERSION:
2415 * This variable contains the version of the oldest perl binary
2416 * compatible with the present perl. perl.c:incpush() and
2417 * lib/lib.pm will automatically search in c:\\perl\\site\\5.00562\\lib\\MSWin32-x86 for older
2418 * directories across major versions back to xs_apiversion.
2419 * This is only useful if you have a perl library directory tree
2420 * structured like the default one.
2421 * See INSTALL for how this works.
2422 * The versioned site_perl directory was introduced in 5.005,
2423 * so that is the lowest possible value.
2424 * Since this can depend on compile time options (such as
2425 * bincompat) it is set by Configure. Other non-default sources
2426 * of potential incompatibility, such as multiplicity, threads,
2427 * debugging, 64bits, sfio, etc., are not checked for currently,
2428 * though in principle we could go snooping around in old
2429 * Config.pm files.
2430 */
2431/* PERL_PM_APIVERSION:
2432 * This variable contains the version of the oldest perl
2433 * compatible with the present perl. (That is, pure perl modules
2434 * written for pm_apiversion will still work for the current
2435 * version). perl.c:incpush() and lib/lib.pm will automatically
2436 * search in c:\\perl\\site\\5.00562\\lib for older directories across major versions
2437 * back to pm_apiversion. This is only useful if you have a perl
2438 * library directory tree structured like the default one. The
2439 * versioned site_perl library was introduced in 5.005, so that's
2440 * the default setting for this variable. It's hard to imagine
2441 * it changing before Perl6. It is included here for symmetry
2442 * with xs_apiveprsion -- the searching algorithms will
2443 * (presumably) be similar.
2444 * See the INSTALL file for how this works.
2445 */
2446#define PERL_XS_APIVERSION 5.00562 /* Change to string for tuples?*/
2447#define PERL_PM_APIVERSION 5.005 /* Change to string for tuples?*/
2448
104f9d64
GS
2449/* HAS_DRAND48_PROTO:
2450 * This symbol, if defined, indicates that the system provides
2451 * a prototype for the drand48() function. Otherwise, it is up
2452 * to the program to supply one. A good guess is
82839a9d 2453 * extern double drand48 _((void));
104f9d64
GS
2454 */
2455/*#define HAS_DRAND48_PROTO /**/
2456
bdaec6b3
GS
2457/* HAS_GETHOST_PROTOS:
2458 * This symbol, if defined, indicates that <netdb.h> includes
2459 * prototypes for gethostent(), gethostbyname(), and
2460 * gethostbyaddr(). Otherwise, it is up to the program to guess
2461 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2462 */
2463#define HAS_GETHOST_PROTOS /**/
2464
2465/* HAS_GETNET_PROTOS:
2466 * This symbol, if defined, indicates that <netdb.h> includes
2467 * prototypes for getnetent(), getnetbyname(), and
2468 * getnetbyaddr(). Otherwise, it is up to the program to guess
2469 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2470 */
2471/*#define HAS_GETNET_PROTOS /**/
2472
2473/* HAS_GETPROTO_PROTOS:
2474 * This symbol, if defined, indicates that <netdb.h> includes
2475 * prototypes for getprotoent(), getprotobyname(), and
2476 * getprotobyaddr(). Otherwise, it is up to the program to guess
2477 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2478 */
2479#define HAS_GETPROTO_PROTOS /**/
2480
2481/* HAS_GETSERV_PROTOS:
2482 * This symbol, if defined, indicates that <netdb.h> includes
2483 * prototypes for getservent(), getservbyname(), and
2484 * getservbyaddr(). Otherwise, it is up to the program to guess
2485 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2486 */
2487#define HAS_GETSERV_PROTOS /**/
2488
924b3ec4
GS
2489/* Netdb_host_t:
2490 * This symbol holds the type used for the 1st argument
2491 * to gethostbyaddr().
08aa1457 2492 */
924b3ec4
GS
2493/* Netdb_hlen_t:
2494 * This symbol holds the type used for the 2nd argument
2495 * to gethostbyaddr().
2496 */
2497/* Netdb_name_t:
2498 * This symbol holds the type used for the argument to
2499 * gethostbyname().
2500 */
2501/* Netdb_net_t:
2502 * This symbol holds the type used for the 1st argument to
2503 * getnetbyaddr().
2504 */
2505#define Netdb_host_t char * /**/
2506#define Netdb_hlen_t int /**/
2507#define Netdb_name_t char * /**/
2508#define Netdb_net_t long /**/
2509
2510/* Select_fd_set_t:
2511 * This symbol holds the type used for the 2nd, 3rd, and 4th
2512 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2513 * is defined, and 'int *' otherwise. This is only useful if you
2514 * have select(), of course.
2515 */
2516#define Select_fd_set_t Perl_fd_set * /**/
2517
2518/* ARCHNAME:
2519 * This symbol holds a string representing the architecture name.
2520 * It may be used to construct an architecture-dependant pathname
2521 * where library files may be held under a private library, for
2522 * instance.
2523 */
2524#define ARCHNAME "MSWin32-x86" /**/
2525
c4d53692
GS
2526/* OLD_PTHREAD_CREATE_JOINABLE:
2527 * This symbol, if defined, indicates how to create pthread
2528 * in joinable (aka undetached) state. NOTE: not defined
2529 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2530 * (the new version of the constant).
2531 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2532 * and __UNDETACHED.
2533 */
2534/*#define OLD_PTHREAD_CREATE_JOINABLE /**/
2535
924b3ec4
GS
2536/* HAS_PTHREAD_YIELD:
2537 * This symbol, if defined, indicates that the pthread_yield
2538 * routine is available to yield the execution of the current
104f9d64
GS
2539 * thread. sched_yield is preferable to pthread_yield.
2540 */
2541/* SCHED_YIELD:
2542 * This symbol defines the way to yield the execution of
2543 * the current thread. Known ways are sched_yield,
2544 * pthread_yield, and pthread_yield with NULL.
924b3ec4 2545 */
be44fb0e
GS
2546/* HAS_SCHED_YIELD:
2547 * This symbol, if defined, indicates that the sched_yield
2548 * routine is available to yield the execution of the current
104f9d64 2549 * thread. sched_yield is preferable to pthread_yield.
be44fb0e 2550 */
924b3ec4 2551/*#define HAS_PTHREAD_YIELD /**/
104f9d64 2552#define SCHED_YIELD /**/
be44fb0e 2553/*#define HAS_SCHED_YIELD /**/
924b3ec4 2554
22c35a8c
GS
2555/* I_MACH_CTHREADS:
2556 * This symbol, if defined, indicates to the C program that it should
2557 * include <mach/cthreads.h>.
924b3ec4 2558 */
22c35a8c 2559/*#define I_MACH_CTHREADS /**/
924b3ec4 2560
e1f15930
GS
2561/* I_PTHREAD:
2562 * This symbol, if defined, indicates to the C program that it should
2563 * include <pthread.h>.
2564 */
2565/*#define I_PTHREAD /**/
2566
924b3ec4
GS
2567/* USE_THREADS:
2568 * This symbol, if defined, indicates that Perl should
2569 * be built to use threads.
2570 */
07ba5892
GS
2571/* OLD_PTHREADS_API:
2572 * This symbol, if defined, indicates that Perl should
2573 * be built to use the old draft POSIX threads API.
2574 */
924b3ec4 2575/*#define USE_THREADS /**/
07ba5892 2576/*#define OLD_PTHREADS_API /**/
08aa1457 2577
bdaec6b3
GS
2578/* Time_t:
2579 * This symbol holds the type returned by time(). It can be long,
2580 * or time_t on BSD sites (in which case <sys/types.h> should be
2581 * included).
2582 */
2583#define Time_t time_t /* Time type */
2584
2585/* HAS_TIMES:
2586 * This symbol, if defined, indicates that the times() routine exists.
2587 * Note that this became obsolete on some systems (SUNOS), which now
2588 * use getrusage(). It may be necessary to include <sys/times.h>.
2589 */
2590#define HAS_TIMES /**/
2591
2592/* Fpos_t:
2593 * This symbol holds the type used to declare file positions in libc.
2594 * It can be fpos_t, long, uint, etc... It may be necessary to include
2595 * <sys/types.h> to get any typedef'ed information.
2596 */
2597#define Fpos_t fpos_t /* File position type */
2598
2599/* Gid_t:
2600 * This symbol holds the return type of getgid() and the type of
2601 * argument to setrgid() and related functions. Typically,
2602 * it is the type of group ids in the kernel. It can be int, ushort,
2603 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2604 * any typedef'ed information.
2605 */
2606#define Gid_t gid_t /* Type for getgid(), etc... */
2607
2608/* Off_t:
2609 * This symbol holds the type used to declare offsets in the kernel.
2610 * It can be int, long, off_t, etc... It may be necessary to include
2611 * <sys/types.h> to get any typedef'ed information.
2612 */
104f9d64
GS
2613/* LSEEKSIZE:
2614 * This symbol holds the number of bytes used by the Off_t.
2615 */
bdaec6b3 2616#define Off_t off_t /* <offset> type */
104f9d64 2617#define LSEEKSIZE 4 /* <offset> size */
bdaec6b3
GS
2618
2619/* Mode_t:
2620 * This symbol holds the type used to declare file modes
2621 * for systems calls. It is usually mode_t, but may be
2622 * int or unsigned short. It may be necessary to include <sys/types.h>
2623 * to get any typedef'ed information.
2624 */
2625#define Mode_t mode_t /* file mode parameter for system calls */
2626
2627/* Pid_t:
2628 * This symbol holds the type used to declare process ids in the kernel.
2629 * It can be int, uint, pid_t, etc... It may be necessary to include
2630 * <sys/types.h> to get any typedef'ed information.
2631 */
2632#define Pid_t int /* PID type */
2633
2634/* Size_t:
2635 * This symbol holds the type used to declare length parameters
2636 * for string functions. It is usually size_t, but may be
2637 * unsigned long, int, etc. It may be necessary to include
2638 * <sys/types.h> to get any typedef'ed information.
2639 */
2640#define Size_t size_t /* length paramater for string functions */
2641
e1f15930
GS
2642/* Uid_t_SIGN:
2643 * This symbol holds the signedess of a Uid_t.
2644 * 1 for unsigned, -1 for signed.
2645 */
2646#define Uid_t_SIGN -1 /* UID sign */
2647
bdaec6b3
GS
2648/* Uid_t:
2649 * This symbol holds the type used to declare user ids in the kernel.
2650 * It can be int, ushort, uid_t, etc... It may be necessary to include
2651 * <sys/types.h> to get any typedef'ed information.
2652 */
2653#define Uid_t uid_t /* UID type */
2654
08aa1457 2655#endif