This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix OS/2 coredump with POSIX::tmpnam() (from Ilya Zakharevich)
[perl5.git] / win32 / config_H.vc
CommitLineData
08aa1457
PP
1/*
2 * This file was produced by running the config_h.SH script, which
3 * gets its values from config.sh, which is generally produced by
4 * running Configure.
5 *
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit config.sh and rerun config_h.SH.
9 *
924b3ec4 10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
08aa1457
PP
11 */
12
924b3ec4
GS
13/*
14 * Package name : perl5
07ba5892 15 * Source directory :
3635cd84 16 * Configuration time: Tue Jan 18 21:02:27 2000
924b3ec4
GS
17 * Configured by : gsar
18 * Target system :
08aa1457
PP
19 */
20
21#ifndef _config_h_
22#define _config_h_
23
924b3ec4
GS
24/* LOC_SED:
25 * This symbol holds the complete pathname to the sed program.
08aa1457 26 */
924b3ec4 27#define LOC_SED "" /**/
08aa1457 28
08aa1457
PP
29/* HAS_ALARM:
30 * This symbol, if defined, indicates that the alarm routine is
31 * available.
32 */
33/*#define HAS_ALARM /**/
34
35/* HASATTRIBUTE:
36 * This symbol indicates the C compiler can check for function attributes,
37 * such as printf formats. This is normally only supported by GNU cc.
38 */
39/*#define HASATTRIBUTE /**/
40#ifndef HASATTRIBUTE
41#define __attribute__(_arg_)
42#endif
43
44/* HAS_BCMP:
45 * This symbol is defined if the bcmp() routine is available to
46 * compare blocks of memory.
47 */
48/*#define HAS_BCMP /**/
49
50/* HAS_BCOPY:
51 * This symbol is defined if the bcopy() routine is available to
52 * copy blocks of memory.
53 */
54/*#define HAS_BCOPY /**/
55
56/* HAS_BZERO:
57 * This symbol is defined if the bzero() routine is available to
58 * set a memory block to 0.
59 */
60/*#define HAS_BZERO /**/
61
08aa1457
PP
62/* HAS_CHOWN:
63 * This symbol, if defined, indicates that the chown routine is
64 * available.
65 */
66/*#define HAS_CHOWN /**/
67
68/* HAS_CHROOT:
69 * This symbol, if defined, indicates that the chroot routine is
70 * available.
71 */
72/*#define HAS_CHROOT /**/
73
74/* HAS_CHSIZE:
75 * This symbol, if defined, indicates that the chsize routine is available
76 * to truncate files. You might need a -lx to get this routine.
77 */
78#define HAS_CHSIZE /**/
79
08aa1457
PP
80/* HASCONST:
81 * This symbol, if defined, indicates that this C compiler knows about
82 * the const type. There is no need to actually test for that symbol
83 * within your programs. The mere use of the "const" keyword will
84 * trigger the necessary tests.
85 */
86#define HASCONST /**/
87#ifndef HASCONST
88#define const
89#endif
90
91/* HAS_CRYPT:
92 * This symbol, if defined, indicates that the crypt routine is available
93 * to encrypt passwords and the like.
94 */
95/*#define HAS_CRYPT /**/
96
97/* HAS_CUSERID:
98 * This symbol, if defined, indicates that the cuserid routine is
99 * available to get character login names.
100 */
101/*#define HAS_CUSERID /**/
102
103/* HAS_DBL_DIG:
104 * This symbol, if defined, indicates that this system's <float.h>
105 * or <limits.h> defines the symbol DBL_DIG, which is the number
106 * of significant digits in a double precision number. If this
107 * symbol is not defined, a guess of 15 is usually pretty good.
108 */
109#define HAS_DBL_DIG /**/
110
111/* HAS_DIFFTIME:
112 * This symbol, if defined, indicates that the difftime routine is
113 * available.
114 */
115#define HAS_DIFFTIME /**/
116
117/* HAS_DLERROR:
118 * This symbol, if defined, indicates that the dlerror routine is
119 * available to return a string describing the last error that
120 * occurred from a call to dlopen(), dlclose() or dlsym().
121 */
122#define HAS_DLERROR /**/
123
924b3ec4
GS
124/* SETUID_SCRIPTS_ARE_SECURE_NOW:
125 * This symbol, if defined, indicates that the bug that prevents
126 * setuid scripts from being secure is not present in this kernel.
127 */
128/* DOSUID:
129 * This symbol, if defined, indicates that the C program should
130 * check the script that it is executing for setuid/setgid bits, and
131 * attempt to emulate setuid/setgid on systems that have disabled
132 * setuid #! scripts because the kernel can't do it securely.
133 * It is up to the package designer to make sure that this emulation
134 * is done securely. Among other things, it should do an fstat on
135 * the script it just opened to make sure it really is a setuid/setgid
136 * script, it should make sure the arguments passed correspond exactly
137 * to the argument on the #! line, and it should not trust any
138 * subprocesses to which it must pass the filename rather than the
139 * file descriptor of the script to be executed.
140 */
141/*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
142/*#define DOSUID /**/
143
08aa1457
PP
144/* HAS_DUP2:
145 * This symbol, if defined, indicates that the dup2 routine is
146 * available to duplicate file descriptors.
147 */
148#define HAS_DUP2 /**/
149
150/* HAS_FCHMOD:
151 * This symbol, if defined, indicates that the fchmod routine is available
152 * to change mode of opened files. If unavailable, use chmod().
153 */
154/*#define HAS_FCHMOD /**/
155
156/* HAS_FCHOWN:
157 * This symbol, if defined, indicates that the fchown routine is available
158 * to change ownership of opened files. If unavailable, use chown().
159 */
160/*#define HAS_FCHOWN /**/
161
162/* HAS_FCNTL:
163 * This symbol, if defined, indicates to the C program that
164 * the fcntl() function exists.
165 */
166/*#define HAS_FCNTL /**/
167
168/* HAS_FGETPOS:
169 * This symbol, if defined, indicates that the fgetpos routine is
170 * available to get the file position indicator, similar to ftell().
171 */
172#define HAS_FGETPOS /**/
173
174/* FLEXFILENAMES:
175 * This symbol, if defined, indicates that the system supports filenames
176 * longer than 14 characters.
177 */
178#define FLEXFILENAMES /**/
179
180/* HAS_FLOCK:
181 * This symbol, if defined, indicates that the flock routine is
182 * available to do file locking.
183 */
184#define HAS_FLOCK /**/
185
186/* HAS_FORK:
187 * This symbol, if defined, indicates that the fork routine is
188 * available.
189 */
190/*#define HAS_FORK /**/
191
192/* HAS_FSETPOS:
193 * This symbol, if defined, indicates that the fsetpos routine is
194 * available to set the file position indicator, similar to fseek().
195 */
196#define HAS_FSETPOS /**/
197
198/* HAS_GETTIMEOFDAY:
199 * This symbol, if defined, indicates that the gettimeofday() system
200 * call is available for a sub-second accuracy clock. Usually, the file
201 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
202 * The type "Timeval" should be used to refer to "struct timeval".
203 */
204/*#define HAS_GETTIMEOFDAY /**/
205#ifdef HAS_GETTIMEOFDAY
206#define Timeval struct timeval /* Structure used by gettimeofday() */
207#endif
208
209/* HAS_GETGROUPS:
210 * This symbol, if defined, indicates that the getgroups() routine is
211 * available to get the list of process groups. If unavailable, multiple
212 * groups are probably not supported.
213 */
08aa1457 214/*#define HAS_GETGROUPS /**/
08aa1457 215
08aa1457
PP
216/* HAS_GETLOGIN:
217 * This symbol, if defined, indicates that the getlogin routine is
218 * available to get the login name.
219 */
e34ffe5a 220#define HAS_GETLOGIN /**/
08aa1457 221
924b3ec4
GS
222/* HAS_GETPGID:
223 * This symbol, if defined, indicates to the C program that
224 * the getpgid(pid) function is available to get the
225 * process group id.
226 */
227/*#define HAS_GETPGID /**/
228
229/* HAS_GETPGRP:
230 * This symbol, if defined, indicates that the getpgrp routine is
231 * available to get the current process group.
232 */
233/* USE_BSD_GETPGRP:
234 * This symbol, if defined, indicates that getpgrp needs one
235 * arguments whereas USG one needs none.
236 */
237/*#define HAS_GETPGRP /**/
238/*#define USE_BSD_GETPGRP /**/
239
08aa1457
PP
240/* HAS_GETPGRP2:
241 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
242 * routine is available to get the current process group.
243 */
244/*#define HAS_GETPGRP2 /**/
245
246/* HAS_GETPPID:
247 * This symbol, if defined, indicates that the getppid routine is
248 * available to get the parent process ID.
249 */
250/*#define HAS_GETPPID /**/
251
252/* HAS_GETPRIORITY:
253 * This symbol, if defined, indicates that the getpriority routine is
254 * available to get a process's priority.
255 */
256/*#define HAS_GETPRIORITY /**/
257
924b3ec4
GS
258/* HAS_INET_ATON:
259 * This symbol, if defined, indicates to the C program that the
260 * inet_aton() function is available to parse IP address "dotted-quad"
261 * strings.
08aa1457 262 */
924b3ec4 263/*#define HAS_INET_ATON /**/
08aa1457
PP
264
265/* HAS_KILLPG:
266 * This symbol, if defined, indicates that the killpg routine is available
267 * to kill process groups. If unavailable, you probably should use kill
268 * with a negative process number.
269 */
270/*#define HAS_KILLPG /**/
271
272/* HAS_LINK:
273 * This symbol, if defined, indicates that the link routine is
274 * available to create hard links.
275 */
6b980173 276#define HAS_LINK /**/
08aa1457
PP
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
JH
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
PP
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
JH
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
PP
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
JH
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 * temporary 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
PP
381/* HAS_MKTIME:
382 * This symbol, if defined, indicates that the mktime routine is
383 * available.
384 */
385#define HAS_MKTIME /**/
386
08aa1457
PP
387/* HAS_NICE:
388 * This symbol, if defined, indicates that the nice routine is
389 * available.
390 */
391/*#define HAS_NICE /**/
392
08aa1457
PP
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
GS
420 * available to poll active file descriptors. You may safely
421 * include <poll.h> when this symbol is defined.
08aa1457
PP
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
PP
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
PP
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
GS
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
PP
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
PP
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
PP
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
GS
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
GS
595/* HAS_INDEX:
596 * This symbol is defined to indicate that the index()/rindex()
597 * functions are available for string searching.
08aa1457 598 */
924b3ec4
GS
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
GS
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
PP
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
PP
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
PP
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
PP
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
PP
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
9036c72f 725/* I_ARPA_INET:
327c3667
GS
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.
9036c72f 728 */
327c3667 729#define I_ARPA_INET /**/
9036c72f 730
924b3ec4
GS
731/* I_DBM:
732 * This symbol, if defined, indicates that <dbm.h> exists and should
733 * be included.
08aa1457 734 */
924b3ec4
GS
735/* I_RPCSVC_DBM:
736 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
737 * should be included.
08aa1457 738 */
924b3ec4
GS
739/*#define I_DBM /**/
740#define I_RPCSVC_DBM /**/
08aa1457
PP
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
PP
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
GS
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
PP
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
GS
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
PP
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
GS
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
PP
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
GS
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
PP
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
PP
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
GS
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
PP
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
PP
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
GS
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
PP
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 */
4e35701f 1007#define STDCHAR char /**/
08aa1457 1008
9423c6fc
GS
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
GS
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
GS
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
GS
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
GS
1092#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1093# define MEM_ALIGNBYTES 8
1094#else
1095#define MEM_ALIGNBYTES 8
1096#endif
08aa1457 1097
3635cd84
GS
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 */
93342173 1111#define ARCHLIB "c:\\perl\\5.5.670\\lib\\MSWin32-x86" /**/
3635cd84
GS
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 */
93342173
GS
1142#define BIN "c:\\perl\\5.5.670\\bin\\MSWin32-x86" /**/
1143#define BIN_EXP "c:\\perl\\5.5.670\\bin\\MSWin32-x86" /**/
3635cd84
GS
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
PP
1153/* BYTEORDER:
1154 * This symbol holds the hexadecimal constant defined in byteorder,
1155 * i.e. 0x1234 or 0x4321, etc...
9423c6fc
GS
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
PP
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
GS
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
PP
1194#endif /* NeXT */
1195
3635cd84
GS
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 "cl -nologo -E"
1238#define CPPMINUS ""
1239#define CPPRUN "cl -nologo -E"
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
GS
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 */
2cdbc966 1252/*#define CASTI32 /**/
08aa1457 1253
924b3ec4
GS
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
GS
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
GS
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
GS
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
GS
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
GS
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 /**/
c890dc6c 1367
3635cd84
GS
1368/* HAS_FTELLO:
1369 * This symbol, if defined, indicates that the ftello routine is
1370 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1371 */
1372/*#define HAS_FTELLO /**/
1373
08aa1457
PP
1374/* Gconvert:
1375 * This preprocessor macro is defined to convert a floating point
1376 * number to a string without a trailing decimal point. This
1377 * emulates the behavior of sprintf("%g"), but is sometimes much more
1378 * efficient. If gconvert() is not available, but gcvt() drops the
1379 * trailing decimal point, then gcvt() is used. If all else fails,
1380 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1381 * macro are: value, number of digits, whether trailing zeros should
1382 * be retained, and the output buffer.
1383 * Possible values are:
1384 * d_Gconvert='gconvert((x),(n),(t),(b))'
1385 * d_Gconvert='gcvt((x),(n),(b))'
1386 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1387 * The last two assume trailing zeros should not be kept.
1388 */
1389#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1390
fe749a9f
JH
1391/* HAS_GETCWD:
1392 * This symbol, if defined, indicates that the getcwd routine is
1393 * available to get the current working directory.
1394 */
1395/*#define HAS_GETCWD /**/
1396
c890dc6c
JH
1397/* HAS_GETFSSTAT:
1398 * This symbol, if defined, indicates that the fstatfs routine is
1399 * available to stat filesystems in bulk.
1400 */
1401/*#define HAS_GETFSSTAT /**/
1402
3635cd84
GS
1403/* HAS_GETGRENT:
1404 * This symbol, if defined, indicates that the getgrent routine is
1405 * available for sequential access of the group database.
08aa1457 1406 */
3635cd84 1407/*#define HAS_GETGRENT /**/
08aa1457 1408
3635cd84
GS
1409/* HAS_GETHOSTBYADDR:
1410 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1411 * available to look up hosts by their IP addresses.
be44fb0e 1412 */
3635cd84 1413#define HAS_GETHOSTBYADDR /**/
be44fb0e 1414
3635cd84
GS
1415/* HAS_GETHOSTBYNAME:
1416 * This symbol, if defined, indicates that the gethostbyname() routine is
1417 * available to look up host names in some data base or other.
08aa1457 1418 */
3635cd84 1419#define HAS_GETHOSTBYNAME /**/
08aa1457 1420
3635cd84
GS
1421/* HAS_GETHOSTENT:
1422 * This symbol, if defined, indicates that the gethostent() routine is
1423 * available to look up host names in some data base or another.
08aa1457 1424 */
3635cd84 1425/*#define HAS_GETHOSTENT /**/
08aa1457 1426
3635cd84
GS
1427/* HAS_GETHOSTNAME:
1428 * This symbol, if defined, indicates that the C program may use the
1429 * gethostname() routine to derive the host name. See also HAS_UNAME
1430 * and PHOSTNAME.
08aa1457 1431 */
3635cd84
GS
1432/* HAS_UNAME:
1433 * This symbol, if defined, indicates that the C program may use the
1434 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1435 * and PHOSTNAME.
08aa1457 1436 */
3635cd84
GS
1437/* PHOSTNAME:
1438 * This symbol, if defined, indicates the command to feed to the
1439 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1440 * and HAS_UNAME. Note that the command uses a fully qualified path,
1441 * so that it is safe even if used by a process with super-user
1442 * privileges.
1443 */
1444#define HAS_GETHOSTNAME /**/
1445#define HAS_UNAME /**/
1446#undef HAS_PHOSTNAME
1447#ifdef HAS_PHOSTNAME
1448#define PHOSTNAME "" /* How to get the host name */
1449#endif
08aa1457 1450
3635cd84
GS
1451/* HAS_GETHOST_PROTOS:
1452 * This symbol, if defined, indicates that <netdb.h> includes
1453 * prototypes for gethostent(), gethostbyname(), and
1454 * gethostbyaddr(). Otherwise, it is up to the program to guess
1455 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
fea7140c 1456 */
3635cd84 1457#define HAS_GETHOST_PROTOS /**/
fea7140c 1458
3635cd84
GS
1459/* HAS_GETMNT:
1460 * This symbol, if defined, indicates that the getmnt routine is
1461 * available to get filesystem mount info by filename.
c4d53692 1462 */
3635cd84
GS
1463/*#define HAS_GETMNT /**/
1464
1465/* HAS_GETMNTENT:
1466 * This symbol, if defined, indicates that the getmntent routine is
1467 * available to iterate through mounted file systems to get their info.
08aa1457 1468 */
3635cd84
GS
1469/*#define HAS_GETMNTENT /**/
1470
1471/* HAS_GETNETBYADDR:
1472 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1473 * available to look up networks by their IP addresses.
08aa1457 1474 */
3635cd84
GS
1475/*#define HAS_GETNETBYADDR /**/
1476
1477/* HAS_GETNETBYNAME:
1478 * This symbol, if defined, indicates that the getnetbyname() routine is
1479 * available to look up networks by their names.
08aa1457 1480 */
3635cd84 1481/*#define HAS_GETNETBYNAME /**/
08aa1457 1482
3635cd84
GS
1483/* HAS_GETNETENT:
1484 * This symbol, if defined, indicates that the getnetent() routine is
1485 * available to look up network names in some data base or another.
08aa1457 1486 */
3635cd84
GS
1487/*#define HAS_GETNETENT /**/
1488
1489/* HAS_GETNET_PROTOS:
1490 * This symbol, if defined, indicates that <netdb.h> includes
1491 * prototypes for getnetent(), getnetbyname(), and
1492 * getnetbyaddr(). Otherwise, it is up to the program to guess
1493 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
924b3ec4 1494 */
3635cd84
GS
1495/*#define HAS_GETNET_PROTOS /**/
1496
1497/* HAS_GETPROTOENT:
1498 * This symbol, if defined, indicates that the getprotoent() routine is
1499 * available to look up protocols in some data base or another.
924b3ec4 1500 */
3635cd84
GS
1501/*#define HAS_GETPROTOENT /**/
1502
1503/* HAS_GETPROTOBYNAME:
1504 * This symbol, if defined, indicates that the getprotobyname()
1505 * routine is available to look up protocols by their name.
924b3ec4 1506 */
3635cd84
GS
1507/* HAS_GETPROTOBYNUMBER:
1508 * This symbol, if defined, indicates that the getprotobynumber()
1509 * routine is available to look up protocols by their number.
924b3ec4 1510 */
3635cd84
GS
1511#define HAS_GETPROTOBYNAME /**/
1512#define HAS_GETPROTOBYNUMBER /**/
08aa1457 1513
3635cd84
GS
1514/* HAS_GETPROTO_PROTOS:
1515 * This symbol, if defined, indicates that <netdb.h> includes
1516 * prototypes for getprotoent(), getprotobyname(), and
1517 * getprotobyaddr(). Otherwise, it is up to the program to guess
1518 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
08aa1457 1519 */
3635cd84
GS
1520#define HAS_GETPROTO_PROTOS /**/
1521
1522/* HAS_GETPWENT:
1523 * This symbol, if defined, indicates that the getpwent routine is
1524 * available for sequential access of the passwd database.
1525 * If this is not available, the older getpw() function may be available.
924b3ec4 1526 */
3635cd84 1527/*#define HAS_GETPWENT /**/
08aa1457 1528
3635cd84
GS
1529/* HAS_GETSERVENT:
1530 * This symbol, if defined, indicates that the getservent() routine is
1531 * available to look up network services in some data base or another.
08aa1457 1532 */
3635cd84
GS
1533/*#define HAS_GETSERVENT /**/
1534
1535/* HAS_GETSERV_PROTOS:
1536 * This symbol, if defined, indicates that <netdb.h> includes
1537 * prototypes for getservent(), getservbyname(), and
1538 * getservbyaddr(). Otherwise, it is up to the program to guess
1539 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
924b3ec4 1540 */
3635cd84 1541#define HAS_GETSERV_PROTOS /**/
08aa1457 1542
3635cd84
GS
1543/* HAS_GETSPENT:
1544 * This symbol, if defined, indicates that the getspent system call is
1545 * available to retrieve SysV shadow password entries sequentially.
07ba5892 1546 */
3635cd84 1547/*#define HAS_GETSPENT /**/
07ba5892 1548
3635cd84
GS
1549/* HAS_GETSPNAM:
1550 * This symbol, if defined, indicates that the getspnam system call is
1551 * available to retrieve SysV shadow password entries by name.
08aa1457 1552 */
3635cd84
GS
1553/*#define HAS_GETSPNAM /**/
1554
1555/* HAS_GETSERVBYNAME:
1556 * This symbol, if defined, indicates that the getservbyname()
1557 * routine is available to look up services by their name.
08aa1457 1558 */
3635cd84
GS
1559/* HAS_GETSERVBYPORT:
1560 * This symbol, if defined, indicates that the getservbyport()
1561 * routine is available to look up services by their port.
08aa1457 1562 */
3635cd84
GS
1563#define HAS_GETSERVBYNAME /**/
1564#define HAS_GETSERVBYPORT /**/
08aa1457 1565
3635cd84
GS
1566/* HAS_GNULIBC:
1567 * This symbol, if defined, indicates to the C program that
1568 * the GNU C library is being used.
08aa1457 1569 */
3635cd84
GS
1570/*#define HAS_GNULIBC /**/
1571/* HAS_HASMNTOPT:
1572 * This symbol, if defined, indicates that the hasmntopt routine is
1573 * available to query the mount options of file systems.
924b3ec4 1574 */
3635cd84
GS
1575/*#define HAS_HASMNTOPT /**/
1576
1577/* HAS_HTONL:
1578 * This symbol, if defined, indicates that the htonl() routine (and
1579 * friends htons() ntohl() ntohs()) are available to do network
1580 * order byte swapping.
924b3ec4 1581 */
3635cd84
GS
1582/* HAS_HTONS:
1583 * This symbol, if defined, indicates that the htons() routine (and
1584 * friends htonl() ntohl() ntohs()) are available to do network
1585 * order byte swapping.
924b3ec4 1586 */
3635cd84
GS
1587/* HAS_NTOHL:
1588 * This symbol, if defined, indicates that the ntohl() routine (and
1589 * friends htonl() htons() ntohs()) are available to do network
1590 * order byte swapping.
1591 */
1592/* HAS_NTOHS:
1593 * This symbol, if defined, indicates that the ntohs() routine (and
1594 * friends htonl() htons() ntohl()) are available to do network
1595 * order byte swapping.
1596 */
1597#define HAS_HTONL /**/
1598#define HAS_HTONS /**/
1599#define HAS_NTOHL /**/
1600#define HAS_NTOHS /**/
08aa1457 1601
3635cd84
GS
1602/* HAS_ISASCII:
1603 * This manifest constant lets the C program know that isascii
1604 * is available.
07ba5892 1605 */
3635cd84 1606#define HAS_ISASCII /**/
07ba5892 1607
3635cd84
GS
1608/* HAS_LCHOWN:
1609 * This symbol, if defined, indicates that the lchown routine is
1610 * available to operate on a symbolic link (instead of following the
1611 * link).
104f9d64 1612 */
3635cd84
GS
1613/*#define HAS_LCHOWN /**/
1614
1615/* HAS_LDBL_DIG:
1616 * This symbol, if defined, indicates that this system's <float.h>
1617 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1618 * of significant digits in a long double precision number. Unlike
1619 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
104f9d64 1620 */
3635cd84
GS
1621#define HAS_LDBL_DIG /**/
1622
1623/* HAS_LONG_DOUBLE:
1624 * This symbol will be defined if the C compiler supports long
1625 * doubles.
104f9d64 1626 */
3635cd84
GS
1627/* LONG_DOUBLESIZE:
1628 * This symbol contains the size of a long double, so that the
1629 * C preprocessor can make decisions based on it. It is only
1630 * defined if the system supports long doubles.
924b3ec4 1631 */
3635cd84
GS
1632#define HAS_LONG_DOUBLE /**/
1633#ifdef HAS_LONG_DOUBLE
1634#define LONG_DOUBLESIZE 10 /**/
1635#endif
924b3ec4 1636
3635cd84
GS
1637/* HAS_LONG_LONG:
1638 * This symbol will be defined if the C compiler supports long long.
924b3ec4 1639 */
3635cd84
GS
1640/* LONGLONGSIZE:
1641 * This symbol contains the size of a long long, so that the
1642 * C preprocessor can make decisions based on it. It is only
1643 * defined if the system supports long long.
327c3667 1644 */
3635cd84
GS
1645/*#define HAS_LONG_LONG /**/
1646#ifdef HAS_LONG_LONG
1647#define LONGLONGSIZE 8 /**/
1648#endif
327c3667 1649
c890dc6c
JH
1650/* HAS_LSEEK_PROTO:
1651 * This symbol, if defined, indicates that the system provides
1652 * a prototype for the lseek() function. Otherwise, it is up
1653 * to the program to supply one. A good guess is
1654 * extern off_t lseek _((int, off_t, int));
1655 */
1656#define HAS_LSEEK_PROTO /**/
1657
3635cd84
GS
1658/* HAS_MEMCHR:
1659 * This symbol, if defined, indicates that the memchr routine is available
1660 * to locate characters within a C string.
82839a9d 1661 */
3635cd84
GS
1662#define HAS_MEMCHR /**/
1663
1664/* HAS_MSG:
1665 * This symbol, if defined, indicates that the entire msg*(2) library is
1666 * supported (IPC mechanism based on message queues).
82839a9d 1667 */
3635cd84 1668/*#define HAS_MSG /**/
82839a9d 1669
3635cd84
GS
1670/* HAS_OPEN3:
1671 * This manifest constant lets the C program know that the three
1672 * argument form of open(2) is available.
82839a9d 1673 */
3635cd84
GS
1674/*#define HAS_OPEN3 /**/
1675
1676/* OLD_PTHREAD_CREATE_JOINABLE:
1677 * This symbol, if defined, indicates how to create pthread
1678 * in joinable (aka undetached) state. NOTE: not defined
1679 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1680 * (the new version of the constant).
1681 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1682 * and __UNDETACHED.
82839a9d 1683 */
3635cd84 1684/*#define OLD_PTHREAD_CREATE_JOINABLE /**/
82839a9d 1685
3635cd84
GS
1686/* HAS_PTHREAD_YIELD:
1687 * This symbol, if defined, indicates that the pthread_yield
1688 * routine is available to yield the execution of the current
1689 * thread. sched_yield is preferable to pthread_yield.
1690 */
1691/* SCHED_YIELD:
1692 * This symbol defines the way to yield the execution of
1693 * the current thread. Known ways are sched_yield,
1694 * pthread_yield, and pthread_yield with NULL.
1695 */
1696/* HAS_SCHED_YIELD:
1697 * This symbol, if defined, indicates that the sched_yield
1698 * routine is available to yield the execution of the current
1699 * thread. sched_yield is preferable to pthread_yield.
82839a9d 1700 */
3635cd84
GS
1701/*#define HAS_PTHREAD_YIELD /**/
1702#define SCHED_YIELD /**/
1703/*#define HAS_SCHED_YIELD /**/
82839a9d 1704
3635cd84
GS
1705/* HAS_SAFE_BCOPY:
1706 * This symbol, if defined, indicates that the bcopy routine is available
1707 * to copy potentially overlapping memory blocks. Otherwise you should
1708 * probably use memmove() or memcpy(). If neither is defined, roll your
1709 * own version.
82839a9d 1710 */
3635cd84
GS
1711/*#define HAS_SAFE_BCOPY /**/
1712
1713/* HAS_SAFE_MEMCPY:
1714 * This symbol, if defined, indicates that the memcpy routine is available
1715 * to copy potentially overlapping memory blocks. Otherwise you should
1716 * probably use memmove() or memcpy(). If neither is defined, roll your
1717 * own version.
82839a9d 1718 */
3635cd84 1719/*#define HAS_SAFE_MEMCPY /**/
82839a9d 1720
3635cd84
GS
1721/* HAS_SANE_MEMCMP:
1722 * This symbol, if defined, indicates that the memcmp routine is available
1723 * and can be used to compare relative magnitudes of chars with their high
1724 * bits set. If it is not defined, roll your own version.
82839a9d 1725 */
3635cd84
GS
1726#define HAS_SANE_MEMCMP /**/
1727
1728/* HAS_SEM:
1729 * This symbol, if defined, indicates that the entire sem*(2) library is
1730 * supported.
82839a9d 1731 */
3635cd84 1732/*#define HAS_SEM /**/
82839a9d 1733
3635cd84
GS
1734/* HAS_SETGRENT:
1735 * This symbol, if defined, indicates that the setgrent routine is
1736 * available for initializing sequential access of the group database.
82839a9d 1737 */
3635cd84
GS
1738/*#define HAS_SETGRENT /**/
1739
1740/* HAS_SETGROUPS:
1741 * This symbol, if defined, indicates that the setgroups() routine is
1742 * available to set the list of process groups. If unavailable, multiple
1743 * groups are probably not supported.
82839a9d 1744 */
3635cd84 1745/*#define HAS_SETGROUPS /**/
82839a9d 1746
3635cd84
GS
1747/* HAS_SETHOSTENT:
1748 * This symbol, if defined, indicates that the sethostent() routine is
1749 * available.
82839a9d 1750 */
3635cd84 1751/*#define HAS_SETHOSTENT /**/
82839a9d 1752
3635cd84
GS
1753/* HAS_SETNETENT:
1754 * This symbol, if defined, indicates that the setnetent() routine is
1755 * available.
924b3ec4 1756 */
3635cd84 1757/*#define HAS_SETNETENT /**/
924b3ec4 1758
3635cd84
GS
1759/* HAS_SETPROTOENT:
1760 * This symbol, if defined, indicates that the setprotoent() routine is
1761 * available.
08aa1457 1762 */
3635cd84
GS
1763/*#define HAS_SETPROTOENT /**/
1764
1765/* HAS_SETPWENT:
1766 * This symbol, if defined, indicates that the setpwent routine is
1767 * available for initializing sequential access of the passwd database.
924b3ec4 1768 */
3635cd84 1769/*#define HAS_SETPWENT /**/
924b3ec4 1770
3635cd84
GS
1771/* HAS_SETSERVENT:
1772 * This symbol, if defined, indicates that the setservent() routine is
1773 * available.
e1f15930 1774 */
3635cd84 1775/*#define HAS_SETSERVENT /**/
104f9d64 1776
3635cd84
GS
1777/* HAS_SETSPENT:
1778 * This symbol, if defined, indicates that the setspent system call is
1779 * available to initialize the scan of SysV shadow password entries.
327c3667 1780 */
3635cd84 1781/*#define HAS_SETSPENT /**/
327c3667 1782
3635cd84
GS
1783/* HAS_SETVBUF:
1784 * This symbol, if defined, indicates that the setvbuf routine is
1785 * available to change buffering on an open stdio stream.
1786 * to a line-buffered mode.
08aa1457 1787 */
3635cd84 1788#define HAS_SETVBUF /**/
0cd52aa3 1789
3635cd84
GS
1790/* USE_SFIO:
1791 * This symbol, if defined, indicates that sfio should
1792 * be used.
327c3667 1793 */
3635cd84 1794/*#define USE_SFIO /**/
327c3667 1795
3635cd84
GS
1796/* HAS_SHM:
1797 * This symbol, if defined, indicates that the entire shm*(2) library is
1798 * supported.
0cd52aa3 1799 */
3635cd84 1800/*#define HAS_SHM /**/
0cd52aa3 1801
3635cd84
GS
1802/* HAS_SIGACTION:
1803 * This symbol, if defined, indicates that Vr4's sigaction() routine
1804 * is available.
0cd52aa3 1805 */
3635cd84 1806/*#define HAS_SIGACTION /**/
0cd52aa3 1807
3635cd84
GS
1808/* HAS_SIGSETJMP:
1809 * This variable indicates to the C program that the sigsetjmp()
1810 * routine is available to save the calling process's registers
1811 * and stack environment for later use by siglongjmp(), and
1812 * to optionally save the process's signal mask. See
1813 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
0cd52aa3 1814 */
3635cd84
GS
1815/* Sigjmp_buf:
1816 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
327c3667 1817 */
3635cd84
GS
1818/* Sigsetjmp:
1819 * This macro is used in the same way as sigsetjmp(), but will invoke
1820 * traditional setjmp() if sigsetjmp isn't available.
1821 * See HAS_SIGSETJMP.
0cd52aa3 1822 */
3635cd84
GS
1823/* Siglongjmp:
1824 * This macro is used in the same way as siglongjmp(), but will invoke
1825 * traditional longjmp() if siglongjmp isn't available.
1826 * See HAS_SIGSETJMP.
327c3667 1827 */
3635cd84
GS
1828/*#define HAS_SIGSETJMP /**/
1829#ifdef HAS_SIGSETJMP
1830#define Sigjmp_buf sigjmp_buf
1831#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1832#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1833#else
1834#define Sigjmp_buf jmp_buf
1835#define Sigsetjmp(buf,save_mask) setjmp((buf))
1836#define Siglongjmp(buf,retval) longjmp((buf),(retval))
1837#endif
327c3667 1838
3635cd84
GS
1839/* HAS_SOCKET:
1840 * This symbol, if defined, indicates that the BSD socket interface is
1841 * supported.
07ba5892 1842 */
3635cd84
GS
1843/* HAS_SOCKETPAIR:
1844 * This symbol, if defined, indicates that the BSD socketpair() call is
1845 * supported.
07ba5892 1846 */
3635cd84
GS
1847/* HAS_MSG_CTRUNC:
1848 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1849 * Checking just with #ifdef might not be enough because this symbol
1850 * has been known to be an enum.
07ba5892 1851 */
3635cd84
GS
1852/* HAS_MSG_DONTROUTE:
1853 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1854 * Checking just with #ifdef might not be enough because this symbol
1855 * has been known to be an enum.
9423c6fc 1856 */
3635cd84
GS
1857/* HAS_MSG_OOB:
1858 * This symbol, if defined, indicates that the MSG_OOB is supported.
1859 * Checking just with #ifdef might not be enough because this symbol
1860 * has been known to be an enum.
9423c6fc 1861 */
3635cd84
GS
1862/* HAS_MSG_PEEK:
1863 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1864 * Checking just with #ifdef might not be enough because this symbol
1865 * has been known to be an enum.
9423c6fc 1866 */
3635cd84
GS
1867/* HAS_MSG_PROXY:
1868 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1869 * Checking just with #ifdef might not be enough because this symbol
1870 * has been known to be an enum.
e1f15930 1871 */
3635cd84
GS
1872/* HAS_SCM_RIGHTS:
1873 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1874 * Checking just with #ifdef might not be enough because this symbol
1875 * has been known to be an enum.
1876 */
1877#define HAS_SOCKET /**/
1878/*#define HAS_SOCKETPAIR /**/
1879/*#define HAS_MSG_CTRUNC /**/
1880/*#define HAS_MSG_DONTROUTE /**/
1881/*#define HAS_MSG_OOB /**/
1882/*#define HAS_MSG_PEEK /**/
1883/*#define HAS_MSG_PROXY /**/
1884/*#define HAS_SCM_RIGHTS /**/
9423c6fc 1885
c890dc6c 1886/* Sock_size_t:
10cc9d2a
JH
1887 * This symbol holds the type used for the size argument of
1888 * various socket calls (just the base type, not the pointer-to).
c890dc6c 1889 */
10cc9d2a 1890#define Sock_size_t int /**/
c890dc6c 1891
3635cd84
GS
1892/* HAS_SQRTL:
1893 * This symbol, if defined, indicates that the sqrtl routine is
1894 * available to do long double square roots.
07ba5892 1895 */
3635cd84 1896/*#define HAS_SQRTL /**/
07ba5892 1897
3635cd84
GS
1898/* USE_STAT_BLOCKS:
1899 * This symbol is defined if this system has a stat structure declaring
1900 * st_blksize and st_blocks.
07ba5892 1901 */
3635cd84
GS
1902#ifndef USE_STAT_BLOCKS
1903/*#define USE_STAT_BLOCKS /**/
1904#endif
07ba5892 1905
3635cd84
GS
1906/* HAS_STRUCT_STATFS_F_FLAGS:
1907 * This symbol, if defined, indicates that the struct statfs
1908 * does have the f_flags member containing the mount flags of
1909 * the filesystem containing the file.
1910 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
1911 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
1912 * have statfs() and struct statfs, they have ustat() and getmnt()
1913 * with struct ustat and struct fs_data.
0cd52aa3 1914 */
3635cd84 1915/*#define HAS_STRUCT_STATFS_F_FLAGS /**/
0cd52aa3 1916
3635cd84
GS
1917/* HAS_STRUCT_STATFS:
1918 * This symbol, if defined, indicates that the struct statfs
1919 * to do statfs() is supported.
0cd52aa3 1920 */
3635cd84 1921/*#define HAS_STRUCT_STATFS /**/
0cd52aa3 1922
3635cd84
GS
1923/* HAS_FSTATVFS:
1924 * This symbol, if defined, indicates that the fstatvfs routine is
1925 * available to stat filesystems by file descriptors.
07ba5892 1926 */
3635cd84 1927/*#define HAS_FSTATVFS /**/
52b0428e 1928
3635cd84
GS
1929/* USE_STDIO_PTR:
1930 * This symbol is defined if the _ptr and _cnt fields (or similar)
1931 * of the stdio FILE structure can be used to access the stdio buffer
1932 * for a file handle. If this is defined, then the FILE_ptr(fp)
1933 * and FILE_cnt(fp) macros will also be defined and should be used
1934 * to access these fields.
08aa1457 1935 */
3635cd84
GS
1936/* FILE_ptr:
1937 * This macro is used to access the _ptr field (or equivalent) of the
1938 * FILE structure pointed to by its argument. This macro will always be
1939 * defined if USE_STDIO_PTR is defined.
9036c72f 1940 */
3635cd84
GS
1941/* STDIO_PTR_LVALUE:
1942 * This symbol is defined if the FILE_ptr macro can be used as an
1943 * lvalue.
be44fb0e 1944 */
3635cd84
GS
1945/* FILE_cnt:
1946 * This macro is used to access the _cnt field (or equivalent) of the
1947 * FILE structure pointed to by its argument. This macro will always be
1948 * defined if USE_STDIO_PTR is defined.
be44fb0e 1949 */
3635cd84
GS
1950/* STDIO_CNT_LVALUE:
1951 * This symbol is defined if the FILE_cnt macro can be used as an
1952 * lvalue.
08aa1457 1953 */
3635cd84
GS
1954#define USE_STDIO_PTR /**/
1955#ifdef USE_STDIO_PTR
1956#define FILE_ptr(fp) ((fp)->_ptr)
1957#define STDIO_PTR_LVALUE /**/
1958#define FILE_cnt(fp) ((fp)->_cnt)
1959#define STDIO_CNT_LVALUE /**/
9036c72f 1960#endif
08aa1457 1961
3635cd84
GS
1962/* USE_STDIO_BASE:
1963 * This symbol is defined if the _base field (or similar) of the
1964 * stdio FILE structure can be used to access the stdio buffer for
1965 * a file handle. If this is defined, then the FILE_base(fp) macro
1966 * will also be defined and should be used to access this field.
1967 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1968 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1969 * will never be defined unless USE_STDIO_PTR is.
82839a9d 1970 */
3635cd84
GS
1971/* FILE_base:
1972 * This macro is used to access the _base field (or equivalent) of the
1973 * FILE structure pointed to by its argument. This macro will always be
1974 * defined if USE_STDIO_BASE is defined.
9423c6fc 1975 */
3635cd84
GS
1976/* FILE_bufsiz:
1977 * This macro is used to determine the number of bytes in the I/O
1978 * buffer pointed to by _base field (or equivalent) of the FILE
1979 * structure pointed to its argument. This macro will always be defined
1980 * if USE_STDIO_BASE is defined.
bbda9c9d 1981 */
3635cd84
GS
1982#define USE_STDIO_BASE /**/
1983#ifdef USE_STDIO_BASE
1984#define FILE_base(fp) ((fp)->_base)
1985#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1986#endif
bbda9c9d 1987
3635cd84
GS
1988/* HAS_STRERROR:
1989 * This symbol, if defined, indicates that the strerror routine is
1990 * available to translate error numbers to strings. See the writeup
1991 * of Strerror() in this file before you try to define your own.
e8ee3774 1992 */
3635cd84
GS
1993/* HAS_SYS_ERRLIST:
1994 * This symbol, if defined, indicates that the sys_errlist array is
1995 * available to translate error numbers to strings. The extern int
1996 * sys_nerr gives the size of that table.
82839a9d 1997 */
3635cd84
GS
1998/* Strerror:
1999 * This preprocessor symbol is defined as a macro if strerror() is
2000 * not available to translate error numbers to strings but sys_errlist[]
2001 * array is there.
924b3ec4 2002 */
3635cd84
GS
2003#define HAS_STRERROR /**/
2004#define HAS_SYS_ERRLIST /**/
2005#define Strerror(e) strerror(e)
924b3ec4 2006
3635cd84
GS
2007/* HAS_STRTOLD:
2008 * This symbol, if defined, indicates that the strtold routine is
2009 * available to convert strings to long doubles.
c4d53692 2010 */
3635cd84 2011/*#define HAS_STRTOLD /**/
52b0428e 2012
3635cd84
GS
2013/* HAS_STRTOLL:
2014 * This symbol, if defined, indicates that the strtoll routine is
2015 * available to convert strings to long longs.
c4d53692 2016 */
3635cd84 2017/*#define HAS_STRTOLL /**/
52b0428e 2018
3635cd84
GS
2019/* HAS_STRTOULL:
2020 * This symbol, if defined, indicates that the strtoull routine is
2021 * available to convert strings to unsigned long longs.
52b0428e 2022 */
3635cd84 2023/*#define HAS_STRTOULL /**/
c4d53692 2024
3635cd84
GS
2025/* HAS_STRTOUQ:
2026 * This symbol, if defined, indicates that the strtouq routine is
2027 * available to convert strings to unsigned long longs (quads).
c4d53692 2028 */
3635cd84 2029/*#define HAS_STRTOUQ /**/
c4d53692
GS
2030
2031/* HAS_TELLDIR_PROTO:
2032 * This symbol, if defined, indicates that the system provides
2033 * a prototype for the telldir() function. Otherwise, it is up
2034 * to the program to supply one. A good guess is
82839a9d 2035 * extern long telldir _((DIR*));
c4d53692
GS
2036 */
2037#define HAS_TELLDIR_PROTO /**/
2038
3635cd84
GS
2039/* Time_t:
2040 * This symbol holds the type returned by time(). It can be long,
2041 * or time_t on BSD sites (in which case <sys/types.h> should be
2042 * included).
2043 */
2044#define Time_t time_t /* Time type */
2045
2046/* HAS_TIMES:
2047 * This symbol, if defined, indicates that the times() routine exists.
2048 * Note that this became obsolete on some systems (SUNOS), which now
2049 * use getrusage(). It may be necessary to include <sys/times.h>.
2050 */
2051#define HAS_TIMES /**/
2052
2053/* HAS_UNION_SEMUN:
2054 * This symbol, if defined, indicates that the union semun is
2055 * defined by including <sys/sem.h>. If not, the user code
2056 * probably needs to define it as:
2057 * union semun {
2058 * int val;
2059 * struct semid_ds *buf;
2060 * unsigned short *array;
2061 * }
2062 */
2063/* USE_SEMCTL_SEMUN:
2064 * This symbol, if defined, indicates that union semun is
2065 * used for semctl IPC_STAT.
2066 */
2067/* USE_SEMCTL_SEMID_DS:
2068 * This symbol, if defined, indicates that struct semid_ds * is
2069 * used for semctl IPC_STAT.
2070 */
2071#define HAS_UNION_SEMUN /**/
2072/*#define USE_SEMCTL_SEMUN /**/
2073/*#define USE_SEMCTL_SEMID_DS /**/
2074
52b0428e
GS
2075/* HAS_USTAT:
2076 * This symbol, if defined, indicates that the ustat system call is
2077 * available to query file system statistics by dev_t.
2078 */
2079/*#define HAS_USTAT /**/
2080
3635cd84
GS
2081/* HAS_VFORK:
2082 * This symbol, if defined, indicates that vfork() exists.
2083 */
2084/*#define HAS_VFORK /**/
2085
2086/* Signal_t:
2087 * This symbol's value is either "void" or "int", corresponding to the
2088 * appropriate return type of a signal handler. Thus, you can declare
2089 * a signal handler using "Signal_t (*handler)()", and define the
2090 * handler using "Signal_t handler(sig)".
2091 */
2092#define Signal_t void /* Signal handler's return type */
2093
2094/* HAS_VPRINTF:
2095 * This symbol, if defined, indicates that the vprintf routine is available
2096 * to printf with a pointer to an argument list. If unavailable, you
2097 * may need to write your own, probably in terms of _doprnt().
2098 */
2099/* USE_CHAR_VSPRINTF:
2100 * This symbol is defined if this system has vsprintf() returning type
2101 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2102 * is up to the package author to declare vsprintf correctly based on the
2103 * symbol.
2104 */
2105#define HAS_VPRINTF /**/
2106/*#define USE_CHAR_VSPRINTF /**/
2107
924b3ec4
GS
2108/* USE_DYNAMIC_LOADING:
2109 * This symbol, if defined, indicates that dynamic loading of
2110 * some sort is available.
2111 */
2112#define USE_DYNAMIC_LOADING /**/
2113
3635cd84
GS
2114/* DOUBLESIZE:
2115 * This symbol contains the size of a double, so that the C preprocessor
2116 * can make decisions based on it.
2117 */
2118#define DOUBLESIZE 8 /**/
2119
2120/* EBCDIC:
2121 * This symbol, if defined, indicates that this system uses
2122 * EBCDIC encoding.
2123 */
2124/*#define EBCDIC /**/
2125
9423c6fc
GS
2126/* FFLUSH_NULL:
2127 * This symbol, if defined, tells that fflush(NULL) does flush
2128 * all pending stdio output.
2129 */
2130/* FFLUSH_ALL:
2131 * This symbol, if defined, tells that to flush
2132 * all pending stdio output one must loop through all
2133 * the stdio file handles stored in an array and fflush them.
2134 * Note that if fflushNULL is defined, fflushall will not
2135 * even be probed for and will be left undefined.
2136 */
2137#define FFLUSH_NULL /**/
2138/*#define FFLUSH_ALL /**/
2139
3635cd84
GS
2140/* Fpos_t:
2141 * This symbol holds the type used to declare file positions in libc.
2142 * It can be fpos_t, long, uint, etc... It may be necessary to include
2143 * <sys/types.h> to get any typedef'ed information.
2144 */
2145#define Fpos_t fpos_t /* File position type */
2146
2147/* Gid_t_f:
2148 * This symbol defines the format string used for printing a Gid_t.
2149 */
2150#define Gid_t_f "ld" /**/
2151
2152/* Gid_t_size:
2153 * This symbol holds the size of a Gid_t in bytes.
2154 */
2155#define Gid_t_size 4 /* GID size */
2156
2157/* Gid_t:
2158 * This symbol holds the return type of getgid() and the type of
2159 * argument to setrgid() and related functions. Typically,
2160 * it is the type of group ids in the kernel. It can be int, ushort,
2161 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2162 * any typedef'ed information.
2163 */
2164#define Gid_t gid_t /* Type for getgid(), etc... */
2165
2166/* Groups_t:
2167 * This symbol holds the type used for the second argument to
2168 * getgroups() and setgropus(). Usually, this is the same as
2169 * gidtype (gid_t) , but sometimes it isn't.
2170 * It can be int, ushort, uid_t, etc...
2171 * It may be necessary to include <sys/types.h> to get any
2172 * typedef'ed information. This is only required if you have
2173 * getgroups() or setgropus()..
2174 */
2175#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2176#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2177#endif
2178
924b3ec4
GS
2179/* DB_Prefix_t:
2180 * This symbol contains the type of the prefix structure element
2181 * in the <db.h> header file. In older versions of DB, it was
2182 * int, while in newer ones it is u_int32_t.
2183 */
2184/* DB_Hash_t:
2185 * This symbol contains the type of the prefix structure element
2186 * in the <db.h> header file. In older versions of DB, it was
2187 * int, while in newer ones it is size_t.
2188 */
2189#define DB_Hash_t int /**/
2190#define DB_Prefix_t int /**/
2191
3635cd84
GS
2192/* I_GRP:
2193 * This symbol, if defined, indicates to the C program that it should
2194 * include <grp.h>.
2195 */
2196/* GRPASSWD:
2197 * This symbol, if defined, indicates to the C program that struct group
2198 * in <grp.h> contains gr_passwd.
2199 */
2200/*#define I_GRP /**/
2201/*#define GRPASSWD /**/
2202
327c3667
GS
2203/* I_INTTYPES:
2204 * This symbol, if defined, indicates to the C program that it should
2205 * include <inttypes.h>.
2206 */
327c3667 2207/*#define I_INTTYPES /**/
327c3667 2208
3635cd84
GS
2209/* I_MACH_CTHREADS:
2210 * This symbol, if defined, indicates to the C program that it should
2211 * include <mach/cthreads.h>.
2212 */
2213/*#define I_MACH_CTHREADS /**/
2214
c4d53692
GS
2215/* I_MNTENT:
2216 * This symbol, if defined, indicates that <mntent.h> exists and
2217 * should be included.
2218 */
2219/*#define I_MNTENT /**/
2220
3635cd84
GS
2221/* I_NETDB:
2222 * This symbol, if defined, indicates that <netdb.h> exists and
2223 * should be included.
2224 */
2225/*#define I_NETDB /**/
2226
9423c6fc
GS
2227/* I_NETINET_TCP:
2228 * This symbol, if defined, indicates to the C program that it should
2229 * include <netinet/tcp.h>.
2230 */
2231/*#define I_NETINET_TCP /**/
2232
c4d53692
GS
2233/* I_POLL:
2234 * This symbol, if defined, indicates that <poll.h> exists and
2235 * should be included.
2236 */
2237/*#define I_POLL /**/
2238
3635cd84
GS
2239/* I_PTHREAD:
2240 * This symbol, if defined, indicates to the C program that it should
2241 * include <pthread.h>.
2242 */
2243/*#define I_PTHREAD /**/
2244
2245/* I_PWD:
2246 * This symbol, if defined, indicates to the C program that it should
2247 * include <pwd.h>.
2248 */
2249/* PWQUOTA:
2250 * This symbol, if defined, indicates to the C program that struct passwd
2251 * contains pw_quota.
2252 */
2253/* PWAGE:
2254 * This symbol, if defined, indicates to the C program that struct passwd
2255 * contains pw_age.
2256 */
2257/* PWCHANGE:
2258 * This symbol, if defined, indicates to the C program that struct passwd
2259 * contains pw_change.
2260 */
2261/* PWCLASS:
2262 * This symbol, if defined, indicates to the C program that struct passwd
2263 * contains pw_class.
2264 */
2265/* PWEXPIRE:
2266 * This symbol, if defined, indicates to the C program that struct passwd
2267 * contains pw_expire.
2268 */
2269/* PWCOMMENT:
2270 * This symbol, if defined, indicates to the C program that struct passwd
2271 * contains pw_comment.
2272 */
2273/* PWGECOS:
2274 * This symbol, if defined, indicates to the C program that struct passwd
2275 * contains pw_gecos.
2276 */
2277/* PWPASSWD:
2278 * This symbol, if defined, indicates to the C program that struct passwd
2279 * contains pw_passwd.
2280 */
2281/*#define I_PWD /**/
2282/*#define PWQUOTA /**/
2283/*#define PWAGE /**/
2284/*#define PWCHANGE /**/
2285/*#define PWCLASS /**/
2286/*#define PWEXPIRE /**/
2287/*#define PWCOMMENT /**/
2288/*#define PWGECOS /**/
2289/*#define PWPASSWD /**/
2290
82839a9d
GS
2291/* I_SHADOW:
2292 * This symbol, if defined, indicates that <shadow.h> exists and
2293 * should be included.
2294 */
2295/*#define I_SHADOW /**/
2296
2297/* I_SOCKS:
2298 * This symbol, if defined, indicates that <socks.h> exists and
2299 * should be included.
2300 */
2301/*#define I_SOCKS /**/
2302
c4d53692
GS
2303/* I_SYS_MOUNT:
2304 * This symbol, if defined, indicates that <sys/mount.h> exists and
2305 * should be included.
2306 */
2307/*#define I_SYS_MOUNT /**/
2308
52b0428e
GS
2309/* I_SYS_STATFS:
2310 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2311 */
2312/*#define I_SYS_STATFS /**/
2313
c4d53692
GS
2314/* I_SYS_STATVFS:
2315 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2316 * should be included.
2317 */
2318/*#define I_SYS_STATVFS /**/
2319
3635cd84
GS
2320/* I_SYSUIO:
2321 * This symbol, if defined, indicates that <sys/uio.h> exists and
2322 * should be included.
2323 */
2324/*#define I_SYSUIO /**/
2325
52b0428e
GS
2326/* I_SYS_VFS:
2327 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2328 * should be included.
2329 */
2330/*#define I_SYS_VFS /**/
2331
3635cd84
GS
2332/* I_TIME:
2333 * This symbol, if defined, indicates to the C program that it should
2334 * include <time.h>.
2335 */
2336/* I_SYS_TIME:
2337 * This symbol, if defined, indicates to the C program that it should
2338 * include <sys/time.h>.
2339 */
2340/* I_SYS_TIME_KERNEL:
2341 * This symbol, if defined, indicates to the C program that it should
2342 * include <sys/time.h> with KERNEL defined.
2343 */
2344#define I_TIME /**/
2345/*#define I_SYS_TIME /**/
2346/*#define I_SYS_TIME_KERNEL /**/
2347
52b0428e
GS
2348/* I_USTAT:
2349 * This symbol, if defined, indicates that <ustat.h> exists and
2350 * should be included.
2351 */
2352/*#define I_USTAT /**/
2353
3635cd84
GS
2354/* PERL_INC_VERSION_LIST:
2355 * This variable specifies the list of subdirectories in over
2356 * which perl.c:incpush() and lib/lib.pm will automatically
2357 * search when adding directories to @INC, in a format suitable
2358 * for a C initialization string. See the inc_version_list entry
2359 * in Porting/Glossary for more details.
2360 */
1761cee5 2361#define PERL_INC_VERSION_LIST 0 /**/
3635cd84 2362
e8ee3774
GS
2363/* HAS_OFF64_T:
2364 * This symbol will be defined if the C compiler supports off64_t.
327c3667 2365 */
e8ee3774
GS
2366/* HAS_FPOS64_T:
2367 * This symbol will be defined if the C compiler supports fpos64_t.
327c3667 2368 */
e8ee3774
GS
2369/*#define HAS_OFF64_T /**/
2370/*#define HAS_FPOS64_T /**/
2371
2372/* PERL_PRIfldbl:
2373 * This symbol, if defined, contains the string used by stdio to
2374 * format long doubles (format 'f') for output.
327c3667 2375 */
e8ee3774
GS
2376/* PERL_PRIgldbl:
2377 * This symbol, if defined, contains the string used by stdio to
2378 * format long doubles (format 'g') for output.
327c3667 2379 */
e1f15930
GS
2380/*#define PERL_PRIfldbl "f" /**/
2381/*#define PERL_PRIgldbl "g" /**/
e8ee3774 2382
3635cd84
GS
2383/* Off_t:
2384 * This symbol holds the type used to declare offsets in the kernel.
2385 * It can be int, long, off_t, etc... It may be necessary to include
2386 * <sys/types.h> to get any typedef'ed information.
2387 */
2388/* LSEEKSIZE:
2389 * This symbol holds the number of bytes used by the Off_t.
2390 */
2391/* Off_t_size:
2392 * This symbol holds the number of bytes used by the Off_t.
2393 */
2394#define Off_t off_t /* <offset> type */
2395#define LSEEKSIZE 4 /* <offset> size */
2396#define Off_t_size 4 /* <offset> size */
2397
2398/* Free_t:
2399 * This variable contains the return type of free(). It is usually
2400 * void, but occasionally int.
2401 */
2402/* Malloc_t:
2403 * This symbol is the type of pointer returned by malloc and realloc.
2404 */
2405#define Malloc_t void * /**/
2406#define Free_t void /**/
2407
2408/* MYMALLOC:
2409 * This symbol, if defined, indicates that we're using our own malloc.
2410 */
2411/*#define MYMALLOC /**/
2412
2413/* Mode_t:
2414 * This symbol holds the type used to declare file modes
2415 * for systems calls. It is usually mode_t, but may be
2416 * int or unsigned short. It may be necessary to include <sys/types.h>
2417 * to get any typedef'ed information.
2418 */
2419#define Mode_t mode_t /* file mode parameter for system calls */
2420
2421/* VAL_O_NONBLOCK:
2422 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2423 * non-blocking I/O for the file descriptor. Note that there is no way
2424 * back, i.e. you cannot turn it blocking again this way. If you wish to
2425 * alternatively switch between blocking and non-blocking, use the
2426 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2427 */
2428/* VAL_EAGAIN:
2429 * This symbol holds the errno error code set by read() when no data was
2430 * present on the non-blocking file descriptor.
2431 */
2432/* RD_NODATA:
2433 * This symbol holds the return code from read() when no data is present
2434 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2435 * not defined, then you can't distinguish between no data and EOF by
2436 * issuing a read(). You'll have to find another way to tell for sure!
2437 */
2438/* EOF_NONBLOCK:
2439 * This symbol, if defined, indicates to the C program that a read() on
2440 * a non-blocking file descriptor will return 0 on EOF, and not the value
2441 * held in RD_NODATA (-1 usually, in that case!).
2442 */
2443#define VAL_O_NONBLOCK O_NONBLOCK
2444#define VAL_EAGAIN EAGAIN
2445#define RD_NODATA -1
2446#define EOF_NONBLOCK
2447
2448/* Netdb_host_t:
2449 * This symbol holds the type used for the 1st argument
2450 * to gethostbyaddr().
2451 */
2452/* Netdb_hlen_t:
2453 * This symbol holds the type used for the 2nd argument
2454 * to gethostbyaddr().
2455 */
2456/* Netdb_name_t:
2457 * This symbol holds the type used for the argument to
2458 * gethostbyname().
2459 */
2460/* Netdb_net_t:
2461 * This symbol holds the type used for the 1st argument to
2462 * getnetbyaddr().
2463 */
2464#define Netdb_host_t char * /**/
2465#define Netdb_hlen_t int /**/
2466#define Netdb_name_t char * /**/
2467#define Netdb_net_t long /**/
2468
539a3d6c
GS
2469/* IVTYPE:
2470 * This symbol defines the C type used for Perl's IV.
327c3667 2471 */
539a3d6c
GS
2472/* UVTYPE:
2473 * This symbol defines the C type used for Perl's UV.
327c3667 2474 */
539a3d6c
GS
2475/* I8TYPE:
2476 * This symbol defines the C type used for Perl's I8.
327c3667 2477 */
539a3d6c
GS
2478/* U8TYPE:
2479 * This symbol defines the C type used for Perl's U8.
2480 */
2481/* I16TYPE:
2482 * This symbol defines the C type used for Perl's I16.
2483 */
2484/* U16TYPE:
2485 * This symbol defines the C type used for Perl's U16.
2486 */
2487/* I32TYPE:
2488 * This symbol defines the C type used for Perl's I32.
2489 */
2490/* U32TYPE:
2491 * This symbol defines the C type used for Perl's U32.
2492 */
2493/* I64TYPE:
2494 * This symbol defines the C type used for Perl's I64.
2495 */
2496/* U64TYPE:
2497 * This symbol defines the C type used for Perl's U64.
2498 */
2499/* NVTYPE:
2500 * This symbol defines the C type used for Perl's NV.
2501 */
2502/* IVSIZE:
2503 * This symbol contains the sizeof(IV).
2504 */
2505/* UVSIZE:
2506 * This symbol contains the sizeof(UV).
2507 */
2508/* I8SIZE:
2509 * This symbol contains the sizeof(I8).
2510 */
2511/* U8SIZE:
2512 * This symbol contains the sizeof(U8).
2513 */
2514/* I16SIZE:
2515 * This symbol contains the sizeof(I16).
2516 */
2517/* U16SIZE:
2518 * This symbol contains the sizeof(U16).
2519 */
2520/* I32SIZE:
2521 * This symbol contains the sizeof(I32).
2522 */
2523/* U32SIZE:
2524 * This symbol contains the sizeof(U32).
327c3667 2525 */
539a3d6c
GS
2526/* I64SIZE:
2527 * This symbol contains the sizeof(I64).
2528 */
2529/* U64SIZE:
2530 * This symbol contains the sizeof(U64).
2531 */
539a3d6c
GS
2532#define IVTYPE long /**/
2533#define UVTYPE unsigned long /**/
2534#define I8TYPE char /**/
2535#define U8TYPE unsigned char /**/
2536#define I16TYPE short /**/
2537#define U16TYPE unsigned short /**/
2538#define I32TYPE long /**/
2539#define U32TYPE unsigned long /**/
2540#ifdef HAS_QUAD
2541#define I64TYPE __int64 /**/
2542#define U64TYPE unsigned __int64 /**/
2543#endif
2544#define NVTYPE double /**/
2545#define IVSIZE 4 /**/
2546#define UVSIZE 4 /**/
2547#define I8SIZE 1 /**/
2548#define U8SIZE 1 /**/
2549#define I16SIZE 2 /**/
2550#define U16SIZE 2 /**/
2551#define I32SIZE 4 /**/
2552#define U32SIZE 4 /**/
2553#ifdef HAS_QUAD
2554#define I64SIZE 8 /**/
2555#define U64SIZE 8 /**/
2556#endif
539a3d6c
GS
2557
2558/* IVdf:
2559 * This symbol defines the format string used for printing a Perl IV
2560 * as a signed decimal integer.
2561 */
2562/* UVuf:
2563 * This symbol defines the format string used for printing a Perl UV
2564 * as an unsigned decimal integer.
2565 */
2566/* UVof:
2567 * This symbol defines the format string used for printing a Perl UV
2568 * as an unsigned octal integer.
2569 */
2570/* UVxf:
2571 * This symbol defines the format string used for printing a Perl UV
2572 * as an unsigned hexadecimal integer.
2573 */
2574#define IVdf "ld" /**/
2575#define UVuf "lu" /**/
2576#define UVof "lo" /**/
2577#define UVxf "lx" /**/
327c3667 2578
3635cd84
GS
2579/* Pid_t:
2580 * This symbol holds the type used to declare process ids in the kernel.
2581 * It can be int, uint, pid_t, etc... It may be necessary to include
2582 * <sys/types.h> to get any typedef'ed information.
2583 */
2584#define Pid_t int /* PID type */
2585
2586/* PRIVLIB:
2587 * This symbol contains the name of the private library for this package.
2588 * The library is private in the sense that it needn't be in anyone's
2589 * execution path, but it should be accessible by the world. The program
2590 * should be prepared to do ~ expansion.
2591 */
2592/* PRIVLIB_EXP:
2593 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2594 * in programs that are not prepared to deal with ~ expansion at run-time.
2595 */
93342173
GS
2596#define PRIVLIB "c:\\perl\\5.5.670\\lib" /**/
2597#define PRIVLIB_EXP (win32_get_privlib("5.5.670")) /**/
3635cd84
GS
2598
2599/* PTRSIZE:
2600 * This symbol contains the size of a pointer, so that the C preprocessor
2601 * can make decisions based on it. It will be sizeof(void *) if
2602 * the compiler supports (void *); otherwise it will be
2603 * sizeof(char *).
2604 */
2605#define PTRSIZE 4 /**/
2606
2607/* Drand01:
2608 * This macro is to be used to generate uniformly distributed
2609 * random numbers over the range [0., 1.[. You may have to supply
2610 * an 'extern double drand48();' in your program since SunOS 4.1.3
2611 * doesn't provide you with anything relevant in it's headers.
2612 * See HAS_DRAND48_PROTO.
2613 */
2614/* Rand_seed_t:
2615 * This symbol defines the type of the argument of the
2616 * random seed function.
2617 */
2618/* seedDrand01:
2619 * This symbol defines the macro to be used in seeding the
2620 * random number generator (see Drand01).
2621 */
2622/* RANDBITS:
2623 * This symbol indicates how many bits are produced by the
2624 * function used to generate normalized random numbers.
2625 * Values include 15, 16, 31, and 48.
2626 */
2627#define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
2628#define Rand_seed_t unsigned /**/
2629#define seedDrand01(x) srand((Rand_seed_t)x) /**/
2630#define RANDBITS 15 /**/
2631
327c3667
GS
2632/* SELECT_MIN_BITS:
2633 * This symbol holds the minimum number of bits operated by select.
2634 * That is, if you do select(n, ...), how many bits at least will be
2635 * cleared in the masks if some activity is detected. Usually this
2636 * is either n or 32*ceil(n/32), especially many little-endians do
2637 * the latter. This is only useful if you have select(), naturally.
2638 */
3635cd84
GS
2639#define SELECT_MIN_BITS 32 /**/
2640
2641/* Select_fd_set_t:
2642 * This symbol holds the type used for the 2nd, 3rd, and 4th
2643 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2644 * is defined, and 'int *' otherwise. This is only useful if you
2645 * have select(), of course.
2646 */
2647#define Select_fd_set_t Perl_fd_set * /**/
2648
2649/* SIG_NAME:
2650 * This symbol contains a list of signal names in order of
2651 * signal number. This is intended
2652 * to be used as a static array initialization, like this:
2653 * char *sig_name[] = { SIG_NAME };
2654 * The signals in the list are separated with commas, and each signal
2655 * is surrounded by double quotes. There is no leading SIG in the signal
2656 * name, i.e. SIGQUIT is known as "QUIT".
2657 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2658 * etc., where nn is the actual signal number (e.g. NUM37).
2659 * The signal number for sig_name[i] is stored in sig_num[i].
2660 * The last element is 0 to terminate the list with a NULL. This
2661 * corresponds to the 0 at the end of the sig_num list.
2662 */
2663/* SIG_NUM:
2664 * This symbol contains a list of signal numbers, in the same order as the
2665 * SIG_NAME list. It is suitable for static array initialization, as in:
2666 * int sig_num[] = { SIG_NUM };
2667 * The signals in the list are separated with commas, and the indices
2668 * within that list and the SIG_NAME list match, so it's easy to compute
2669 * the signal name from a number or vice versa at the price of a small
2670 * dynamic linear lookup.
2671 * Duplicates are allowed, but are moved to the end of the list.
2672 * The signal number corresponding to sig_name[i] is sig_number[i].
2673 * if (i < NSIG) then sig_number[i] == i.
2674 * The last element is 0, corresponding to the 0 at the end of
2675 * the sig_name list.
2676 */
2677#define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
2678#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
2679
2680/* SITEARCH:
2681 * This symbol contains the name of the private library for this package.
2682 * The library is private in the sense that it needn't be in anyone's
2683 * execution path, but it should be accessible by the world. The program
2684 * should be prepared to do ~ expansion.
2685 * The standard distribution will put nothing in this directory.
2686 * After perl has been installed, users may install their own local
2687 * architecture-dependent modules in this directory with
2688 * MakeMaker Makefile.PL
2689 * or equivalent. See INSTALL for details.
2690 */
2691/* SITEARCH_EXP:
2692 * This symbol contains the ~name expanded version of SITEARCH, to be used
2693 * in programs that are not prepared to deal with ~ expansion at run-time.
2694 */
93342173 2695#define SITEARCH "c:\\perl\\site\\5.5.670\\lib\\MSWin32-x86" /**/
3635cd84
GS
2696/*#define SITEARCH_EXP "" /**/
2697
2698/* SITELIB:
2699 * This symbol contains the name of the private library for this package.
2700 * The library is private in the sense that it needn't be in anyone's
2701 * execution path, but it should be accessible by the world. The program
2702 * should be prepared to do ~ expansion.
2703 * The standard distribution will put nothing in this directory.
2704 * After perl has been installed, users may install their own local
2705 * architecture-independent modules in this directory with
2706 * MakeMaker Makefile.PL
2707 * or equivalent. See INSTALL for details.
2708 */
2709/* SITELIB_EXP:
2710 * This symbol contains the ~name expanded version of SITELIB, to be used
2711 * in programs that are not prepared to deal with ~ expansion at run-time.
2712 */
93342173
GS
2713#define SITELIB "c:\\perl\\site\\5.5.670\\lib" /**/
2714#define SITELIB_EXP (win32_get_sitelib("5.5.670")) /**/
3635cd84
GS
2715
2716/* Size_t:
2717 * This symbol holds the type used to declare length parameters
2718 * for string functions. It is usually size_t, but may be
2719 * unsigned long, int, etc. It may be necessary to include
2720 * <sys/types.h> to get any typedef'ed information.
2721 */
2722#define Size_t size_t /* length paramater for string functions */
2723
2724/* SSize_t:
2725 * This symbol holds the type used by functions that return
2726 * a count of bytes or an error condition. It must be a signed type.
2727 * It is usually ssize_t, but may be long or int, etc.
2728 * It may be necessary to include <sys/types.h> or <unistd.h>
2729 * to get any typedef'ed information.
2730 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2731 */
2732#define SSize_t int /* signed count of bytes */
327c3667 2733
08aa1457
PP
2734/* STARTPERL:
2735 * This variable contains the string to put in front of a perl
2736 * script to make sure (one hopes) that it runs with perl and not
2737 * some shell.
2738 */
f987c7de 2739#define STARTPERL "#!perl" /**/
08aa1457 2740
9423c6fc
GS
2741/* HAS_STDIO_STREAM_ARRAY:
2742 * This symbol, if defined, tells that there is an array
2743 * holding the stdio streams.
2744 */
2745/* STDIO_STREAM_ARRAY:
2746 * This symbol tells the name of the array holding the stdio streams.
2747 * Usual values include _iob, __iob, and __sF.
2748 */
2749/*#define HAS_STDIO_STREAM_ARRAY /**/
e1f15930 2750#define STDIO_STREAM_ARRAY
9423c6fc 2751
3635cd84
GS
2752/* Uid_t_f:
2753 * This symbol defines the format string used for printing a Uid_t.
e8ee3774 2754 */
3635cd84
GS
2755#define Uid_t_f "ld" /**/
2756
2757/* Uid_t_size:
2758 * This symbol holds the size of a Uid_t in bytes.
2759 */
2760#define Uid_t_size 4 /* UID size */
2761
2762/* Uid_t:
2763 * This symbol holds the type used to declare user ids in the kernel.
2764 * It can be int, ushort, uid_t, etc... It may be necessary to include
2765 * <sys/types.h> to get any typedef'ed information.
2766 */
2767#define Uid_t uid_t /* UID type */
e8ee3774 2768
10cc9d2a
JH
2769/* USE_64_BIT_ALL:
2770 * This variable conditionally defines the USE_64_BIT_ALL symbol,
c890dc6c
JH
2771 * and indicates that 64-bit integer types should be used
2772 * when available. The maximal possible
2773 * 64-bitness is employed: LP64 or ILP64, meaning that you will
2774 * be able to use more than 2 gigabytes of memory. This mode is
10cc9d2a 2775 * even more binary incompatible than USE_64_BIT_INT. You may not
c890dc6c
JH
2776 * be able to run the resulting executable in a 32-bit CPU at all or
2777 * you may need at least to reboot your OS to 64-bit mode.
2778 */
10cc9d2a
JH
2779#ifndef USE_64_BIT_ALL
2780/*#define USE_64_BIT_ALL /**/
2781#endif
2782
2783/* USE_64_BIT_INT:
2784 * This symbol, if defined, indicates that 64-bit integers should
2785 * be used when available. If not defined, the native integers
2786 * will be employed (be they 32 or 64 bits). The minimal possible
2787 * 64-bitness is used, just enough to get 64-bit integers into Perl.
2788 * This may mean using for example "long longs", while your memory
2789 * may still be limited to 2 gigabytes.
2790 */
2791#ifndef USE_64_BIT_INT
2792/*#define USE_64_BIT_INT /**/
c890dc6c
JH
2793#endif
2794
e1f15930
GS
2795/* USE_LARGE_FILES:
2796 * This symbol, if defined, indicates that large file support
c890dc6c 2797 * should be used when available.
e1f15930 2798 */
539a3d6c 2799#ifndef USE_LARGE_FILES
e1f15930 2800/*#define USE_LARGE_FILES /**/
539a3d6c 2801#endif
e1f15930 2802
e8ee3774
GS
2803/* USE_LONG_DOUBLE:
2804 * This symbol, if defined, indicates that long doubles should
2805 * be used when available.
2806 */
539a3d6c 2807#ifndef USE_LONG_DOUBLE
e8ee3774 2808/*#define USE_LONG_DOUBLE /**/
539a3d6c
GS
2809#endif
2810
539a3d6c
GS
2811#ifndef USE_MORE_BITS
2812/*#define USE_MORE_BITS /**/
2813#endif
e8ee3774 2814
c4d53692
GS
2815/* MULTIPLICITY:
2816 * This symbol, if defined, indicates that Perl should
2817 * be built to use multiplicity.
2818 */
539a3d6c 2819#ifndef MULTIPLICTY
c4d53692 2820/*#define MULTIPLICITY /**/
539a3d6c 2821#endif
c4d53692 2822
08aa1457
PP
2823/* USE_PERLIO:
2824 * This symbol, if defined, indicates that the PerlIO abstraction should
2825 * be used throughout. If not defined, stdio should be
2826 * used in a fully backward compatible manner.
2827 */
539a3d6c 2828#ifndef USE_PERLIO
08aa1457 2829/*#define USE_PERLIO /**/
539a3d6c 2830#endif
08aa1457 2831
82839a9d
GS
2832/* USE_SOCKS:
2833 * This symbol, if defined, indicates that Perl should
2834 * be built to use socks.
2835 */
539a3d6c 2836#ifndef USE_SOCKS
82839a9d 2837/*#define USE_SOCKS /**/
539a3d6c 2838#endif
82839a9d 2839
bbda9c9d
GS
2840/* USE_ITHREADS:
2841 * This symbol, if defined, indicates that Perl should be built to
2842 * use the interpreter-based threading implementation.
2843 */
2844/* USE_5005THREADS:
2845 * This symbol, if defined, indicates that Perl should be built to
2846 * use the 5.005-based threading implementation.
924b3ec4 2847 */
07ba5892
GS
2848/* OLD_PTHREADS_API:
2849 * This symbol, if defined, indicates that Perl should
2850 * be built to use the old draft POSIX threads API.
2851 */
bbda9c9d
GS
2852/*#define USE_5005THREADS /**/
2853/*#define USE_ITHREADS /**/
2854#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2855#define USE_THREADS /* until src is revised*/
539a3d6c 2856#endif
07ba5892 2857/*#define OLD_PTHREADS_API /**/
08aa1457 2858
3635cd84
GS
2859/* PERL_VENDORLIB_EXP:
2860 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2861 * in programs that are not prepared to deal with ~ expansion at run-time.
bbda9c9d 2862 */
3635cd84 2863/*#define PERL_VENDORLIB_EXP "" /**/
bbda9c9d 2864
3635cd84
GS
2865/* VOIDFLAGS:
2866 * This symbol indicates how much support of the void type is given by this
2867 * compiler. What various bits mean:
2868 *
2869 * 1 = supports declaration of void
2870 * 2 = supports arrays of pointers to functions returning void
2871 * 4 = supports comparisons between pointers to void functions and
2872 * addresses of void functions
2873 * 8 = suports declaration of generic void pointers
2874 *
2875 * The package designer should define VOIDUSED to indicate the requirements
2876 * of the package. This can be done either by #defining VOIDUSED before
2877 * including config.h, or by defining defvoidused in Myinit.U. If the
2878 * latter approach is taken, only those flags will be tested. If the
2879 * level of void support necessary is not present, defines void to int.
bdaec6b3 2880 */
3635cd84
GS
2881#ifndef VOIDUSED
2882#define VOIDUSED 15
2883#endif
2884#define VOIDFLAGS 15
2885#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2886#define void int /* is void to be avoided? */
2887#define M_VOID /* Xenix strikes again */
2888#endif
bdaec6b3 2889
08aa1457 2890#endif