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