This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate mainline.
[perl5.git] / win32 / config_H.gc
CommitLineData
a835ef8a
NIS
1/*
2 * This file was produced by running the config_h.SH script, which
3789aae2 3 * gets its values from undef, which is generally produced by
a835ef8a
NIS
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.
3789aae2 8 * For a more permanent change edit undef and rerun config_h.SH.
a835ef8a 9 *
924b3ec4 10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
a835ef8a
NIS
11 */
12
924b3ec4
GS
13/*
14 * Package name : perl5
07ba5892 15 * Source directory :
8839b9e4
GS
16 * Configuration time: Sun May 12 17:17:53 2002
17 * Configured by : gsar
924b3ec4 18 * Target system :
a835ef8a
NIS
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.
a835ef8a 26 */
924b3ec4 27#define LOC_SED "" /**/
a835ef8a 28
a835ef8a
NIS
29/* HAS_ALARM:
30 * This symbol, if defined, indicates that the alarm routine is
31 * available.
32 */
1018e26f 33#define HAS_ALARM /**/
a835ef8a
NIS
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
a835ef8a
NIS
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
a835ef8a
NIS
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
a835ef8a
NIS
91/* HAS_CUSERID:
92 * This symbol, if defined, indicates that the cuserid routine is
93 * available to get character login names.
94 */
95/*#define HAS_CUSERID /**/
96
97/* HAS_DBL_DIG:
98 * This symbol, if defined, indicates that this system's <float.h>
99 * or <limits.h> defines the symbol DBL_DIG, which is the number
100 * of significant digits in a double precision number. If this
101 * symbol is not defined, a guess of 15 is usually pretty good.
102 */
103#define HAS_DBL_DIG /**/
104
105/* HAS_DIFFTIME:
106 * This symbol, if defined, indicates that the difftime routine is
107 * available.
108 */
109#define HAS_DIFFTIME /**/
110
111/* HAS_DLERROR:
112 * This symbol, if defined, indicates that the dlerror routine is
113 * available to return a string describing the last error that
114 * occurred from a call to dlopen(), dlclose() or dlsym().
115 */
116#define HAS_DLERROR /**/
117
118/* HAS_DUP2:
119 * This symbol, if defined, indicates that the dup2 routine is
120 * available to duplicate file descriptors.
121 */
122#define HAS_DUP2 /**/
123
124/* HAS_FCHMOD:
125 * This symbol, if defined, indicates that the fchmod routine is available
126 * to change mode of opened files. If unavailable, use chmod().
127 */
128/*#define HAS_FCHMOD /**/
129
130/* HAS_FCHOWN:
131 * This symbol, if defined, indicates that the fchown routine is available
132 * to change ownership of opened files. If unavailable, use chown().
133 */
134/*#define HAS_FCHOWN /**/
135
136/* HAS_FCNTL:
137 * This symbol, if defined, indicates to the C program that
138 * the fcntl() function exists.
139 */
140/*#define HAS_FCNTL /**/
141
142/* HAS_FGETPOS:
143 * This symbol, if defined, indicates that the fgetpos routine is
144 * available to get the file position indicator, similar to ftell().
145 */
146#define HAS_FGETPOS /**/
147
a835ef8a
NIS
148/* HAS_FLOCK:
149 * This symbol, if defined, indicates that the flock routine is
150 * available to do file locking.
151 */
152#define HAS_FLOCK /**/
153
154/* HAS_FORK:
155 * This symbol, if defined, indicates that the fork routine is
156 * available.
157 */
158/*#define HAS_FORK /**/
159
160/* HAS_FSETPOS:
161 * This symbol, if defined, indicates that the fsetpos routine is
162 * available to set the file position indicator, similar to fseek().
163 */
164#define HAS_FSETPOS /**/
165
166/* HAS_GETTIMEOFDAY:
167 * This symbol, if defined, indicates that the gettimeofday() system
168 * call is available for a sub-second accuracy clock. Usually, the file
169 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
170 * The type "Timeval" should be used to refer to "struct timeval".
171 */
57ab3dfe 172#define HAS_GETTIMEOFDAY /**/
a835ef8a
NIS
173#ifdef HAS_GETTIMEOFDAY
174#define Timeval struct timeval /* Structure used by gettimeofday() */
175#endif
176
177/* HAS_GETGROUPS:
178 * This symbol, if defined, indicates that the getgroups() routine is
179 * available to get the list of process groups. If unavailable, multiple
180 * groups are probably not supported.
181 */
a835ef8a 182/*#define HAS_GETGROUPS /**/
a835ef8a 183
a835ef8a
NIS
184/* HAS_GETLOGIN:
185 * This symbol, if defined, indicates that the getlogin routine is
186 * available to get the login name.
187 */
e34ffe5a 188#define HAS_GETLOGIN /**/
a835ef8a 189
924b3ec4
GS
190/* HAS_GETPGID:
191 * This symbol, if defined, indicates to the C program that
192 * the getpgid(pid) function is available to get the
193 * process group id.
194 */
195/*#define HAS_GETPGID /**/
196
a835ef8a
NIS
197/* HAS_GETPGRP2:
198 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
199 * routine is available to get the current process group.
200 */
201/*#define HAS_GETPGRP2 /**/
202
203/* HAS_GETPPID:
204 * This symbol, if defined, indicates that the getppid routine is
205 * available to get the parent process ID.
206 */
207/*#define HAS_GETPPID /**/
208
209/* HAS_GETPRIORITY:
210 * This symbol, if defined, indicates that the getpriority routine is
211 * available to get a process's priority.
212 */
213/*#define HAS_GETPRIORITY /**/
214
924b3ec4
GS
215/* HAS_INET_ATON:
216 * This symbol, if defined, indicates to the C program that the
217 * inet_aton() function is available to parse IP address "dotted-quad"
218 * strings.
a835ef8a 219 */
924b3ec4 220/*#define HAS_INET_ATON /**/
a835ef8a
NIS
221
222/* HAS_KILLPG:
223 * This symbol, if defined, indicates that the killpg routine is available
224 * to kill process groups. If unavailable, you probably should use kill
225 * with a negative process number.
226 */
227/*#define HAS_KILLPG /**/
228
229/* HAS_LINK:
230 * This symbol, if defined, indicates that the link routine is
231 * available to create hard links.
232 */
6b980173 233#define HAS_LINK /**/
a835ef8a
NIS
234
235/* HAS_LOCALECONV:
236 * This symbol, if defined, indicates that the localeconv routine is
237 * available for numeric and monetary formatting conventions.
238 */
239#define HAS_LOCALECONV /**/
240
241/* HAS_LOCKF:
242 * This symbol, if defined, indicates that the lockf routine is
243 * available to do file locking.
244 */
245/*#define HAS_LOCKF /**/
246
247/* HAS_LSTAT:
248 * This symbol, if defined, indicates that the lstat routine is
249 * available to do file stats on symbolic links.
250 */
251/*#define HAS_LSTAT /**/
252
253/* HAS_MBLEN:
254 * This symbol, if defined, indicates that the mblen routine is available
255 * to find the number of bytes in a multibye character.
256 */
257#define HAS_MBLEN /**/
258
259/* HAS_MBSTOWCS:
260 * This symbol, if defined, indicates that the mbstowcs routine is
261 * available to covert a multibyte string into a wide character string.
262 */
263#define HAS_MBSTOWCS /**/
264
265/* HAS_MBTOWC:
266 * This symbol, if defined, indicates that the mbtowc routine is available
267 * to covert a multibyte to a wide character.
268 */
269#define HAS_MBTOWC /**/
270
271/* HAS_MEMCMP:
272 * This symbol, if defined, indicates that the memcmp routine is available
273 * to compare blocks of memory.
274 */
275#define HAS_MEMCMP /**/
276
277/* HAS_MEMCPY:
278 * This symbol, if defined, indicates that the memcpy routine is available
279 * to copy blocks of memory.
280 */
281#define HAS_MEMCPY /**/
282
283/* HAS_MEMMOVE:
284 * This symbol, if defined, indicates that the memmove routine is available
285 * to copy potentially overlapping blocks of memory. This should be used
286 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
287 * own version.
288 */
289#define HAS_MEMMOVE /**/
290
291/* HAS_MEMSET:
292 * This symbol, if defined, indicates that the memset routine is available
293 * to set blocks of memory.
294 */
295#define HAS_MEMSET /**/
296
297/* HAS_MKDIR:
298 * This symbol, if defined, indicates that the mkdir routine is available
299 * to create directories. Otherwise you should fork off a new process to
300 * exec /bin/mkdir.
301 */
302#define HAS_MKDIR /**/
303
304/* HAS_MKFIFO:
305 * This symbol, if defined, indicates that the mkfifo routine is
306 * available to create FIFOs. Otherwise, mknod should be able to
307 * do it for you. However, if mkfifo is there, mknod might require
308 * super-user privileges which mkfifo will not.
309 */
310/*#define HAS_MKFIFO /**/
311
312/* HAS_MKTIME:
313 * This symbol, if defined, indicates that the mktime routine is
314 * available.
315 */
316#define HAS_MKTIME /**/
317
ac135a7c
GS
318/* HAS_MSYNC:
319 * This symbol, if defined, indicates that the msync system call is
320 * available to synchronize a mapped file.
321 */
322/*#define HAS_MSYNC /**/
323
324/* HAS_MUNMAP:
325 * This symbol, if defined, indicates that the munmap system call is
326 * available to unmap a region, usually mapped by mmap().
327 */
328/*#define HAS_MUNMAP /**/
329
a835ef8a
NIS
330/* HAS_NICE:
331 * This symbol, if defined, indicates that the nice routine is
332 * available.
333 */
334/*#define HAS_NICE /**/
335
a835ef8a
NIS
336/* HAS_PATHCONF:
337 * This symbol, if defined, indicates that pathconf() is available
338 * to determine file-system related limits and options associated
339 * with a given filename.
340 */
341/* HAS_FPATHCONF:
342 * This symbol, if defined, indicates that pathconf() is available
343 * to determine file-system related limits and options associated
344 * with a given open file descriptor.
345 */
346/*#define HAS_PATHCONF /**/
347/*#define HAS_FPATHCONF /**/
348
349/* HAS_PAUSE:
350 * This symbol, if defined, indicates that the pause routine is
351 * available to suspend a process until a signal is received.
352 */
353#define HAS_PAUSE /**/
354
355/* HAS_PIPE:
356 * This symbol, if defined, indicates that the pipe routine is
357 * available to create an inter-process channel.
358 */
359#define HAS_PIPE /**/
360
361/* HAS_POLL:
362 * This symbol, if defined, indicates that the poll routine is
924b3ec4
GS
363 * available to poll active file descriptors. You may safely
364 * include <poll.h> when this symbol is defined.
a835ef8a
NIS
365 */
366/*#define HAS_POLL /**/
367
368/* HAS_READDIR:
369 * This symbol, if defined, indicates that the readdir routine is
370 * available to read directory entries. You may have to include
371 * <dirent.h>. See I_DIRENT.
372 */
373#define HAS_READDIR /**/
374
375/* HAS_SEEKDIR:
376 * This symbol, if defined, indicates that the seekdir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
378 */
379#define HAS_SEEKDIR /**/
380
381/* HAS_TELLDIR:
382 * This symbol, if defined, indicates that the telldir routine is
383 * available. You may have to include <dirent.h>. See I_DIRENT.
384 */
385#define HAS_TELLDIR /**/
386
387/* HAS_REWINDDIR:
388 * This symbol, if defined, indicates that the rewinddir routine is
389 * available. You may have to include <dirent.h>. See I_DIRENT.
390 */
391#define HAS_REWINDDIR /**/
392
393/* HAS_READLINK:
394 * This symbol, if defined, indicates that the readlink routine is
395 * available to read the value of a symbolic link.
396 */
397/*#define HAS_READLINK /**/
398
399/* HAS_RENAME:
400 * This symbol, if defined, indicates that the rename routine is available
401 * to rename files. Otherwise you should do the unlink(), link(), unlink()
402 * trick.
403 */
404#define HAS_RENAME /**/
405
406/* HAS_RMDIR:
407 * This symbol, if defined, indicates that the rmdir routine is
408 * available to remove directories. Otherwise you should fork off a
409 * new process to exec /bin/rmdir.
410 */
411#define HAS_RMDIR /**/
412
a835ef8a
NIS
413/* HAS_SELECT:
414 * This symbol, if defined, indicates that the select routine is
415 * available to select active file descriptors. If the timeout field
416 * is used, <sys/time.h> may need to be included.
417 */
418#define HAS_SELECT /**/
419
a835ef8a
NIS
420/* HAS_SETEGID:
421 * This symbol, if defined, indicates that the setegid routine is available
422 * to change the effective gid of the current program.
423 */
424/*#define HAS_SETEGID /**/
425
426/* HAS_SETEUID:
427 * This symbol, if defined, indicates that the seteuid routine is available
428 * to change the effective uid of the current program.
429 */
430/*#define HAS_SETEUID /**/
431
432/* HAS_SETLINEBUF:
433 * This symbol, if defined, indicates that the setlinebuf routine is
434 * available to change stderr or stdout from block-buffered or unbuffered
435 * to a line-buffered mode.
436 */
437/*#define HAS_SETLINEBUF /**/
438
439/* HAS_SETLOCALE:
440 * This symbol, if defined, indicates that the setlocale routine is
441 * available to handle locale-specific ctype implementations.
442 */
443#define HAS_SETLOCALE /**/
444
924b3ec4
GS
445/* HAS_SETPGID:
446 * This symbol, if defined, indicates that the setpgid(pid, gpid)
447 * routine is available to set process group ID.
448 */
449/*#define HAS_SETPGID /**/
450
a835ef8a
NIS
451/* HAS_SETPGRP2:
452 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
453 * routine is available to set the current process group.
454 */
455/*#define HAS_SETPGRP2 /**/
456
457/* HAS_SETPRIORITY:
458 * This symbol, if defined, indicates that the setpriority routine is
459 * available to set a process's priority.
460 */
461/*#define HAS_SETPRIORITY /**/
462
463/* HAS_SETREGID:
464 * This symbol, if defined, indicates that the setregid routine is
465 * available to change the real and effective gid of the current
466 * process.
467 */
468/* HAS_SETRESGID:
469 * This symbol, if defined, indicates that the setresgid routine is
470 * available to change the real, effective and saved gid of the current
471 * process.
472 */
473/*#define HAS_SETREGID /**/
474/*#define HAS_SETRESGID /**/
475
476/* HAS_SETREUID:
477 * This symbol, if defined, indicates that the setreuid routine is
478 * available to change the real and effective uid of the current
479 * process.
480 */
481/* HAS_SETRESUID:
482 * This symbol, if defined, indicates that the setresuid routine is
483 * available to change the real, effective and saved uid of the current
484 * process.
485 */
486/*#define HAS_SETREUID /**/
487/*#define HAS_SETRESUID /**/
488
489/* HAS_SETRGID:
490 * This symbol, if defined, indicates that the setrgid routine is available
491 * to change the real gid of the current program.
492 */
493/*#define HAS_SETRGID /**/
494
495/* HAS_SETRUID:
496 * This symbol, if defined, indicates that the setruid routine is available
497 * to change the real uid of the current program.
498 */
499/*#define HAS_SETRUID /**/
500
501/* HAS_SETSID:
502 * This symbol, if defined, indicates that the setsid routine is
503 * available to set the process group ID.
504 */
505/*#define HAS_SETSID /**/
506
924b3ec4
GS
507/* HAS_STRCHR:
508 * This symbol is defined to indicate that the strchr()/strrchr()
509 * functions are available for string searching. If not, try the
510 * index()/rindex() pair.
a835ef8a 511 */
924b3ec4
GS
512/* HAS_INDEX:
513 * This symbol is defined to indicate that the index()/rindex()
514 * functions are available for string searching.
a835ef8a 515 */
924b3ec4
GS
516#define HAS_STRCHR /**/
517/*#define HAS_INDEX /**/
518
519/* HAS_STRCOLL:
520 * This symbol, if defined, indicates that the strcoll routine is
521 * available to compare strings using collating information.
a835ef8a 522 */
924b3ec4
GS
523#define HAS_STRCOLL /**/
524
525/* USE_STRUCT_COPY:
526 * This symbol, if defined, indicates that this C compiler knows how
527 * to copy structures. If undefined, you'll need to use a block copy
528 * routine of some sort instead.
a835ef8a 529 */
924b3ec4 530#define USE_STRUCT_COPY /**/
a835ef8a 531
a835ef8a
NIS
532/* HAS_STRTOD:
533 * This symbol, if defined, indicates that the strtod routine is
534 * available to provide better numeric string conversion than atof().
535 */
536#define HAS_STRTOD /**/
537
538/* HAS_STRTOL:
539 * This symbol, if defined, indicates that the strtol routine is available
540 * to provide better numeric string conversion than atoi() and friends.
541 */
542#define HAS_STRTOL /**/
543
a835ef8a
NIS
544/* HAS_STRXFRM:
545 * This symbol, if defined, indicates that the strxfrm() routine is
546 * available to transform strings.
547 */
548#define HAS_STRXFRM /**/
549
550/* HAS_SYMLINK:
551 * This symbol, if defined, indicates that the symlink routine is available
552 * to create symbolic links.
553 */
554/*#define HAS_SYMLINK /**/
555
556/* HAS_SYSCALL:
557 * This symbol, if defined, indicates that the syscall routine is
558 * available to call arbitrary system calls. If undefined, that's tough.
559 */
560/*#define HAS_SYSCALL /**/
561
562/* HAS_SYSCONF:
563 * This symbol, if defined, indicates that sysconf() is available
564 * to determine system related limits and options.
565 */
566/*#define HAS_SYSCONF /**/
567
568/* HAS_SYSTEM:
569 * This symbol, if defined, indicates that the system routine is
570 * available to issue a shell command.
571 */
572#define HAS_SYSTEM /**/
573
574/* HAS_TCGETPGRP:
575 * This symbol, if defined, indicates that the tcgetpgrp routine is
576 * available to get foreground process group ID.
577 */
578/*#define HAS_TCGETPGRP /**/
579
580/* HAS_TCSETPGRP:
581 * This symbol, if defined, indicates that the tcsetpgrp routine is
582 * available to set foreground process group ID.
583 */
584/*#define HAS_TCSETPGRP /**/
585
a835ef8a
NIS
586/* HAS_TRUNCATE:
587 * This symbol, if defined, indicates that the truncate routine is
588 * available to truncate files.
589 */
590/*#define HAS_TRUNCATE /**/
591
592/* HAS_TZNAME:
593 * This symbol, if defined, indicates that the tzname[] array is
594 * available to access timezone names.
595 */
bbda9c9d 596#define HAS_TZNAME /**/
a835ef8a
NIS
597
598/* HAS_UMASK:
599 * This symbol, if defined, indicates that the umask routine is
600 * available to set and get the value of the file creation mask.
601 */
602#define HAS_UMASK /**/
603
b8a524e9
NIS
604/* HAS_USLEEP:
605 * This symbol, if defined, indicates that the usleep routine is
606 * available to let the process sleep on a sub-second accuracy.
607 */
608/*#define HAS_USLEEP /**/
609
a835ef8a
NIS
610/* HASVOLATILE:
611 * This symbol, if defined, indicates that this C compiler knows about
612 * the volatile declaration.
613 */
614#define HASVOLATILE /**/
615#ifndef HASVOLATILE
616#define volatile
617#endif
618
a835ef8a
NIS
619/* HAS_WAIT4:
620 * This symbol, if defined, indicates that wait4() exists.
621 */
622/*#define HAS_WAIT4 /**/
623
624/* HAS_WAITPID:
625 * This symbol, if defined, indicates that the waitpid routine is
626 * available to wait for child process.
627 */
f55ee38a 628#define HAS_WAITPID /**/
a835ef8a
NIS
629
630/* HAS_WCSTOMBS:
631 * This symbol, if defined, indicates that the wcstombs routine is
632 * available to convert wide character strings to multibyte strings.
633 */
634#define HAS_WCSTOMBS /**/
635
636/* HAS_WCTOMB:
637 * This symbol, if defined, indicates that the wctomb routine is available
638 * to covert a wide character to a multibyte.
639 */
640#define HAS_WCTOMB /**/
641
28e8609d 642/* I_ARPA_INET:
327c3667
GS
643 * This symbol, if defined, indicates to the C program that it should
644 * include <arpa/inet.h> to get inet_addr and friends declarations.
28e8609d 645 */
327c3667 646#define I_ARPA_INET /**/
28e8609d 647
924b3ec4
GS
648/* I_DBM:
649 * This symbol, if defined, indicates that <dbm.h> exists and should
650 * be included.
a835ef8a 651 */
924b3ec4
GS
652/* I_RPCSVC_DBM:
653 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
654 * should be included.
a835ef8a 655 */
924b3ec4
GS
656/*#define I_DBM /**/
657#define I_RPCSVC_DBM /**/
a835ef8a
NIS
658
659/* I_DIRENT:
660 * This symbol, if defined, indicates to the C program that it should
661 * include <dirent.h>. Using this symbol also triggers the definition
662 * of the Direntry_t define which ends up being 'struct dirent' or
663 * 'struct direct' depending on the availability of <dirent.h>.
664 */
665/* DIRNAMLEN:
666 * This symbol, if defined, indicates to the C program that the length
667 * of directory entry names is provided by a d_namlen field. Otherwise
668 * you need to do strlen() on the d_name field.
669 */
670/* Direntry_t:
671 * This symbol is set to 'struct direct' or 'struct dirent' depending on
672 * whether dirent is available or not. You should use this pseudo type to
673 * portably declare your directory entries.
674 */
675#define I_DIRENT /**/
676#define DIRNAMLEN /**/
677#define Direntry_t struct direct
678
679/* I_DLFCN:
680 * This symbol, if defined, indicates that <dlfcn.h> exists and should
681 * be included.
682 */
683#define I_DLFCN /**/
684
685/* I_FCNTL:
686 * This manifest constant tells the C program to include <fcntl.h>.
687 */
688#define I_FCNTL /**/
689
690/* I_FLOAT:
691 * This symbol, if defined, indicates to the C program that it should
692 * include <float.h> to get definition of symbols like DBL_MAX or
693 * DBL_MIN, i.e. machine dependent floating point values.
694 */
695#define I_FLOAT /**/
696
a835ef8a
NIS
697/* I_LIMITS:
698 * This symbol, if defined, indicates to the C program that it should
699 * include <limits.h> to get definition of symbols like WORD_BIT or
700 * LONG_MAX, i.e. machine dependant limitations.
701 */
702#define I_LIMITS /**/
703
924b3ec4
GS
704/* I_LOCALE:
705 * This symbol, if defined, indicates to the C program that it should
706 * include <locale.h>.
707 */
708#define I_LOCALE /**/
709
a835ef8a
NIS
710/* I_MATH:
711 * This symbol, if defined, indicates to the C program that it should
712 * include <math.h>.
713 */
714#define I_MATH /**/
715
716/* I_MEMORY:
717 * This symbol, if defined, indicates to the C program that it should
718 * include <memory.h>.
719 */
720/*#define I_MEMORY /**/
721
a835ef8a
NIS
722/* I_NET_ERRNO:
723 * This symbol, if defined, indicates that <net/errno.h> exists and
724 * should be included.
725 */
726/*#define I_NET_ERRNO /**/
727
728/* I_NETINET_IN:
729 * This symbol, if defined, indicates to the C program that it should
730 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
731 */
732/*#define I_NETINET_IN /**/
733
924b3ec4
GS
734/* I_SFIO:
735 * This symbol, if defined, indicates to the C program that it should
736 * include <sfio.h>.
737 */
738/*#define I_SFIO /**/
739
a835ef8a
NIS
740/* I_STDDEF:
741 * This symbol, if defined, indicates that <stddef.h> exists and should
742 * be included.
743 */
744#define I_STDDEF /**/
745
746/* I_STDLIB:
747 * This symbol, if defined, indicates that <stdlib.h> exists and should
748 * be included.
749 */
750#define I_STDLIB /**/
751
752/* I_STRING:
753 * This symbol, if defined, indicates to the C program that it should
754 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
755 */
756#define I_STRING /**/
757
758/* I_SYS_DIR:
759 * This symbol, if defined, indicates to the C program that it should
760 * include <sys/dir.h>.
761 */
762/*#define I_SYS_DIR /**/
763
764/* I_SYS_FILE:
765 * This symbol, if defined, indicates to the C program that it should
766 * include <sys/file.h> to get definition of R_OK and friends.
767 */
768/*#define I_SYS_FILE /**/
769
770/* I_SYS_IOCTL:
771 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
772 * be included. Otherwise, include <sgtty.h> or <termio.h>.
773 */
b8a524e9
NIS
774/* I_SYS_SOCKIO:
775 * This symbol, if defined, indicates the <sys/sockio.h> should be included
776 * to get socket ioctl options, like SIOCATMARK.
777 */
a835ef8a 778/*#define I_SYS_IOCTL /**/
b8a524e9 779/*#define I_SYS_SOCKIO /**/
a835ef8a
NIS
780
781/* I_SYS_NDIR:
782 * This symbol, if defined, indicates to the C program that it should
783 * include <sys/ndir.h>.
784 */
785/*#define I_SYS_NDIR /**/
786
787/* I_SYS_PARAM:
788 * This symbol, if defined, indicates to the C program that it should
789 * include <sys/param.h>.
790 */
791/*#define I_SYS_PARAM /**/
792
793/* I_SYS_RESOURCE:
794 * This symbol, if defined, indicates to the C program that it should
795 * include <sys/resource.h>.
796 */
797/*#define I_SYS_RESOURCE /**/
798
799/* I_SYS_SELECT:
800 * This symbol, if defined, indicates to the C program that it should
801 * include <sys/select.h> in order to get definition of struct timeval.
802 */
803/*#define I_SYS_SELECT /**/
804
924b3ec4
GS
805/* I_SYS_STAT:
806 * This symbol, if defined, indicates to the C program that it should
807 * include <sys/stat.h>.
808 */
809#define I_SYS_STAT /**/
810
a835ef8a
NIS
811/* I_SYS_TIMES:
812 * This symbol, if defined, indicates to the C program that it should
813 * include <sys/times.h>.
814 */
815/*#define I_SYS_TIMES /**/
816
be44fb0e
GS
817/* I_SYS_TYPES:
818 * This symbol, if defined, indicates to the C program that it should
819 * include <sys/types.h>.
820 */
821#define I_SYS_TYPES /**/
822
a835ef8a
NIS
823/* I_SYS_UN:
824 * This symbol, if defined, indicates to the C program that it should
825 * include <sys/un.h> to get UNIX domain socket definitions.
826 */
827/*#define I_SYS_UN /**/
828
829/* I_SYS_WAIT:
830 * This symbol, if defined, indicates to the C program that it should
831 * include <sys/wait.h>.
832 */
833/*#define I_SYS_WAIT /**/
834
835/* I_TERMIO:
836 * This symbol, if defined, indicates that the program should include
837 * <termio.h> rather than <sgtty.h>. There are also differences in
838 * the ioctl() calls that depend on the value of this symbol.
839 */
840/* I_TERMIOS:
841 * This symbol, if defined, indicates that the program should include
842 * the POSIX termios.h rather than sgtty.h or termio.h.
843 * There are also differences in the ioctl() calls that depend on the
844 * value of this symbol.
845 */
846/* I_SGTTY:
847 * This symbol, if defined, indicates that the program should include
848 * <sgtty.h> rather than <termio.h>. There are also differences in
849 * the ioctl() calls that depend on the value of this symbol.
850 */
851/*#define I_TERMIO /**/
852/*#define I_TERMIOS /**/
853/*#define I_SGTTY /**/
854
a835ef8a
NIS
855/* I_UNISTD:
856 * This symbol, if defined, indicates to the C program that it should
857 * include <unistd.h>.
858 */
859/*#define I_UNISTD /**/
860
861/* I_UTIME:
862 * This symbol, if defined, indicates to the C program that it should
863 * include <utime.h>.
864 */
865#define I_UTIME /**/
866
924b3ec4
GS
867/* I_VALUES:
868 * This symbol, if defined, indicates to the C program that it should
869 * include <values.h> to get definition of symbols like MINFLOAT or
870 * MAXLONG, i.e. machine dependant limitations. Probably, you
871 * should use <limits.h> instead, if it is available.
872 */
873/*#define I_VALUES /**/
874
a835ef8a
NIS
875/* I_VFORK:
876 * This symbol, if defined, indicates to the C program that it should
877 * include vfork.h.
878 */
879/*#define I_VFORK /**/
880
9423c6fc
GS
881/* INTSIZE:
882 * This symbol contains the value of sizeof(int) so that the C
883 * preprocessor can make decisions based on it.
884 */
885/* LONGSIZE:
886 * This symbol contains the value of sizeof(long) so that the C
887 * preprocessor can make decisions based on it.
888 */
889/* SHORTSIZE:
890 * This symbol contains the value of sizeof(short) so that the C
891 * preprocessor can make decisions based on it.
892 */
893#define INTSIZE 4 /**/
894#define LONGSIZE 4 /**/
895#define SHORTSIZE 2 /**/
896
897/* MULTIARCH:
898 * This symbol, if defined, signifies that the build
899 * process will produce some binary files that are going to be
900 * used in a cross-platform environment. This is the case for
901 * example with the NeXT "fat" binaries that contain executables
902 * for several CPUs.
903 */
904/*#define MULTIARCH /**/
905
bbda9c9d
GS
906/* HAS_QUAD:
907 * This symbol, if defined, tells that there's a 64-bit integer type,
908 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
909 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
910 */
911/*#define HAS_QUAD /**/
912#ifdef HAS_QUAD
913# define Quad_t long long /**/
914# define Uquad_t unsigned long long /**/
ac135a7c 915# define QUADKIND 5 /**/
bbda9c9d
GS
916# define QUAD_IS_INT 1
917# define QUAD_IS_LONG 2
918# define QUAD_IS_LONG_LONG 3
919# define QUAD_IS_INT64_T 4
920#endif
921
922/* HAS_ACCESSX:
923 * This symbol, if defined, indicates that the accessx routine is
924 * available to do extended access checks.
925 */
926/*#define HAS_ACCESSX /**/
927
928/* HAS_EACCESS:
929 * This symbol, if defined, indicates that the eaccess routine is
930 * available to do extended access checks.
931 */
932/*#define HAS_EACCESS /**/
933
934/* I_SYS_ACCESS:
935 * This symbol, if defined, indicates to the C program that it should
936 * include <sys/access.h>.
937 */
938/*#define I_SYS_ACCESS /**/
939
940/* I_SYS_SECURITY:
941 * This symbol, if defined, indicates to the C program that it should
942 * include <sys/security.h>.
943 */
944/*#define I_SYS_SECURITY /**/
945
3635cd84
GS
946/* OSNAME:
947 * This symbol contains the name of the operating system, as determined
948 * by Configure. You shouldn't rely on it too much; the specific
949 * feature tests from Configure are generally more reliable.
950 */
d81cc119
NIS
951/* OSVERS:
952 * This symbol contains the version of the operating system, as determined
953 * by Configure. You shouldn't rely on it too much; the specific
954 * feature tests from Configure are generally more reliable.
955 */
3635cd84 956#define OSNAME "MSWin32" /**/
d81cc119 957#define OSVERS "4.0" /**/
3635cd84 958
924b3ec4 959/* MEM_ALIGNBYTES:
9423c6fc 960 * This symbol contains the number of bytes required to align a
ac135a7c
GS
961 * double, or a long double when applicable. Usual values are 2,
962 * 4 and 8. The default is eight, for safety.
a835ef8a 963 */
5440bc8e 964#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
9423c6fc
GS
965# define MEM_ALIGNBYTES 8
966#else
967#define MEM_ALIGNBYTES 8
968#endif
a835ef8a 969
3635cd84
GS
970/* ARCHLIB:
971 * This variable, if defined, holds the name of the directory in
972 * which the user wants to put architecture-dependent public
973 * library files for perl5. It is most often a local directory
974 * such as /usr/local/lib. Programs using this variable must be
975 * prepared to deal with filename expansion. If ARCHLIB is the
976 * same as PRIVLIB, it is not defined, since presumably the
977 * program already searches PRIVLIB.
978 */
979/* ARCHLIB_EXP:
980 * This symbol contains the ~name expanded version of ARCHLIB, to be used
981 * in programs that are not prepared to deal with ~ expansion at run-time.
982 */
4282de36 983#define ARCHLIB "c:\\perl\\5.8.0\\lib\\MSWin32-x86-multi-thread" /**/
3635cd84
GS
984/*#define ARCHLIB_EXP "" /**/
985
986/* ARCHNAME:
987 * This symbol holds a string representing the architecture name.
988 * It may be used to construct an architecture-dependant pathname
989 * where library files may be held under a private library, for
990 * instance.
991 */
8c8a4ace 992#define ARCHNAME "MSWin32-x86-multi-thread" /**/
3635cd84
GS
993
994/* HAS_ATOLF:
995 * This symbol, if defined, indicates that the atolf routine is
996 * available to convert strings into long doubles.
997 */
998/*#define HAS_ATOLF /**/
999
1000/* HAS_ATOLL:
1001 * This symbol, if defined, indicates that the atoll routine is
1002 * available to convert strings into long longs.
1003 */
1004/*#define HAS_ATOLL /**/
1005
1006/* BIN:
1007 * This symbol holds the path of the bin directory where the package will
1008 * be installed. Program must be prepared to deal with ~name substitution.
1009 */
1010/* BIN_EXP:
1011 * This symbol is the filename expanded version of the BIN symbol, for
1012 * programs that do not want to deal with that at run-time.
1013 */
4282de36
JH
1014#define BIN "c:\\perl\\5.8.0\\bin\\MSWin32-x86-multi-thread" /**/
1015#define BIN_EXP "c:\\perl\\5.8.0\\bin\\MSWin32-x86-multi-thread" /**/
3635cd84 1016
a835ef8a
NIS
1017/* BYTEORDER:
1018 * This symbol holds the hexadecimal constant defined in byteorder,
8839b9e4 1019 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
9423c6fc
GS
1020 * If the compiler supports cross-compiling or multiple-architecture
1021 * binaries (eg. on NeXT systems), use compiler-defined macros to
1022 * determine the byte order.
a835ef8a
NIS
1023 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1024 * Binaries (MAB) on either big endian or little endian machines.
1025 * The endian-ness is available at compile-time. This only matters
1026 * for perl, where the config.h can be generated and installed on
1027 * one system, and used by a different architecture to build an
1028 * extension. Older versions of NeXT that might not have
1029 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1030 * so the default case (for NeXT) is big endian to catch them.
1031 * This might matter for NeXT 3.0.
1032 */
5440bc8e 1033#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
9423c6fc
GS
1034# ifdef __LITTLE_ENDIAN__
1035# if LONGSIZE == 4
1036# define BYTEORDER 0x1234
1037# else
1038# if LONGSIZE == 8
1039# define BYTEORDER 0x12345678
1040# endif
1041# endif
1042# else
1043# ifdef __BIG_ENDIAN__
1044# if LONGSIZE == 4
1045# define BYTEORDER 0x4321
1046# else
1047# if LONGSIZE == 8
1048# define BYTEORDER 0x87654321
1049# endif
1050# endif
1051# endif
1052# endif
1053# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1054# define BYTEORDER 0x4321
1055# endif
1056#else
a835ef8a 1057#define BYTEORDER 0x1234 /* large digits for MSB */
a835ef8a
NIS
1058#endif /* NeXT */
1059
3635cd84
GS
1060/* CAT2:
1061 * This macro catenates 2 tokens together.
1062 */
1063/* STRINGIFY:
1064 * This macro surrounds its token with double quotes.
1065 */
1066#if 42 == 1
3789aae2
NIS
1067#define CAT2(a,b) a/**/b
1068#define STRINGIFY(a) "a"
3635cd84
GS
1069 /* If you can get stringification with catify, tell me how! */
1070#endif
1071#if 42 == 42
3789aae2
NIS
1072#define PeRl_CaTiFy(a, b) a ## b
1073#define PeRl_StGiFy(a) #a
e5a4bac5
GS
1074/* the additional level of indirection enables these macros to be
1075 * used as arguments to other macros. See K&R 2nd ed., page 231. */
3789aae2
NIS
1076#define CAT2(a,b) PeRl_CaTiFy(a,b)
1077#define StGiFy(a) PeRl_StGiFy(a)
1078#define STRINGIFY(a) PeRl_StGiFy(a)
3635cd84
GS
1079#endif
1080#if 42 != 1 && 42 != 42
3789aae2 1081# include "Bletch: How does this C preprocessor catenate tokens?"
3635cd84
GS
1082#endif
1083
1084/* CPPSTDIN:
1085 * This symbol contains the first part of the string which will invoke
1086 * the C preprocessor on the standard input and produce to standard
1087 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1088 * call a wrapper. See CPPRUN.
1089 */
1090/* CPPMINUS:
1091 * This symbol contains the second part of the string which will invoke
1092 * the C preprocessor on the standard input and produce to standard
1093 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1094 * to specify standard input, otherwise the value is "".
1095 */
1096/* CPPRUN:
1097 * This symbol contains the string which will invoke a C preprocessor on
1098 * the standard input and produce to standard output. It needs to end
1099 * with CPPLAST, after all other preprocessor flags have been specified.
1100 * The main difference with CPPSTDIN is that this program will never be a
1101 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1102 * available directly to the user. Note that it may well be different from
1103 * the preprocessor used to compile the C program.
1104 */
ac135a7c
GS
1105/* CPPLAST:
1106 * This symbol is intended to be used along with CPPRUN in the same manner
1107 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1108 */
3635cd84
GS
1109#define CPPSTDIN "gcc -E"
1110#define CPPMINUS "-"
1111#define CPPRUN "gcc -E"
ac135a7c 1112#define CPPLAST ""
3635cd84 1113
b69c47f4
NIS
1114/* HAS__FWALK:
1115 * This symbol, if defined, indicates that the _fwalk system call is
1116 * available to apply a function to all the file handles.
1117 */
1118/*#define HAS__FWALK /**/
1119
3635cd84
GS
1120/* HAS_ACCESS:
1121 * This manifest constant lets the C program know that the access()
1122 * system call is available to check for accessibility using real UID/GID.
1123 * (always present on UNIX.)
1124 */
1125#define HAS_ACCESS /**/
1126
8839b9e4
GS
1127/* HAS_ASCTIME_R:
1128 * This symbol, if defined, indicates that the asctime_r routine
1129 * is available to asctime re-entrantly.
1130 */
1131/* ASCTIME_R_PROTO:
1132 * This symbol encodes the prototype of asctime_r.
1133 */
1134/*#define HAS_ASCTIME_R /**/
1135#define ASCTIME_R_PROTO 0 /**/
1136
924b3ec4
GS
1137/* CASTI32:
1138 * This symbol is defined if the C compiler can cast negative
1139 * or large floating point numbers to 32-bit ints.
a835ef8a 1140 */
924b3ec4 1141#define CASTI32 /**/
a835ef8a 1142
924b3ec4
GS
1143/* CASTNEGFLOAT:
1144 * This symbol is defined if the C compiler can cast negative
1145 * numbers to unsigned longs, ints and shorts.
a835ef8a 1146 */
924b3ec4
GS
1147/* CASTFLAGS:
1148 * This symbol contains flags that say what difficulties the compiler
1149 * has casting odd floating values to unsigned long:
1150 * 0 = ok
1151 * 1 = couldn't cast < 0
1152 * 2 = couldn't cast >= 0x80000000
1153 * 4 = couldn't cast in argument expression list
a835ef8a 1154 */
924b3ec4
GS
1155#define CASTNEGFLOAT /**/
1156#define CASTFLAGS 0 /**/
1157
0543dcd8
GS
1158/* HAS_CLASS:
1159 * This symbol, if defined, indicates that the class routine is
1160 * available to classify doubles. Available for example in AIX.
1161 * The returned values are defined in <float.h> and are:
1162 *
1163 * FP_PLUS_NORM Positive normalized, nonzero
1164 * FP_MINUS_NORM Negative normalized, nonzero
1165 * FP_PLUS_DENORM Positive denormalized, nonzero
1166 * FP_MINUS_DENORM Negative denormalized, nonzero
1167 * FP_PLUS_ZERO +0.0
1168 * FP_MINUS_ZERO -0.0
1169 * FP_PLUS_INF +INF
1170 * FP_MINUS_INF -INF
1171 * FP_NANS Signaling Not a Number (NaNS)
1172 * FP_NANQ Quiet Not a Number (NaNQ)
1173 */
1174/*#define HAS_CLASS /**/
1175
924b3ec4
GS
1176/* VOID_CLOSEDIR:
1177 * This symbol, if defined, indicates that the closedir() routine
1178 * does not return a value.
a835ef8a 1179 */
924b3ec4 1180/*#define VOID_CLOSEDIR /**/
a835ef8a 1181
b8a524e9
NIS
1182/* HAS_STRUCT_CMSGHDR:
1183 * This symbol, if defined, indicates that the struct cmsghdr
1184 * is supported.
1185 */
1186/*#define HAS_STRUCT_CMSGHDR /**/
1187
8839b9e4
GS
1188/* HAS_CRYPT_R:
1189 * This symbol, if defined, indicates that the crypt_r routine
1190 * is available to crypt re-entrantly.
1191 */
1192/* CRYPT_R_PROTO:
1193 * This symbol encodes the prototype of crypt_r.
1194 */
1195/*#define HAS_CRYPT_R /**/
1196#define CRYPT_R_PROTO 0 /**/
1197
3635cd84
GS
1198/* HAS_CSH:
1199 * This symbol, if defined, indicates that the C-shell exists.
1200 */
1201/* CSH:
1202 * This symbol, if defined, contains the full pathname of csh.
1203 */
1204/*#define HAS_CSH /**/
1205#ifdef HAS_CSH
1206#define CSH "" /**/
1207#endif
1208
8839b9e4
GS
1209/* HAS_CTIME_R:
1210 * This symbol, if defined, indicates that the ctime_r routine
1211 * is available to ctime re-entrantly.
1212 */
1213/* CTIME_R_PROTO:
1214 * This symbol encodes the prototype of ctime_r.
1215 */
1216/*#define HAS_CTIME_R /**/
1217#define CTIME_R_PROTO 0 /**/
1218
3635cd84
GS
1219/* DLSYM_NEEDS_UNDERSCORE:
1220 * This symbol, if defined, indicates that we need to prepend an
1221 * underscore to the symbol name before calling dlsym(). This only
1222 * makes sense if you *have* dlsym, which we will presume is the
1223 * case if you're using dl_dlopen.xs.
1224 */
1225/*#define DLSYM_NEEDS_UNDERSCORE /**/
1226
8839b9e4
GS
1227/* HAS_DRAND48_R:
1228 * This symbol, if defined, indicates that the drand48_r routine
1229 * is available to drand48 re-entrantly.
1230 */
1231/* DRAND48_R_PROTO:
1232 * This symbol encodes the prototype of drand48_r.
1233 */
1234/*#define HAS_DRAND48_R /**/
1235#define DRAND48_R_PROTO 0 /**/
1236
3635cd84
GS
1237/* HAS_DRAND48_PROTO:
1238 * This symbol, if defined, indicates that the system provides
1239 * a prototype for the drand48() function. Otherwise, it is up
1240 * to the program to supply one. A good guess is
eb1102fc 1241 * extern double drand48(void);
3635cd84
GS
1242 */
1243/*#define HAS_DRAND48_PROTO /**/
1244
1245/* HAS_ENDGRENT:
1246 * This symbol, if defined, indicates that the getgrent routine is
1247 * available for finalizing sequential access of the group database.
1248 */
1249/*#define HAS_ENDGRENT /**/
1250
8839b9e4
GS
1251/* HAS_ENDGRENT_R:
1252 * This symbol, if defined, indicates that the endgrent_r routine
1253 * is available to endgrent re-entrantly.
1254 */
1255/* ENDGRENT_R_PROTO:
1256 * This symbol encodes the prototype of endgrent_r.
1257 */
1258/*#define HAS_ENDGRENT_R /**/
1259#define ENDGRENT_R_PROTO 0 /**/
1260
3635cd84
GS
1261/* HAS_ENDHOSTENT:
1262 * This symbol, if defined, indicates that the endhostent() routine is
1263 * available to close whatever was being used for host queries.
1264 */
1265/*#define HAS_ENDHOSTENT /**/
1266
1267/* HAS_ENDNETENT:
1268 * This symbol, if defined, indicates that the endnetent() routine is
1269 * available to close whatever was being used for network queries.
1270 */
1271/*#define HAS_ENDNETENT /**/
1272
1273/* HAS_ENDPROTOENT:
1274 * This symbol, if defined, indicates that the endprotoent() routine is
1275 * available to close whatever was being used for protocol queries.
1276 */
1277/*#define HAS_ENDPROTOENT /**/
1278
1279/* HAS_ENDPWENT:
1280 * This symbol, if defined, indicates that the getgrent routine is
1281 * available for finalizing sequential access of the passwd database.
1282 */
1283/*#define HAS_ENDPWENT /**/
1284
8839b9e4
GS
1285/* HAS_ENDPWENT_R:
1286 * This symbol, if defined, indicates that the endpwent_r routine
1287 * is available to endpwent re-entrantly.
1288 */
1289/* ENDPWENT_R_PROTO:
1290 * This symbol encodes the prototype of endpwent_r.
1291 */
1292/*#define HAS_ENDPWENT_R /**/
1293#define ENDPWENT_R_PROTO 0 /**/
1294
3635cd84
GS
1295/* HAS_ENDSERVENT:
1296 * This symbol, if defined, indicates that the endservent() routine is
1297 * available to close whatever was being used for service queries.
1298 */
1299/*#define HAS_ENDSERVENT /**/
1300
b1cada0a
GS
1301/* HAS_FCHDIR:
1302 * This symbol, if defined, indicates that the fchdir routine is
1303 * available to change directory using a file descriptor.
1304 */
1305/*#define HAS_FCHDIR /**/
1306
b69c47f4
NIS
1307/* FCNTL_CAN_LOCK:
1308 * This symbol, if defined, indicates that fcntl() can be used
1309 * for file locking. Normally on Unix systems this is defined.
1310 * It may be undefined on VMS.
1311 */
1312/*#define FCNTL_CAN_LOCK /**/
1313
c4d53692
GS
1314/* HAS_FD_SET:
1315 * This symbol, when defined, indicates presence of the fd_set typedef
1316 * in <sys/types.h>
1317 */
1318#define HAS_FD_SET /**/
1319
0543dcd8
GS
1320/* HAS_FINITE:
1321 * This symbol, if defined, indicates that the finite routine is
1322 * available to check whether a double is finite (non-infinity non-NaN).
1323 */
1324/*#define HAS_FINITE /**/
1325
1326/* HAS_FINITEL:
1327 * This symbol, if defined, indicates that the finitel routine is
1328 * available to check whether a long double is finite
1329 * (non-infinity non-NaN).
1330 */
1331/*#define HAS_FINITEL /**/
1332
3789aae2
NIS
1333/* FLEXFILENAMES:
1334 * This symbol, if defined, indicates that the system supports filenames
1335 * longer than 14 characters.
1336 */
1337#define FLEXFILENAMES /**/
1338
0543dcd8
GS
1339/* HAS_FP_CLASS:
1340 * This symbol, if defined, indicates that the fp_class routine is
1341 * available to classify doubles. Available for example in Digital UNIX.
1342 * The returned values are defined in <math.h> and are:
1343 *
1344 * FP_SNAN Signaling NaN (Not-a-Number)
1345 * FP_QNAN Quiet NaN (Not-a-Number)
1346 * FP_POS_INF +infinity
1347 * FP_NEG_INF -infinity
1348 * FP_POS_NORM Positive normalized
1349 * FP_NEG_NORM Negative normalized
1350 * FP_POS_DENORM Positive denormalized
1351 * FP_NEG_DENORM Negative denormalized
1352 * FP_POS_ZERO +0.0 (positive zero)
1353 * FP_NEG_ZERO -0.0 (negative zero)
1354 */
1355/*#define HAS_FP_CLASS /**/
1356
1357/* HAS_FPCLASS:
1358 * This symbol, if defined, indicates that the fpclass routine is
1359 * available to classify doubles. Available for example in Solaris/SVR4.
1360 * The returned values are defined in <ieeefp.h> and are:
1361 *
1362 * FP_SNAN signaling NaN
1363 * FP_QNAN quiet NaN
1364 * FP_NINF negative infinity
1365 * FP_PINF positive infinity
1366 * FP_NDENORM negative denormalized non-zero
1367 * FP_PDENORM positive denormalized non-zero
1368 * FP_NZERO negative zero
1369 * FP_PZERO positive zero
1370 * FP_NNORM negative normalized non-zero
1371 * FP_PNORM positive normalized non-zero
1372 */
1373/*#define HAS_FPCLASS /**/
1374
1375/* HAS_FPCLASSIFY:
1376 * This symbol, if defined, indicates that the fpclassify routine is
1377 * available to classify doubles. Available for example in HP-UX.
1378 * The returned values are defined in <math.h> and are
1379 *
1380 * FP_NORMAL Normalized
1381 * FP_ZERO Zero
1382 * FP_INFINITE Infinity
1383 * FP_SUBNORMAL Denormalized
1384 * FP_NAN NaN
1385 *
1386 */
1387/*#define HAS_FPCLASSIFY /**/
1388
ac135a7c
GS
1389/* HAS_FPOS64_T:
1390 * This symbol will be defined if the C compiler supports fpos64_t.
1391 */
1392/*#define HAS_FPOS64_T /**/
1393
3789aae2
NIS
1394/* HAS_FREXPL:
1395 * This symbol, if defined, indicates that the frexpl routine is
1396 * available to break a long double floating-point number into
1397 * a normalized fraction and an integral power of 2.
1398 */
1399/*#define HAS_FREXPL /**/
1400
3635cd84
GS
1401/* HAS_STRUCT_FS_DATA:
1402 * This symbol, if defined, indicates that the struct fs_data
1403 * to do statfs() is supported.
1404 */
1405/*#define HAS_STRUCT_FS_DATA /**/
1406
1407/* HAS_FSEEKO:
1408 * This symbol, if defined, indicates that the fseeko routine is
1409 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1410 */
1411/*#define HAS_FSEEKO /**/
1412
1413/* HAS_FSTATFS:
1414 * This symbol, if defined, indicates that the fstatfs routine is
1415 * available to stat filesystems by file descriptors.
1416 */
1417/*#define HAS_FSTATFS /**/
c890dc6c 1418
b69c47f4
NIS
1419/* HAS_FSYNC:
1420 * This symbol, if defined, indicates that the fsync routine is
1421 * available to write a file's modified data and attributes to
1422 * permanent storage.
1423 */
1424/*#define HAS_FSYNC /**/
1425
3635cd84
GS
1426/* HAS_FTELLO:
1427 * This symbol, if defined, indicates that the ftello routine is
1428 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1429 */
1430/*#define HAS_FTELLO /**/
1431
a835ef8a
NIS
1432/* Gconvert:
1433 * This preprocessor macro is defined to convert a floating point
1434 * number to a string without a trailing decimal point. This
1435 * emulates the behavior of sprintf("%g"), but is sometimes much more
1436 * efficient. If gconvert() is not available, but gcvt() drops the
1437 * trailing decimal point, then gcvt() is used. If all else fails,
1438 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1439 * macro are: value, number of digits, whether trailing zeros should
1440 * be retained, and the output buffer.
8839b9e4 1441 * The usual values are:
a835ef8a
NIS
1442 * d_Gconvert='gconvert((x),(n),(t),(b))'
1443 * d_Gconvert='gcvt((x),(n),(b))'
1444 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1445 * The last two assume trailing zeros should not be kept.
1446 */
1447#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1448
fe749a9f
JH
1449/* HAS_GETCWD:
1450 * This symbol, if defined, indicates that the getcwd routine is
1451 * available to get the current working directory.
1452 */
b1cada0a 1453#define HAS_GETCWD /**/
c890dc6c 1454
3789aae2
NIS
1455/* HAS_GETESPWNAM:
1456 * This symbol, if defined, indicates that the getespwnam system call is
1457 * available to retrieve enchanced (shadow) password entries by name.
1458 */
1459/*#define HAS_GETESPWNAM /**/
1460
2fcfac58
GS
1461/* HAS_GETFSSTAT:
1462 * This symbol, if defined, indicates that the getfsstat routine is
1463 * available to stat filesystems in bulk.
1464 */
1465/*#define HAS_GETFSSTAT /**/
1466
3635cd84
GS
1467/* HAS_GETGRENT:
1468 * This symbol, if defined, indicates that the getgrent routine is
1469 * available for sequential access of the group database.
a835ef8a 1470 */
3635cd84 1471/*#define HAS_GETGRENT /**/
a835ef8a 1472
8839b9e4
GS
1473/* HAS_GETGRENT_R:
1474 * This symbol, if defined, indicates that the getgrent_r routine
1475 * is available to getgrent re-entrantly.
1476 */
1477/* GETGRENT_R_PROTO:
1478 * This symbol encodes the prototype of getgrent_r.
1479 */
1480/*#define HAS_GETGRENT_R /**/
1481#define GETGRENT_R_PROTO 0 /**/
1482
1483/* HAS_GETGRGID_R:
1484 * This symbol, if defined, indicates that the getgrgid_r routine
1485 * is available to getgrgid re-entrantly.
1486 */
1487/* GETGRGID_R_PROTO:
1488 * This symbol encodes the prototype of getgrgid_r.
1489 */
1490/*#define HAS_GETGRGID_R /**/
1491#define GETGRGID_R_PROTO 0 /**/
1492
1493/* HAS_GETGRNAM_R:
1494 * This symbol, if defined, indicates that the getgrnam_r routine
1495 * is available to getgrnam re-entrantly.
1496 */
1497/* GETGRNAM_R_PROTO:
1498 * This symbol encodes the prototype of getgrnam_r.
1499 */
1500/*#define HAS_GETGRNAM_R /**/
1501#define GETGRNAM_R_PROTO 0 /**/
1502
3635cd84
GS
1503/* HAS_GETHOSTBYADDR:
1504 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1505 * available to look up hosts by their IP addresses.
be44fb0e 1506 */
3635cd84 1507#define HAS_GETHOSTBYADDR /**/
be44fb0e 1508
3635cd84
GS
1509/* HAS_GETHOSTBYNAME:
1510 * This symbol, if defined, indicates that the gethostbyname() routine is
1511 * available to look up host names in some data base or other.
a835ef8a 1512 */
3635cd84 1513#define HAS_GETHOSTBYNAME /**/
a835ef8a 1514
3635cd84
GS
1515/* HAS_GETHOSTENT:
1516 * This symbol, if defined, indicates that the gethostent() routine is
1517 * available to look up host names in some data base or another.
a835ef8a 1518 */
3635cd84 1519/*#define HAS_GETHOSTENT /**/
a835ef8a 1520
3635cd84
GS
1521/* HAS_GETHOSTNAME:
1522 * This symbol, if defined, indicates that the C program may use the
1523 * gethostname() routine to derive the host name. See also HAS_UNAME
1524 * and PHOSTNAME.
a835ef8a 1525 */
3635cd84
GS
1526/* HAS_UNAME:
1527 * This symbol, if defined, indicates that the C program may use the
1528 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1529 * and PHOSTNAME.
a835ef8a 1530 */
3635cd84
GS
1531/* PHOSTNAME:
1532 * This symbol, if defined, indicates the command to feed to the
1533 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1534 * and HAS_UNAME. Note that the command uses a fully qualified path,
1535 * so that it is safe even if used by a process with super-user
1536 * privileges.
1537 */
ac135a7c
GS
1538/* HAS_PHOSTNAME:
1539 * This symbol, if defined, indicates that the C program may use the
1540 * contents of PHOSTNAME as a command to feed to the popen() routine
1541 * to derive the host name.
1542 */
3635cd84
GS
1543#define HAS_GETHOSTNAME /**/
1544#define HAS_UNAME /**/
ac135a7c 1545/*#define HAS_PHOSTNAME /**/
3635cd84
GS
1546#ifdef HAS_PHOSTNAME
1547#define PHOSTNAME "" /* How to get the host name */
1548#endif
a835ef8a 1549
3635cd84
GS
1550/* HAS_GETHOST_PROTOS:
1551 * This symbol, if defined, indicates that <netdb.h> includes
1552 * prototypes for gethostent(), gethostbyname(), and
1553 * gethostbyaddr(). Otherwise, it is up to the program to guess
1554 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
fea7140c 1555 */
3635cd84 1556#define HAS_GETHOST_PROTOS /**/
fea7140c 1557
b8a524e9
NIS
1558/* HAS_GETITIMER:
1559 * This symbol, if defined, indicates that the getitimer routine is
1560 * available to return interval timers.
1561 */
1562/*#define HAS_GETITIMER /**/
1563
8839b9e4
GS
1564/* HAS_GETLOGIN_R:
1565 * This symbol, if defined, indicates that the getlogin_r routine
1566 * is available to getlogin re-entrantly.
1567 */
1568/* GETLOGIN_R_PROTO:
1569 * This symbol encodes the prototype of getlogin_r.
1570 */
1571/*#define HAS_GETLOGIN_R /**/
1572#define GETLOGIN_R_PROTO 0 /**/
1573
3635cd84
GS
1574/* HAS_GETMNT:
1575 * This symbol, if defined, indicates that the getmnt routine is
1576 * available to get filesystem mount info by filename.
c4d53692 1577 */
3635cd84
GS
1578/*#define HAS_GETMNT /**/
1579
1580/* HAS_GETMNTENT:
1581 * This symbol, if defined, indicates that the getmntent routine is
1582 * available to iterate through mounted file systems to get their info.
a835ef8a 1583 */
3635cd84
GS
1584/*#define HAS_GETMNTENT /**/
1585
1586/* HAS_GETNETBYADDR:
1587 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1588 * available to look up networks by their IP addresses.
a835ef8a 1589 */
3635cd84
GS
1590/*#define HAS_GETNETBYADDR /**/
1591
1592/* HAS_GETNETBYNAME:
1593 * This symbol, if defined, indicates that the getnetbyname() routine is
1594 * available to look up networks by their names.
a835ef8a 1595 */
3635cd84 1596/*#define HAS_GETNETBYNAME /**/
a835ef8a 1597
3635cd84
GS
1598/* HAS_GETNETENT:
1599 * This symbol, if defined, indicates that the getnetent() routine is
1600 * available to look up network names in some data base or another.
a835ef8a 1601 */
3635cd84
GS
1602/*#define HAS_GETNETENT /**/
1603
1604/* HAS_GETNET_PROTOS:
1605 * This symbol, if defined, indicates that <netdb.h> includes
1606 * prototypes for getnetent(), getnetbyname(), and
1607 * getnetbyaddr(). Otherwise, it is up to the program to guess
1608 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
924b3ec4 1609 */
3635cd84
GS
1610/*#define HAS_GETNET_PROTOS /**/
1611
3789aae2
NIS
1612/* HAS_GETPAGESIZE:
1613 * This symbol, if defined, indicates that the getpagesize system call
1614 * is available to get system page size, which is the granularity of
1615 * many memory management calls.
1616 */
1617/*#define HAS_GETPAGESIZE /**/
1618
3635cd84
GS
1619/* HAS_GETPROTOENT:
1620 * This symbol, if defined, indicates that the getprotoent() routine is
1621 * available to look up protocols in some data base or another.
924b3ec4 1622 */
3635cd84
GS
1623/*#define HAS_GETPROTOENT /**/
1624
b69c47f4
NIS
1625/* HAS_GETPGRP:
1626 * This symbol, if defined, indicates that the getpgrp routine is
1627 * available to get the current process group.
1628 */
1629/* USE_BSD_GETPGRP:
1630 * This symbol, if defined, indicates that getpgrp needs one
1631 * arguments whereas USG one needs none.
1632 */
1633/*#define HAS_GETPGRP /**/
1634/*#define USE_BSD_GETPGRP /**/
1635
3635cd84
GS
1636/* HAS_GETPROTOBYNAME:
1637 * This symbol, if defined, indicates that the getprotobyname()
1638 * routine is available to look up protocols by their name.
924b3ec4 1639 */
3635cd84
GS
1640/* HAS_GETPROTOBYNUMBER:
1641 * This symbol, if defined, indicates that the getprotobynumber()
1642 * routine is available to look up protocols by their number.
924b3ec4 1643 */
3635cd84
GS
1644#define HAS_GETPROTOBYNAME /**/
1645#define HAS_GETPROTOBYNUMBER /**/
a835ef8a 1646
3635cd84
GS
1647/* HAS_GETPROTO_PROTOS:
1648 * This symbol, if defined, indicates that <netdb.h> includes
1649 * prototypes for getprotoent(), getprotobyname(), and
1650 * getprotobyaddr(). Otherwise, it is up to the program to guess
1651 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
a835ef8a 1652 */
3635cd84
GS
1653#define HAS_GETPROTO_PROTOS /**/
1654
3789aae2
NIS
1655/* HAS_GETPRPWNAM:
1656 * This symbol, if defined, indicates that the getprpwnam system call is
1657 * available to retrieve protected (shadow) password entries by name.
1658 */
1659/*#define HAS_GETPRPWNAM /**/
1660
3635cd84
GS
1661/* HAS_GETPWENT:
1662 * This symbol, if defined, indicates that the getpwent routine is
1663 * available for sequential access of the passwd database.
1664 * If this is not available, the older getpw() function may be available.
924b3ec4 1665 */
3635cd84 1666/*#define HAS_GETPWENT /**/
a835ef8a 1667
8839b9e4
GS
1668/* HAS_GETPWENT_R:
1669 * This symbol, if defined, indicates that the getpwent_r routine
1670 * is available to getpwent re-entrantly.
1671 */
1672/* GETPWENT_R_PROTO:
1673 * This symbol encodes the prototype of getpwent_r.
1674 */
1675/*#define HAS_GETPWENT_R /**/
1676#define GETPWENT_R_PROTO 0 /**/
1677
1678/* HAS_GETPWNAM_R:
1679 * This symbol, if defined, indicates that the getpwnam_r routine
1680 * is available to getpwnam re-entrantly.
1681 */
1682/* GETPWNAM_R_PROTO:
1683 * This symbol encodes the prototype of getpwnam_r.
1684 */
1685/*#define HAS_GETPWNAM_R /**/
1686#define GETPWNAM_R_PROTO 0 /**/
1687
1688/* HAS_GETPWUID_R:
1689 * This symbol, if defined, indicates that the getpwuid_r routine
1690 * is available to getpwuid re-entrantly.
1691 */
1692/* GETPWUID_R_PROTO:
1693 * This symbol encodes the prototype of getpwuid_r.
1694 */
1695/*#define HAS_GETPWUID_R /**/
1696#define GETPWUID_R_PROTO 0 /**/
1697
3635cd84
GS
1698/* HAS_GETSERVENT:
1699 * This symbol, if defined, indicates that the getservent() routine is
1700 * available to look up network services in some data base or another.
a835ef8a 1701 */
3635cd84
GS
1702/*#define HAS_GETSERVENT /**/
1703
1704/* HAS_GETSERV_PROTOS:
1705 * This symbol, if defined, indicates that <netdb.h> includes
1706 * prototypes for getservent(), getservbyname(), and
1707 * getservbyaddr(). Otherwise, it is up to the program to guess
1708 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
924b3ec4 1709 */
3635cd84 1710#define HAS_GETSERV_PROTOS /**/
a835ef8a 1711
3635cd84
GS
1712/* HAS_GETSPNAM:
1713 * This symbol, if defined, indicates that the getspnam system call is
1714 * available to retrieve SysV shadow password entries by name.
a835ef8a 1715 */
3635cd84
GS
1716/*#define HAS_GETSPNAM /**/
1717
8839b9e4
GS
1718/* HAS_GETSPNAM_R:
1719 * This symbol, if defined, indicates that the getspnam_r routine
1720 * is available to getspnam re-entrantly.
1721 */
1722/* GETSPNAM_R_PROTO:
1723 * This symbol encodes the prototype of getspnam_r.
1724 */
1725/*#define HAS_GETSPNAM_R /**/
1726#define GETSPNAM_R_PROTO 0 /**/
1727
3635cd84
GS
1728/* HAS_GETSERVBYNAME:
1729 * This symbol, if defined, indicates that the getservbyname()
1730 * routine is available to look up services by their name.
a835ef8a 1731 */
3635cd84
GS
1732/* HAS_GETSERVBYPORT:
1733 * This symbol, if defined, indicates that the getservbyport()
1734 * routine is available to look up services by their port.
a835ef8a 1735 */
3635cd84
GS
1736#define HAS_GETSERVBYNAME /**/
1737#define HAS_GETSERVBYPORT /**/
a835ef8a 1738
8839b9e4
GS
1739/* HAS_GMTIME_R:
1740 * This symbol, if defined, indicates that the gmtime_r routine
1741 * is available to gmtime re-entrantly.
1742 */
1743/* GMTIME_R_PROTO:
1744 * This symbol encodes the prototype of gmtime_r.
1745 */
1746/*#define HAS_GMTIME_R /**/
1747#define GMTIME_R_PROTO 0 /**/
1748
3635cd84
GS
1749/* HAS_GNULIBC:
1750 * This symbol, if defined, indicates to the C program that
0111df86
NIS
1751 * the GNU C library is being used. A better check is to use
1752 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
a835ef8a 1753 */
3635cd84 1754/*#define HAS_GNULIBC /**/
ac135a7c
GS
1755#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1756# define _GNU_SOURCE
1757#endif
3635cd84
GS
1758/* HAS_HASMNTOPT:
1759 * This symbol, if defined, indicates that the hasmntopt routine is
1760 * available to query the mount options of file systems.
924b3ec4 1761 */
3635cd84
GS
1762/*#define HAS_HASMNTOPT /**/
1763
1764/* HAS_HTONL:
1765 * This symbol, if defined, indicates that the htonl() routine (and
1766 * friends htons() ntohl() ntohs()) are available to do network
1767 * order byte swapping.
924b3ec4 1768 */
3635cd84
GS
1769/* HAS_HTONS:
1770 * This symbol, if defined, indicates that the htons() routine (and
1771 * friends htonl() ntohl() ntohs()) are available to do network
1772 * order byte swapping.
924b3ec4 1773 */
3635cd84
GS
1774/* HAS_NTOHL:
1775 * This symbol, if defined, indicates that the ntohl() routine (and
1776 * friends htonl() htons() ntohs()) are available to do network
1777 * order byte swapping.
1778 */
1779/* HAS_NTOHS:
1780 * This symbol, if defined, indicates that the ntohs() routine (and
1781 * friends htonl() htons() ntohl()) are available to do network
1782 * order byte swapping.
1783 */
1784#define HAS_HTONL /**/
1785#define HAS_HTONS /**/
1786#define HAS_NTOHL /**/
1787#define HAS_NTOHS /**/
924b3ec4 1788
ac135a7c
GS
1789/* HAS_INT64_T:
1790 * This symbol will defined if the C compiler supports int64_t.
1791 * Usually the <inttypes.h> needs to be included, but sometimes
1792 * <sys/types.h> is enough.
1793 */
1794/*#define HAS_INT64_T /**/
1795
3635cd84
GS
1796/* HAS_ISASCII:
1797 * This manifest constant lets the C program know that isascii
1798 * is available.
07ba5892 1799 */
3635cd84 1800#define HAS_ISASCII /**/
07ba5892 1801
0543dcd8
GS
1802/* HAS_ISFINITE:
1803 * This symbol, if defined, indicates that the isfinite routine is
1804 * available to check whether a double is finite (non-infinity non-NaN).
1805 */
1806/*#define HAS_ISFINITE /**/
1807
1808/* HAS_ISINF:
1809 * This symbol, if defined, indicates that the isinf routine is
1810 * available to check whether a double is an infinity.
1811 */
1812/*#define HAS_ISINF /**/
1813
a3540c92
JH
1814/* HAS_ISNAN:
1815 * This symbol, if defined, indicates that the isnan routine is
1816 * available to check whether a double is a NaN.
1817 */
1818#define HAS_ISNAN /**/
1819
1820/* HAS_ISNANL:
1821 * This symbol, if defined, indicates that the isnanl routine is
1822 * available to check whether a long double is a NaN.
1823 */
1824/*#define HAS_ISNANL /**/
1825
3789aae2
NIS
1826/* HAS_LCHOWN:
1827 * This symbol, if defined, indicates that the lchown routine is
1828 * available to operate on a symbolic link (instead of following the
1829 * link).
1830 */
1831/*#define HAS_LCHOWN /**/
1832
3635cd84
GS
1833/* HAS_LDBL_DIG:
1834 * This symbol, if defined, indicates that this system's <float.h>
1835 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1836 * of significant digits in a long double precision number. Unlike
1837 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
104f9d64 1838 */
3635cd84
GS
1839#define HAS_LDBL_DIG /**/
1840
8839b9e4
GS
1841/* HAS_LOCALTIME_R:
1842 * This symbol, if defined, indicates that the localtime_r routine
1843 * is available to localtime re-entrantly.
1844 */
1845/* LOCALTIME_R_PROTO:
1846 * This symbol encodes the prototype of localtime_r.
1847 */
1848/*#define HAS_LOCALTIME_R /**/
1849#define LOCALTIME_R_PROTO 0 /**/
1850
3635cd84
GS
1851/* HAS_LONG_DOUBLE:
1852 * This symbol will be defined if the C compiler supports long
1853 * doubles.
104f9d64 1854 */
3635cd84
GS
1855/* LONG_DOUBLESIZE:
1856 * This symbol contains the size of a long double, so that the
1857 * C preprocessor can make decisions based on it. It is only
1858 * defined if the system supports long doubles.
924b3ec4 1859 */
3635cd84
GS
1860#define HAS_LONG_DOUBLE /**/
1861#ifdef HAS_LONG_DOUBLE
1862#define LONG_DOUBLESIZE 12 /**/
1863#endif
924b3ec4 1864
3635cd84
GS
1865/* HAS_LONG_LONG:
1866 * This symbol will be defined if the C compiler supports long long.
924b3ec4 1867 */
3635cd84
GS
1868/* LONGLONGSIZE:
1869 * This symbol contains the size of a long long, so that the
1870 * C preprocessor can make decisions based on it. It is only
1871 * defined if the system supports long long.
327c3667 1872 */
3635cd84
GS
1873/*#define HAS_LONG_LONG /**/
1874#ifdef HAS_LONG_LONG
1875#define LONGLONGSIZE 8 /**/
1876#endif
327c3667 1877
2fcfac58
GS
1878/* HAS_LSEEK_PROTO:
1879 * This symbol, if defined, indicates that the system provides
1880 * a prototype for the lseek() function. Otherwise, it is up
1881 * to the program to supply one. A good guess is
1882 * extern off_t lseek(int, off_t, int);
1883 */
1884#define HAS_LSEEK_PROTO /**/
1885
ac135a7c
GS
1886/* HAS_MADVISE:
1887 * This symbol, if defined, indicates that the madvise system call is
1888 * available to map a file into memory.
c890dc6c 1889 */
ac135a7c 1890/*#define HAS_MADVISE /**/
c890dc6c 1891
3635cd84
GS
1892/* HAS_MEMCHR:
1893 * This symbol, if defined, indicates that the memchr routine is available
1894 * to locate characters within a C string.
82839a9d 1895 */
3635cd84
GS
1896#define HAS_MEMCHR /**/
1897
ac135a7c
GS
1898/* HAS_MKDTEMP:
1899 * This symbol, if defined, indicates that the mkdtemp routine is
1900 * available to exclusively create a uniquely named temporary directory.
1901 */
1902/*#define HAS_MKDTEMP /**/
1903
1904/* HAS_MKSTEMP:
1905 * This symbol, if defined, indicates that the mkstemp routine is
1906 * available to exclusively create and open a uniquely named
1907 * temporary file.
1908 */
1909/*#define HAS_MKSTEMP /**/
1910
1911/* HAS_MKSTEMPS:
1912 * This symbol, if defined, indicates that the mkstemps routine is
1913 * available to excluslvely create and open a uniquely named
1914 * (with a suffix) temporary file.
1915 */
1916/*#define HAS_MKSTEMPS /**/
1917
1918/* HAS_MMAP:
1919 * This symbol, if defined, indicates that the mmap system call is
1920 * available to map a file into memory.
1921 */
1922/* Mmap_t:
1923 * This symbol holds the return type of the mmap() system call
1924 * (and simultaneously the type of the first argument).
1925 * Usually set to 'void *' or 'cadd_t'.
1926 */
1927/*#define HAS_MMAP /**/
1928#define Mmap_t void * /**/
1929
a3540c92
JH
1930/* HAS_MODFL:
1931 * This symbol, if defined, indicates that the modfl routine is
1932 * available to split a long double x into a fractional part f and
1933 * an integer part i such that |f| < 1.0 and (f + i) = x.
1934 */
4d3be0c7
NIS
1935/* HAS_MODFL_POW32_BUG:
1936 * This symbol, if defined, indicates that the modfl routine is
1937 * broken for long doubles >= pow(2, 32).
1938 * For example from 4294967303.150000 one would get 4294967302.000000
1939 * and 1.150000. The bug has been seen in certain versions of glibc,
1940 * release 2.2.2 is known to be okay.
1941 */
a3540c92 1942/*#define HAS_MODFL /**/
4d3be0c7 1943/*#define HAS_MODFL_POW32_BUG /**/
a3540c92 1944
3789aae2
NIS
1945/* HAS_MPROTECT:
1946 * This symbol, if defined, indicates that the mprotect system call is
1947 * available to modify the access protection of a memory mapped file.
1948 */
1949/*#define HAS_MPROTECT /**/
1950
3635cd84
GS
1951/* HAS_MSG:
1952 * This symbol, if defined, indicates that the entire msg*(2) library is
1953 * supported (IPC mechanism based on message queues).
82839a9d 1954 */
3635cd84 1955/*#define HAS_MSG /**/
82839a9d 1956
b8a524e9
NIS
1957/* HAS_STRUCT_MSGHDR:
1958 * This symbol, if defined, indicates that the struct msghdr
1959 * is supported.
1960 */
1961/*#define HAS_STRUCT_MSGHDR /**/
1962
ac135a7c
GS
1963/* HAS_OFF64_T:
1964 * This symbol will be defined if the C compiler supports off64_t.
1965 */
1966/*#define HAS_OFF64_T /**/
1967
3635cd84
GS
1968/* HAS_OPEN3:
1969 * This manifest constant lets the C program know that the three
1970 * argument form of open(2) is available.
82839a9d 1971 */
3635cd84
GS
1972/*#define HAS_OPEN3 /**/
1973
1974/* OLD_PTHREAD_CREATE_JOINABLE:
1975 * This symbol, if defined, indicates how to create pthread
1976 * in joinable (aka undetached) state. NOTE: not defined
1977 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1978 * (the new version of the constant).
1979 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1980 * and __UNDETACHED.
82839a9d 1981 */
3635cd84 1982/*#define OLD_PTHREAD_CREATE_JOINABLE /**/
82839a9d 1983
3635cd84
GS
1984/* HAS_PTHREAD_YIELD:
1985 * This symbol, if defined, indicates that the pthread_yield
1986 * routine is available to yield the execution of the current
1987 * thread. sched_yield is preferable to pthread_yield.
1988 */
1989/* SCHED_YIELD:
1990 * This symbol defines the way to yield the execution of
1991 * the current thread. Known ways are sched_yield,
1992 * pthread_yield, and pthread_yield with NULL.
1993 */
1994/* HAS_SCHED_YIELD:
1995 * This symbol, if defined, indicates that the sched_yield
1996 * routine is available to yield the execution of the current
1997 * thread. sched_yield is preferable to pthread_yield.
82839a9d 1998 */
3635cd84
GS
1999/*#define HAS_PTHREAD_YIELD /**/
2000#define SCHED_YIELD /**/
2001/*#define HAS_SCHED_YIELD /**/
82839a9d 2002
8839b9e4
GS
2003/* HAS_RANDOM_R:
2004 * This symbol, if defined, indicates that the random_r routine
2005 * is available to random re-entrantly.
2006 */
2007/* RANDOM_R_PROTO:
2008 * This symbol encodes the prototype of random_r.
2009 */
2010/*#define HAS_RANDOM_R /**/
2011#define RANDOM_R_PROTO 0 /**/
2012
2013/* HAS_READDIR_R:
2014 * This symbol, if defined, indicates that the readdir_r routine
2015 * is available to readdir re-entrantly.
2016 */
2017/* READDIR_R_PROTO:
2018 * This symbol encodes the prototype of readdir_r.
2019 */
2020/*#define HAS_READDIR_R /**/
2021#define READDIR_R_PROTO 0 /**/
2022
b8a524e9
NIS
2023/* HAS_READV:
2024 * This symbol, if defined, indicates that the readv routine is
2025 * available to do gather reads. You will also need <sys/uio.h>
2026 * and there I_SYSUIO.
2027 */
2028/*#define HAS_READV /**/
2029
2030/* HAS_RECVMSG:
2031 * This symbol, if defined, indicates that the recvmsg routine is
2032 * available to send structured socket messages.
2033 */
2034/*#define HAS_RECVMSG /**/
2035
3635cd84
GS
2036/* HAS_SAFE_BCOPY:
2037 * This symbol, if defined, indicates that the bcopy routine is available
b1cada0a 2038 * to copy potentially overlapping memory blocks. Normally, you should
3635cd84
GS
2039 * probably use memmove() or memcpy(). If neither is defined, roll your
2040 * own version.
82839a9d 2041 */
3635cd84
GS
2042/*#define HAS_SAFE_BCOPY /**/
2043
2044/* HAS_SAFE_MEMCPY:
2045 * This symbol, if defined, indicates that the memcpy routine is available
b1cada0a
GS
2046 * to copy potentially overlapping memory blocks. If you need to
2047 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2048 * use memmove() instead, if available.
82839a9d 2049 */
3635cd84 2050/*#define HAS_SAFE_MEMCPY /**/
82839a9d 2051
3635cd84
GS
2052/* HAS_SANE_MEMCMP:
2053 * This symbol, if defined, indicates that the memcmp routine is available
2054 * and can be used to compare relative magnitudes of chars with their high
2055 * bits set. If it is not defined, roll your own version.
82839a9d 2056 */
3635cd84
GS
2057#define HAS_SANE_MEMCMP /**/
2058
b69c47f4
NIS
2059/* HAS_SBRK_PROTO:
2060 * This symbol, if defined, indicates that the system provides
2061 * a prototype for the sbrk() function. Otherwise, it is up
2062 * to the program to supply one. Good guesses are
eb1102fc
NIS
2063 * extern void* sbrk(int);
2064 * extern void* sbrk(size_t);
b69c47f4
NIS
2065 */
2066/*#define HAS_SBRK_PROTO /**/
2067
3635cd84
GS
2068/* HAS_SEM:
2069 * This symbol, if defined, indicates that the entire sem*(2) library is
2070 * supported.
82839a9d 2071 */
3635cd84 2072/*#define HAS_SEM /**/
82839a9d 2073
b8a524e9
NIS
2074/* HAS_SENDMSG:
2075 * This symbol, if defined, indicates that the sendmsg routine is
2076 * available to send structured socket messages.
2077 */
2078/*#define HAS_SENDMSG /**/
2079
3635cd84
GS
2080/* HAS_SETGRENT:
2081 * This symbol, if defined, indicates that the setgrent routine is
2082 * available for initializing sequential access of the group database.
82839a9d 2083 */
3635cd84
GS
2084/*#define HAS_SETGRENT /**/
2085
8839b9e4
GS
2086/* HAS_SETGRENT_R:
2087 * This symbol, if defined, indicates that the setgrent_r routine
2088 * is available to setgrent re-entrantly.
2089 */
2090/* SETGRENT_R_PROTO:
2091 * This symbol encodes the prototype of setgrent_r.
2092 */
2093/*#define HAS_SETGRENT_R /**/
2094#define SETGRENT_R_PROTO 0 /**/
2095
3635cd84
GS
2096/* HAS_SETGROUPS:
2097 * This symbol, if defined, indicates that the setgroups() routine is
2098 * available to set the list of process groups. If unavailable, multiple
2099 * groups are probably not supported.
82839a9d 2100 */
3635cd84 2101/*#define HAS_SETGROUPS /**/
82839a9d 2102
3635cd84
GS
2103/* HAS_SETHOSTENT:
2104 * This symbol, if defined, indicates that the sethostent() routine is
2105 * available.
82839a9d 2106 */
3635cd84 2107/*#define HAS_SETHOSTENT /**/
82839a9d 2108
b8a524e9
NIS
2109/* HAS_SETITIMER:
2110 * This symbol, if defined, indicates that the setitimer routine is
2111 * available to set interval timers.
2112 */
2113/*#define HAS_SETITIMER /**/
2114
3635cd84
GS
2115/* HAS_SETNETENT:
2116 * This symbol, if defined, indicates that the setnetent() routine is
2117 * available.
924b3ec4 2118 */
3635cd84 2119/*#define HAS_SETNETENT /**/
924b3ec4 2120
3635cd84
GS
2121/* HAS_SETPROTOENT:
2122 * This symbol, if defined, indicates that the setprotoent() routine is
2123 * available.
924b3ec4 2124 */
3635cd84
GS
2125/*#define HAS_SETPROTOENT /**/
2126
b69c47f4
NIS
2127/* HAS_SETPGRP:
2128 * This symbol, if defined, indicates that the setpgrp routine is
2129 * available to set the current process group.
2130 */
2131/* USE_BSD_SETPGRP:
2132 * This symbol, if defined, indicates that setpgrp needs two
2133 * arguments whereas USG one needs none. See also HAS_SETPGID
2134 * for a POSIX interface.
2135 */
2136/*#define HAS_SETPGRP /**/
2137/*#define USE_BSD_SETPGRP /**/
2138
3789aae2
NIS
2139/* HAS_SETPROCTITLE:
2140 * This symbol, if defined, indicates that the setproctitle routine is
2141 * available to set process title.
2142 */
2143/*#define HAS_SETPROCTITLE /**/
2144
3635cd84
GS
2145/* HAS_SETPWENT:
2146 * This symbol, if defined, indicates that the setpwent routine is
2147 * available for initializing sequential access of the passwd database.
924b3ec4 2148 */
3635cd84 2149/*#define HAS_SETPWENT /**/
924b3ec4 2150
8839b9e4
GS
2151/* HAS_SETPWENT_R:
2152 * This symbol, if defined, indicates that the setpwent_r routine
2153 * is available to setpwent re-entrantly.
2154 */
2155/* SETPWENT_R_PROTO:
2156 * This symbol encodes the prototype of setpwent_r.
2157 */
2158/*#define HAS_SETPWENT_R /**/
2159#define SETPWENT_R_PROTO 0 /**/
2160
3635cd84
GS
2161/* HAS_SETSERVENT:
2162 * This symbol, if defined, indicates that the setservent() routine is
2163 * available.
e1f15930 2164 */
3635cd84 2165/*#define HAS_SETSERVENT /**/
104f9d64 2166
3635cd84
GS
2167/* HAS_SETVBUF:
2168 * This symbol, if defined, indicates that the setvbuf routine is
2169 * available to change buffering on an open stdio stream.
2170 * to a line-buffered mode.
a835ef8a 2171 */
3635cd84 2172#define HAS_SETVBUF /**/
0cd52aa3 2173
3635cd84
GS
2174/* USE_SFIO:
2175 * This symbol, if defined, indicates that sfio should
2176 * be used.
327c3667 2177 */
3635cd84 2178/*#define USE_SFIO /**/
327c3667 2179
3635cd84
GS
2180/* HAS_SHM:
2181 * This symbol, if defined, indicates that the entire shm*(2) library is
2182 * supported.
0cd52aa3 2183 */
3635cd84 2184/*#define HAS_SHM /**/
0cd52aa3 2185
3635cd84
GS
2186/* HAS_SIGACTION:
2187 * This symbol, if defined, indicates that Vr4's sigaction() routine
2188 * is available.
0cd52aa3 2189 */
3635cd84 2190/*#define HAS_SIGACTION /**/
0cd52aa3 2191
3635cd84
GS
2192/* HAS_SIGSETJMP:
2193 * This variable indicates to the C program that the sigsetjmp()
2194 * routine is available to save the calling process's registers
2195 * and stack environment for later use by siglongjmp(), and
2196 * to optionally save the process's signal mask. See
2197 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
0cd52aa3 2198 */
3635cd84
GS
2199/* Sigjmp_buf:
2200 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
327c3667 2201 */
3635cd84
GS
2202/* Sigsetjmp:
2203 * This macro is used in the same way as sigsetjmp(), but will invoke
2204 * traditional setjmp() if sigsetjmp isn't available.
2205 * See HAS_SIGSETJMP.
0cd52aa3 2206 */
3635cd84
GS
2207/* Siglongjmp:
2208 * This macro is used in the same way as siglongjmp(), but will invoke
2209 * traditional longjmp() if siglongjmp isn't available.
2210 * See HAS_SIGSETJMP.
327c3667 2211 */
3635cd84
GS
2212/*#define HAS_SIGSETJMP /**/
2213#ifdef HAS_SIGSETJMP
2214#define Sigjmp_buf sigjmp_buf
2215#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2216#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2217#else
2218#define Sigjmp_buf jmp_buf
2219#define Sigsetjmp(buf,save_mask) setjmp((buf))
2220#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2221#endif
327c3667 2222
3635cd84
GS
2223/* HAS_SOCKET:
2224 * This symbol, if defined, indicates that the BSD socket interface is
2225 * supported.
07ba5892 2226 */
3635cd84
GS
2227/* HAS_SOCKETPAIR:
2228 * This symbol, if defined, indicates that the BSD socketpair() call is
2229 * supported.
07ba5892 2230 */
3635cd84
GS
2231/* HAS_MSG_CTRUNC:
2232 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2233 * Checking just with #ifdef might not be enough because this symbol
2234 * has been known to be an enum.
07ba5892 2235 */
3635cd84
GS
2236/* HAS_MSG_DONTROUTE:
2237 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2238 * Checking just with #ifdef might not be enough because this symbol
2239 * has been known to be an enum.
9423c6fc 2240 */
3635cd84
GS
2241/* HAS_MSG_OOB:
2242 * This symbol, if defined, indicates that the MSG_OOB is supported.
2243 * Checking just with #ifdef might not be enough because this symbol
2244 * has been known to be an enum.
9423c6fc 2245 */
3635cd84
GS
2246/* HAS_MSG_PEEK:
2247 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2248 * Checking just with #ifdef might not be enough because this symbol
2249 * has been known to be an enum.
9423c6fc 2250 */
3635cd84
GS
2251/* HAS_MSG_PROXY:
2252 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2253 * Checking just with #ifdef might not be enough because this symbol
2254 * has been known to be an enum.
e1f15930 2255 */
3635cd84
GS
2256/* HAS_SCM_RIGHTS:
2257 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2258 * Checking just with #ifdef might not be enough because this symbol
2259 * has been known to be an enum.
2260 */
2261#define HAS_SOCKET /**/
2262/*#define HAS_SOCKETPAIR /**/
2263/*#define HAS_MSG_CTRUNC /**/
2264/*#define HAS_MSG_DONTROUTE /**/
2265/*#define HAS_MSG_OOB /**/
2266/*#define HAS_MSG_PEEK /**/
2267/*#define HAS_MSG_PROXY /**/
2268/*#define HAS_SCM_RIGHTS /**/
9423c6fc 2269
3789aae2
NIS
2270/* HAS_SOCKS5_INIT:
2271 * This symbol, if defined, indicates that the socks5_init routine is
2272 * available to initialize SOCKS 5.
2273 */
2274/*#define HAS_SOCKS5_INIT /**/
2275
3635cd84
GS
2276/* HAS_SQRTL:
2277 * This symbol, if defined, indicates that the sqrtl routine is
2278 * available to do long double square roots.
07ba5892 2279 */
3635cd84 2280/*#define HAS_SQRTL /**/
07ba5892 2281
8839b9e4
GS
2282/* HAS_SRAND48_R:
2283 * This symbol, if defined, indicates that the srand48_r routine
2284 * is available to srand48 re-entrantly.
2285 */
2286/* SRAND48_R_PROTO:
2287 * This symbol encodes the prototype of srand48_r.
2288 */
2289/*#define HAS_SRAND48_R /**/
2290#define SRAND48_R_PROTO 0 /**/
2291
2292/* HAS_SRANDOM_R:
2293 * This symbol, if defined, indicates that the srandom_r routine
2294 * is available to srandom re-entrantly.
2295 */
2296/* SRANDOM_R_PROTO:
2297 * This symbol encodes the prototype of srandom_r.
2298 */
2299/*#define HAS_SRANDOM_R /**/
2300#define SRANDOM_R_PROTO 0 /**/
2301
3635cd84
GS
2302/* USE_STAT_BLOCKS:
2303 * This symbol is defined if this system has a stat structure declaring
2304 * st_blksize and st_blocks.
07ba5892 2305 */
3635cd84
GS
2306#ifndef USE_STAT_BLOCKS
2307/*#define USE_STAT_BLOCKS /**/
2308#endif
07ba5892 2309
3635cd84
GS
2310/* HAS_STRUCT_STATFS_F_FLAGS:
2311 * This symbol, if defined, indicates that the struct statfs
2312 * does have the f_flags member containing the mount flags of
2313 * the filesystem containing the file.
2314 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2315 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2316 * have statfs() and struct statfs, they have ustat() and getmnt()
2317 * with struct ustat and struct fs_data.
0cd52aa3 2318 */
3635cd84 2319/*#define HAS_STRUCT_STATFS_F_FLAGS /**/
0cd52aa3 2320
3635cd84
GS
2321/* HAS_STRUCT_STATFS:
2322 * This symbol, if defined, indicates that the struct statfs
2323 * to do statfs() is supported.
0cd52aa3 2324 */
3635cd84 2325/*#define HAS_STRUCT_STATFS /**/
0cd52aa3 2326
3635cd84
GS
2327/* HAS_FSTATVFS:
2328 * This symbol, if defined, indicates that the fstatvfs routine is
2329 * available to stat filesystems by file descriptors.
07ba5892 2330 */
3635cd84 2331/*#define HAS_FSTATVFS /**/
52b0428e 2332
3635cd84
GS
2333/* USE_STDIO_PTR:
2334 * This symbol is defined if the _ptr and _cnt fields (or similar)
2335 * of the stdio FILE structure can be used to access the stdio buffer
2336 * for a file handle. If this is defined, then the FILE_ptr(fp)
2337 * and FILE_cnt(fp) macros will also be defined and should be used
2338 * to access these fields.
9036c72f 2339 */
3635cd84
GS
2340/* FILE_ptr:
2341 * This macro is used to access the _ptr field (or equivalent) of the
2342 * FILE structure pointed to by its argument. This macro will always be
2343 * defined if USE_STDIO_PTR is defined.
a835ef8a 2344 */
3635cd84
GS
2345/* STDIO_PTR_LVALUE:
2346 * This symbol is defined if the FILE_ptr macro can be used as an
2347 * lvalue.
62520c91 2348 */
3635cd84
GS
2349/* FILE_cnt:
2350 * This macro is used to access the _cnt field (or equivalent) of the
2351 * FILE structure pointed to by its argument. This macro will always be
2352 * defined if USE_STDIO_PTR is defined.
62520c91 2353 */
3635cd84
GS
2354/* STDIO_CNT_LVALUE:
2355 * This symbol is defined if the FILE_cnt macro can be used as an
2356 * lvalue.
a835ef8a 2357 */
3789aae2
NIS
2358/* STDIO_PTR_LVAL_SETS_CNT:
2359 * This symbol is defined if using the FILE_ptr macro as an lvalue
2360 * to increase the pointer by n has the side effect of decreasing the
2361 * value of File_cnt(fp) by n.
2362 */
2363/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2364 * This symbol is defined if using the FILE_ptr macro as an lvalue
2365 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2366 */
3635cd84
GS
2367#define USE_STDIO_PTR /**/
2368#ifdef USE_STDIO_PTR
2369#define FILE_ptr(fp) ((fp)->_ptr)
2370#define STDIO_PTR_LVALUE /**/
2371#define FILE_cnt(fp) ((fp)->_cnt)
2372#define STDIO_CNT_LVALUE /**/
3789aae2
NIS
2373/*#define STDIO_PTR_LVAL_SETS_CNT /**/
2374#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
9036c72f 2375#endif
a835ef8a 2376
3635cd84
GS
2377/* USE_STDIO_BASE:
2378 * This symbol is defined if the _base field (or similar) of the
2379 * stdio FILE structure can be used to access the stdio buffer for
2380 * a file handle. If this is defined, then the FILE_base(fp) macro
2381 * will also be defined and should be used to access this field.
2382 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2383 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2384 * will never be defined unless USE_STDIO_PTR is.
82839a9d 2385 */
3635cd84
GS
2386/* FILE_base:
2387 * This macro is used to access the _base field (or equivalent) of the
2388 * FILE structure pointed to by its argument. This macro will always be
2389 * defined if USE_STDIO_BASE is defined.
9423c6fc 2390 */
3635cd84
GS
2391/* FILE_bufsiz:
2392 * This macro is used to determine the number of bytes in the I/O
2393 * buffer pointed to by _base field (or equivalent) of the FILE
2394 * structure pointed to its argument. This macro will always be defined
2395 * if USE_STDIO_BASE is defined.
bbda9c9d 2396 */
3635cd84
GS
2397#define USE_STDIO_BASE /**/
2398#ifdef USE_STDIO_BASE
2399#define FILE_base(fp) ((fp)->_base)
2400#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2401#endif
bbda9c9d 2402
3635cd84
GS
2403/* HAS_STRERROR:
2404 * This symbol, if defined, indicates that the strerror routine is
2405 * available to translate error numbers to strings. See the writeup
2406 * of Strerror() in this file before you try to define your own.
e8ee3774 2407 */
3635cd84
GS
2408/* HAS_SYS_ERRLIST:
2409 * This symbol, if defined, indicates that the sys_errlist array is
2410 * available to translate error numbers to strings. The extern int
2411 * sys_nerr gives the size of that table.
82839a9d 2412 */
3635cd84
GS
2413/* Strerror:
2414 * This preprocessor symbol is defined as a macro if strerror() is
2415 * not available to translate error numbers to strings but sys_errlist[]
2416 * array is there.
924b3ec4 2417 */
3635cd84
GS
2418#define HAS_STRERROR /**/
2419#define HAS_SYS_ERRLIST /**/
2420#define Strerror(e) strerror(e)
924b3ec4 2421
8839b9e4
GS
2422/* HAS_STRERROR_R:
2423 * This symbol, if defined, indicates that the strerror_r routine
2424 * is available to strerror re-entrantly.
2425 */
2426/* STRERROR_R_PROTO:
2427 * This symbol encodes the prototype of strerror_r.
2428 */
2429/*#define HAS_STRERROR_R /**/
2430#define STRERROR_R_PROTO 0 /**/
2431
3635cd84
GS
2432/* HAS_STRTOLD:
2433 * This symbol, if defined, indicates that the strtold routine is
2434 * available to convert strings to long doubles.
c4d53692 2435 */
3635cd84 2436/*#define HAS_STRTOLD /**/
52b0428e 2437
3635cd84
GS
2438/* HAS_STRTOLL:
2439 * This symbol, if defined, indicates that the strtoll routine is
2440 * available to convert strings to long longs.
c4d53692 2441 */
3635cd84 2442/*#define HAS_STRTOLL /**/
52b0428e 2443
b69c47f4
NIS
2444/* HAS_STRTOQ:
2445 * This symbol, if defined, indicates that the strtoq routine is
2446 * available to convert strings to long longs (quads).
2447 */
2448/*#define HAS_STRTOQ /**/
2449
2450/* HAS_STRTOUL:
2451 * This symbol, if defined, indicates that the strtoul routine is
2452 * available to provide conversion of strings to unsigned long.
2453 */
2454#define HAS_STRTOUL /**/
2455
3635cd84
GS
2456/* HAS_STRTOULL:
2457 * This symbol, if defined, indicates that the strtoull routine is
2458 * available to convert strings to unsigned long longs.
52b0428e 2459 */
3635cd84 2460/*#define HAS_STRTOULL /**/
c4d53692 2461
3635cd84
GS
2462/* HAS_STRTOUQ:
2463 * This symbol, if defined, indicates that the strtouq routine is
2464 * available to convert strings to unsigned long longs (quads).
c4d53692 2465 */
3635cd84 2466/*#define HAS_STRTOUQ /**/
c4d53692
GS
2467
2468/* HAS_TELLDIR_PROTO:
2469 * This symbol, if defined, indicates that the system provides
2470 * a prototype for the telldir() function. Otherwise, it is up
2471 * to the program to supply one. A good guess is
eb1102fc 2472 * extern long telldir(DIR*);
c4d53692
GS
2473 */
2474#define HAS_TELLDIR_PROTO /**/
2475
8839b9e4
GS
2476/* HAS_TIME:
2477 * This symbol, if defined, indicates that the time() routine exists.
2478 */
3635cd84
GS
2479/* Time_t:
2480 * This symbol holds the type returned by time(). It can be long,
2481 * or time_t on BSD sites (in which case <sys/types.h> should be
2482 * included).
2483 */
8839b9e4 2484#define HAS_TIME /**/
3635cd84
GS
2485#define Time_t time_t /* Time type */
2486
2487/* HAS_TIMES:
2488 * This symbol, if defined, indicates that the times() routine exists.
2489 * Note that this became obsolete on some systems (SUNOS), which now
2490 * use getrusage(). It may be necessary to include <sys/times.h>.
2491 */
2492#define HAS_TIMES /**/
2493
8839b9e4
GS
2494/* HAS_TMPNAM_R:
2495 * This symbol, if defined, indicates that the tmpnam_r routine
2496 * is available to tmpnam re-entrantly.
2497 */
2498/* TMPNAM_R_PROTO:
2499 * This symbol encodes the prototype of tmpnam_r.
2500 */
2501/*#define HAS_TMPNAM_R /**/
2502#define TMPNAM_R_PROTO 0 /**/
2503
b8a524e9
NIS
2504/* HAS_UALARM:
2505 * This symbol, if defined, indicates that the ualarm routine is
2506 * available to do alarms with microsecond granularity.
2507 */
2508/*#define HAS_UALARM /**/
2509
3635cd84
GS
2510/* HAS_UNION_SEMUN:
2511 * This symbol, if defined, indicates that the union semun is
2512 * defined by including <sys/sem.h>. If not, the user code
2513 * probably needs to define it as:
2514 * union semun {
2515 * int val;
2516 * struct semid_ds *buf;
2517 * unsigned short *array;
2518 * }
2519 */
2520/* USE_SEMCTL_SEMUN:
2521 * This symbol, if defined, indicates that union semun is
2522 * used for semctl IPC_STAT.
2523 */
2524/* USE_SEMCTL_SEMID_DS:
2525 * This symbol, if defined, indicates that struct semid_ds * is
2526 * used for semctl IPC_STAT.
2527 */
2528#define HAS_UNION_SEMUN /**/
2529/*#define USE_SEMCTL_SEMUN /**/
2530/*#define USE_SEMCTL_SEMID_DS /**/
2531
0543dcd8
GS
2532/* HAS_UNORDERED:
2533 * This symbol, if defined, indicates that the unordered routine is
2534 * available to check whether two doubles are unordered
2535 * (effectively: whether either of them is NaN)
2536 */
2537/*#define HAS_UNORDERED /**/
2538
52b0428e
GS
2539/* HAS_USTAT:
2540 * This symbol, if defined, indicates that the ustat system call is
2541 * available to query file system statistics by dev_t.
2542 */
2543/*#define HAS_USTAT /**/
2544
3635cd84
GS
2545/* HAS_VFORK:
2546 * This symbol, if defined, indicates that vfork() exists.
2547 */
2548/*#define HAS_VFORK /**/
2549
2550/* Signal_t:
2551 * This symbol's value is either "void" or "int", corresponding to the
2552 * appropriate return type of a signal handler. Thus, you can declare
2553 * a signal handler using "Signal_t (*handler)()", and define the
2554 * handler using "Signal_t handler(sig)".
2555 */
2556#define Signal_t void /* Signal handler's return type */
2557
2558/* HAS_VPRINTF:
2559 * This symbol, if defined, indicates that the vprintf routine is available
2560 * to printf with a pointer to an argument list. If unavailable, you
2561 * may need to write your own, probably in terms of _doprnt().
2562 */
2563/* USE_CHAR_VSPRINTF:
2564 * This symbol is defined if this system has vsprintf() returning type
2565 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2566 * is up to the package author to declare vsprintf correctly based on the
2567 * symbol.
2568 */
2569#define HAS_VPRINTF /**/
2570/*#define USE_CHAR_VSPRINTF /**/
2571
b8a524e9
NIS
2572/* HAS_WRITEV:
2573 * This symbol, if defined, indicates that the writev routine is
2574 * available to do scatter writes.
2575 */
2576/*#define HAS_WRITEV /**/
2577
924b3ec4
GS
2578/* USE_DYNAMIC_LOADING:
2579 * This symbol, if defined, indicates that dynamic loading of
2580 * some sort is available.
2581 */
2582#define USE_DYNAMIC_LOADING /**/
2583
3635cd84
GS
2584/* DOUBLESIZE:
2585 * This symbol contains the size of a double, so that the C preprocessor
2586 * can make decisions based on it.
2587 */
2588#define DOUBLESIZE 8 /**/
2589
2590/* EBCDIC:
2591 * This symbol, if defined, indicates that this system uses
2592 * EBCDIC encoding.
2593 */
2594/*#define EBCDIC /**/
2595
9423c6fc
GS
2596/* FFLUSH_NULL:
2597 * This symbol, if defined, tells that fflush(NULL) does flush
2598 * all pending stdio output.
2599 */
2600/* FFLUSH_ALL:
2601 * This symbol, if defined, tells that to flush
2602 * all pending stdio output one must loop through all
2603 * the stdio file handles stored in an array and fflush them.
2604 * Note that if fflushNULL is defined, fflushall will not
2605 * even be probed for and will be left undefined.
2606 */
2607#define FFLUSH_NULL /**/
2608/*#define FFLUSH_ALL /**/
2609
3635cd84
GS
2610/* Fpos_t:
2611 * This symbol holds the type used to declare file positions in libc.
2612 * It can be fpos_t, long, uint, etc... It may be necessary to include
2613 * <sys/types.h> to get any typedef'ed information.
2614 */
2615#define Fpos_t fpos_t /* File position type */
2616
2617/* Gid_t_f:
2618 * This symbol defines the format string used for printing a Gid_t.
2619 */
2620#define Gid_t_f "ld" /**/
2621
23dcd6c8
JH
2622/* Gid_t_sign:
2623 * This symbol holds the signedess of a Gid_t.
2624 * 1 for unsigned, -1 for signed.
2625 */
2626#define Gid_t_sign -1 /* GID sign */
2627
3635cd84
GS
2628/* Gid_t_size:
2629 * This symbol holds the size of a Gid_t in bytes.
2630 */
2631#define Gid_t_size 4 /* GID size */
2632
2633/* Gid_t:
2634 * This symbol holds the return type of getgid() and the type of
2635 * argument to setrgid() and related functions. Typically,
2636 * it is the type of group ids in the kernel. It can be int, ushort,
23dcd6c8 2637 * gid_t, etc... It may be necessary to include <sys/types.h> to get
3635cd84
GS
2638 * any typedef'ed information.
2639 */
2640#define Gid_t gid_t /* Type for getgid(), etc... */
2641
2642/* Groups_t:
2643 * This symbol holds the type used for the second argument to
23dcd6c8 2644 * getgroups() and setgroups(). Usually, this is the same as
3635cd84 2645 * gidtype (gid_t) , but sometimes it isn't.
23dcd6c8 2646 * It can be int, ushort, gid_t, etc...
3635cd84
GS
2647 * It may be necessary to include <sys/types.h> to get any
2648 * typedef'ed information. This is only required if you have
6e78e524 2649 * getgroups() or setgroups()..
3635cd84
GS
2650 */
2651#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2652#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2653#endif
2654
924b3ec4
GS
2655/* DB_Prefix_t:
2656 * This symbol contains the type of the prefix structure element
2657 * in the <db.h> header file. In older versions of DB, it was
2658 * int, while in newer ones it is u_int32_t.
2659 */
2660/* DB_Hash_t:
2661 * This symbol contains the type of the prefix structure element
2662 * in the <db.h> header file. In older versions of DB, it was
2663 * int, while in newer ones it is size_t.
2664 */
4d3be0c7
NIS
2665/* DB_VERSION_MAJOR_CFG:
2666 * This symbol, if defined, defines the major version number of
2667 * Berkeley DB found in the <db.h> header when Perl was configured.
2668 */
2669/* DB_VERSION_MINOR_CFG:
2670 * This symbol, if defined, defines the minor version number of
2671 * Berkeley DB found in the <db.h> header when Perl was configured.
2672 * For DB version 1 this is always 0.
2673 */
2674/* DB_VERSION_PATCH_CFG:
2675 * This symbol, if defined, defines the patch version number of
2676 * Berkeley DB found in the <db.h> header when Perl was configured.
2677 * For DB version 1 this is always 0.
2678 */
924b3ec4
GS
2679#define DB_Hash_t int /**/
2680#define DB_Prefix_t int /**/
8839b9e4
GS
2681#define DB_VERSION_MAJOR_CFG 0 /**/
2682#define DB_VERSION_MINOR_CFG 0 /**/
2683#define DB_VERSION_PATCH_CFG 0 /**/
924b3ec4 2684
0543dcd8
GS
2685/* I_FP_CLASS:
2686 * This symbol, if defined, indicates that <fp_class.h> exists and
2687 * should be included.
2688 */
2689/*#define I_FP_CLASS /**/
2690
3635cd84
GS
2691/* I_GRP:
2692 * This symbol, if defined, indicates to the C program that it should
2693 * include <grp.h>.
2694 */
2695/* GRPASSWD:
2696 * This symbol, if defined, indicates to the C program that struct group
2697 * in <grp.h> contains gr_passwd.
2698 */
2699/*#define I_GRP /**/
2700/*#define GRPASSWD /**/
2701
2fcfac58
GS
2702/* I_IEEEFP:
2703 * This symbol, if defined, indicates that <ieeefp.h> exists and
2704 * should be included.
2705 */
2706/*#define I_IEEEFP /**/
2707
327c3667
GS
2708/* I_INTTYPES:
2709 * This symbol, if defined, indicates to the C program that it should
2710 * include <inttypes.h>.
2711 */
327c3667 2712/*#define I_INTTYPES /**/
327c3667 2713
3789aae2
NIS
2714/* I_LIBUTIL:
2715 * This symbol, if defined, indicates that <libutil.h> exists and
2716 * should be included.
2717 */
2718/*#define I_LIBUTIL /**/
2719
3635cd84
GS
2720/* I_MACH_CTHREADS:
2721 * This symbol, if defined, indicates to the C program that it should
2722 * include <mach/cthreads.h>.
2723 */
2724/*#define I_MACH_CTHREADS /**/
2725
c4d53692
GS
2726/* I_MNTENT:
2727 * This symbol, if defined, indicates that <mntent.h> exists and
2728 * should be included.
2729 */
2730/*#define I_MNTENT /**/
2731
3635cd84
GS
2732/* I_NETDB:
2733 * This symbol, if defined, indicates that <netdb.h> exists and
2734 * should be included.
2735 */
2736/*#define I_NETDB /**/
2737
9423c6fc
GS
2738/* I_NETINET_TCP:
2739 * This symbol, if defined, indicates to the C program that it should
2740 * include <netinet/tcp.h>.
2741 */
2742/*#define I_NETINET_TCP /**/
2743
c4d53692
GS
2744/* I_POLL:
2745 * This symbol, if defined, indicates that <poll.h> exists and
2746 * should be included.
2747 */
2748/*#define I_POLL /**/
2749
3789aae2
NIS
2750/* I_PROT:
2751 * This symbol, if defined, indicates that <prot.h> exists and
2752 * should be included.
2753 */
2754/*#define I_PROT /**/
2755
3635cd84
GS
2756/* I_PTHREAD:
2757 * This symbol, if defined, indicates to the C program that it should
2758 * include <pthread.h>.
2759 */
2760/*#define I_PTHREAD /**/
2761
2762/* I_PWD:
2763 * This symbol, if defined, indicates to the C program that it should
2764 * include <pwd.h>.
2765 */
2766/* PWQUOTA:
2767 * This symbol, if defined, indicates to the C program that struct passwd
2768 * contains pw_quota.
2769 */
2770/* PWAGE:
2771 * This symbol, if defined, indicates to the C program that struct passwd
2772 * contains pw_age.
2773 */
2774/* PWCHANGE:
2775 * This symbol, if defined, indicates to the C program that struct passwd
2776 * contains pw_change.
2777 */
2778/* PWCLASS:
2779 * This symbol, if defined, indicates to the C program that struct passwd
2780 * contains pw_class.
2781 */
2782/* PWEXPIRE:
2783 * This symbol, if defined, indicates to the C program that struct passwd
2784 * contains pw_expire.
2785 */
2786/* PWCOMMENT:
2787 * This symbol, if defined, indicates to the C program that struct passwd
2788 * contains pw_comment.
2789 */
2790/* PWGECOS:
2791 * This symbol, if defined, indicates to the C program that struct passwd
2792 * contains pw_gecos.
2793 */
2794/* PWPASSWD:
2795 * This symbol, if defined, indicates to the C program that struct passwd
2796 * contains pw_passwd.
2797 */
2798/*#define I_PWD /**/
2799/*#define PWQUOTA /**/
2800/*#define PWAGE /**/
2801/*#define PWCHANGE /**/
2802/*#define PWCLASS /**/
2803/*#define PWEXPIRE /**/
2804/*#define PWCOMMENT /**/
2805/*#define PWGECOS /**/
2806/*#define PWPASSWD /**/
2807
82839a9d
GS
2808/* I_SHADOW:
2809 * This symbol, if defined, indicates that <shadow.h> exists and
2810 * should be included.
2811 */
2812/*#define I_SHADOW /**/
2813
2814/* I_SOCKS:
2815 * This symbol, if defined, indicates that <socks.h> exists and
2816 * should be included.
2817 */
2818/*#define I_SOCKS /**/
2819
ac135a7c
GS
2820/* I_SUNMATH:
2821 * This symbol, if defined, indicates that <sunmath.h> exists and
2822 * should be included.
2823 */
2824/*#define I_SUNMATH /**/
2825
2826/* I_SYSLOG:
2827 * This symbol, if defined, indicates that <syslog.h> exists and
2828 * should be included.
2829 */
2830/*#define I_SYSLOG /**/
2831
2832/* I_SYSMODE:
2833 * This symbol, if defined, indicates that <sys/mode.h> exists and
2834 * should be included.
2835 */
2836/*#define I_SYSMODE /**/
2837
c4d53692
GS
2838/* I_SYS_MOUNT:
2839 * This symbol, if defined, indicates that <sys/mount.h> exists and
2840 * should be included.
2841 */
2842/*#define I_SYS_MOUNT /**/
2843
52b0428e
GS
2844/* I_SYS_STATFS:
2845 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2846 */
2847/*#define I_SYS_STATFS /**/
2848
c4d53692
GS
2849/* I_SYS_STATVFS:
2850 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2851 * should be included.
2852 */
2853/*#define I_SYS_STATVFS /**/
2854
3635cd84
GS
2855/* I_SYSUIO:
2856 * This symbol, if defined, indicates that <sys/uio.h> exists and
2857 * should be included.
2858 */
2859/*#define I_SYSUIO /**/
2860
ac135a7c
GS
2861/* I_SYSUTSNAME:
2862 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2863 * should be included.
2864 */
2865/*#define I_SYSUTSNAME /**/
2866
52b0428e
GS
2867/* I_SYS_VFS:
2868 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2869 * should be included.
2870 */
2871/*#define I_SYS_VFS /**/
2872
3635cd84
GS
2873/* I_TIME:
2874 * This symbol, if defined, indicates to the C program that it should
2875 * include <time.h>.
2876 */
2877/* I_SYS_TIME:
2878 * This symbol, if defined, indicates to the C program that it should
2879 * include <sys/time.h>.
2880 */
2881/* I_SYS_TIME_KERNEL:
2882 * This symbol, if defined, indicates to the C program that it should
2883 * include <sys/time.h> with KERNEL defined.
2884 */
8839b9e4
GS
2885/* HAS_TM_TM_ZONE:
2886 * This symbol, if defined, indicates to the C program that
2887 * the struct tm has a tm_zone field.
2888 */
3635cd84
GS
2889#define I_TIME /**/
2890/*#define I_SYS_TIME /**/
2891/*#define I_SYS_TIME_KERNEL /**/
8839b9e4 2892/*#define HAS_TM_TM_ZONE /**/
3635cd84 2893
52b0428e
GS
2894/* I_USTAT:
2895 * This symbol, if defined, indicates that <ustat.h> exists and
2896 * should be included.
2897 */
2898/*#define I_USTAT /**/
2899
3635cd84
GS
2900/* PERL_INC_VERSION_LIST:
2901 * This variable specifies the list of subdirectories in over
2902 * which perl.c:incpush() and lib/lib.pm will automatically
2903 * search when adding directories to @INC, in a format suitable
2904 * for a C initialization string. See the inc_version_list entry
2905 * in Porting/Glossary for more details.
2906 */
ac135a7c 2907#define PERL_INC_VERSION_LIST 0 /**/
3635cd84 2908
ac135a7c
GS
2909/* INSTALL_USR_BIN_PERL:
2910 * This symbol, if defined, indicates that Perl is to be installed
2911 * also as /usr/bin/perl.
327c3667 2912 */
ac135a7c 2913/*#define INSTALL_USR_BIN_PERL /**/
e8ee3774
GS
2914
2915/* PERL_PRIfldbl:
2916 * This symbol, if defined, contains the string used by stdio to
2917 * format long doubles (format 'f') for output.
327c3667 2918 */
e8ee3774
GS
2919/* PERL_PRIgldbl:
2920 * This symbol, if defined, contains the string used by stdio to
2921 * format long doubles (format 'g') for output.
327c3667 2922 */
3789aae2
NIS
2923/* PERL_PRIeldbl:
2924 * This symbol, if defined, contains the string used by stdio to
2925 * format long doubles (format 'e') for output.
2926 */
2927/* PERL_SCNfldbl:
2928 * This symbol, if defined, contains the string used by stdio to
2929 * format long doubles (format 'f') for input.
2930 */
912ec639
JH
2931/*#define PERL_PRIfldbl "f" /**/
2932/*#define PERL_PRIgldbl "g" /**/
2933/*#define PERL_PRIeldbl "e" /**/
8839b9e4 2934/*#define PERL_SCNfldbl "f" /**/
e8ee3774 2935
3635cd84
GS
2936/* Off_t:
2937 * This symbol holds the type used to declare offsets in the kernel.
2938 * It can be int, long, off_t, etc... It may be necessary to include
2939 * <sys/types.h> to get any typedef'ed information.
2940 */
2941/* LSEEKSIZE:
2942 * This symbol holds the number of bytes used by the Off_t.
2943 */
2944/* Off_t_size:
2945 * This symbol holds the number of bytes used by the Off_t.
2946 */
2947#define Off_t off_t /* <offset> type */
2948#define LSEEKSIZE 4 /* <offset> size */
2949#define Off_t_size 4 /* <offset> size */
2950
2951/* Free_t:
2952 * This variable contains the return type of free(). It is usually
2953 * void, but occasionally int.
2954 */
2955/* Malloc_t:
2956 * This symbol is the type of pointer returned by malloc and realloc.
2957 */
2958#define Malloc_t void * /**/
2959#define Free_t void /**/
2960
2961/* MYMALLOC:
2962 * This symbol, if defined, indicates that we're using our own malloc.
2963 */
2964/*#define MYMALLOC /**/
2965
2966/* Mode_t:
2967 * This symbol holds the type used to declare file modes
2968 * for systems calls. It is usually mode_t, but may be
2969 * int or unsigned short. It may be necessary to include <sys/types.h>
2970 * to get any typedef'ed information.
2971 */
2972#define Mode_t mode_t /* file mode parameter for system calls */
2973
2974/* VAL_O_NONBLOCK:
2975 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2976 * non-blocking I/O for the file descriptor. Note that there is no way
2977 * back, i.e. you cannot turn it blocking again this way. If you wish to
2978 * alternatively switch between blocking and non-blocking, use the
2979 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2980 */
2981/* VAL_EAGAIN:
2982 * This symbol holds the errno error code set by read() when no data was
2983 * present on the non-blocking file descriptor.
2984 */
2985/* RD_NODATA:
2986 * This symbol holds the return code from read() when no data is present
2987 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2988 * not defined, then you can't distinguish between no data and EOF by
2989 * issuing a read(). You'll have to find another way to tell for sure!
2990 */
2991/* EOF_NONBLOCK:
2992 * This symbol, if defined, indicates to the C program that a read() on
2993 * a non-blocking file descriptor will return 0 on EOF, and not the value
2994 * held in RD_NODATA (-1 usually, in that case!).
2995 */
2996#define VAL_O_NONBLOCK O_NONBLOCK
2997#define VAL_EAGAIN EAGAIN
2998#define RD_NODATA -1
2999#define EOF_NONBLOCK
3000
b69c47f4
NIS
3001/* NEED_VA_COPY:
3002 * This symbol, if defined, indicates that the system stores
3003 * the variable argument list datatype, va_list, in a format
3004 * that cannot be copied by simple assignment, so that some
3005 * other means must be used when copying is required.
3006 * As such systems vary in their provision (or non-provision)
3007 * of copying mechanisms, handy.h defines a platform-
3008 * independent macro, Perl_va_copy(src, dst), to do the job.
3009 */
3010/*#define NEED_VA_COPY /**/
3011
3635cd84
GS
3012/* Netdb_host_t:
3013 * This symbol holds the type used for the 1st argument
3014 * to gethostbyaddr().
3015 */
3016/* Netdb_hlen_t:
3017 * This symbol holds the type used for the 2nd argument
3018 * to gethostbyaddr().
3019 */
3020/* Netdb_name_t:
3021 * This symbol holds the type used for the argument to
3022 * gethostbyname().
3023 */
3024/* Netdb_net_t:
3025 * This symbol holds the type used for the 1st argument to
3026 * getnetbyaddr().
3027 */
3028#define Netdb_host_t char * /**/
3029#define Netdb_hlen_t int /**/
3030#define Netdb_name_t char * /**/
3031#define Netdb_net_t long /**/
3032
3789aae2
NIS
3033/* PERL_OTHERLIBDIRS:
3034 * This variable contains a colon-separated set of paths for the perl
3035 * binary to search for additional library files or modules.
3036 * These directories will be tacked to the end of @INC.
3037 * Perl will automatically search below each path for version-
3038 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3039 * for more details.
3040 */
3041/*#define PERL_OTHERLIBDIRS "" /**/
3042
539a3d6c
GS
3043/* IVTYPE:
3044 * This symbol defines the C type used for Perl's IV.
327c3667 3045 */
539a3d6c
GS
3046/* UVTYPE:
3047 * This symbol defines the C type used for Perl's UV.
327c3667 3048 */
539a3d6c
GS
3049/* I8TYPE:
3050 * This symbol defines the C type used for Perl's I8.
327c3667 3051 */
539a3d6c
GS
3052/* U8TYPE:
3053 * This symbol defines the C type used for Perl's U8.
3054 */
3055/* I16TYPE:
3056 * This symbol defines the C type used for Perl's I16.
3057 */
3058/* U16TYPE:
3059 * This symbol defines the C type used for Perl's U16.
3060 */
3061/* I32TYPE:
3062 * This symbol defines the C type used for Perl's I32.
3063 */
3064/* U32TYPE:
3065 * This symbol defines the C type used for Perl's U32.
3066 */
3067/* I64TYPE:
3068 * This symbol defines the C type used for Perl's I64.
3069 */
3070/* U64TYPE:
3071 * This symbol defines the C type used for Perl's U64.
3072 */
3073/* NVTYPE:
3074 * This symbol defines the C type used for Perl's NV.
3075 */
3076/* IVSIZE:
3077 * This symbol contains the sizeof(IV).
3078 */
3079/* UVSIZE:
3080 * This symbol contains the sizeof(UV).
3081 */
3082/* I8SIZE:
3083 * This symbol contains the sizeof(I8).
3084 */
3085/* U8SIZE:
3086 * This symbol contains the sizeof(U8).
3087 */
3088/* I16SIZE:
3089 * This symbol contains the sizeof(I16).
3090 */
3091/* U16SIZE:
3092 * This symbol contains the sizeof(U16).
3093 */
3094/* I32SIZE:
3095 * This symbol contains the sizeof(I32).
3096 */
3097/* U32SIZE:
3098 * This symbol contains the sizeof(U32).
327c3667 3099 */
539a3d6c
GS
3100/* I64SIZE:
3101 * This symbol contains the sizeof(I64).
3102 */
3103/* U64SIZE:
3104 * This symbol contains the sizeof(U64).
3105 */
3789aae2
NIS
3106/* NVSIZE:
3107 * This symbol contains the sizeof(NV).
3108 */
ac135a7c
GS
3109/* NV_PRESERVES_UV:
3110 * This symbol, if defined, indicates that a variable of type NVTYPE
3789aae2 3111 * can preserve all the bits of a variable of type UVTYPE.
d6c14000
JH
3112 */
3113/* NV_PRESERVES_UV_BITS:
3114 * This symbol contains the number of bits a variable of type NVTYPE
3115 * can preserve of a variable of type UVTYPE.
ac135a7c 3116 */
539a3d6c
GS
3117#define IVTYPE long /**/
3118#define UVTYPE unsigned long /**/
3119#define I8TYPE char /**/
3120#define U8TYPE unsigned char /**/
3121#define I16TYPE short /**/
3122#define U16TYPE unsigned short /**/
3123#define I32TYPE long /**/
3124#define U32TYPE unsigned long /**/
3125#ifdef HAS_QUAD
3126#define I64TYPE long long /**/
3127#define U64TYPE unsigned long long /**/
3128#endif
3129#define NVTYPE double /**/
3130#define IVSIZE 4 /**/
3131#define UVSIZE 4 /**/
3132#define I8SIZE 1 /**/
3133#define U8SIZE 1 /**/
3134#define I16SIZE 2 /**/
3135#define U16SIZE 2 /**/
3136#define I32SIZE 4 /**/
3137#define U32SIZE 4 /**/
3138#ifdef HAS_QUAD
3139#define I64SIZE 8 /**/
3140#define U64SIZE 8 /**/
3141#endif
3789aae2 3142#define NVSIZE 8 /**/
ac135a7c 3143#define NV_PRESERVES_UV
d6c14000 3144#define NV_PRESERVES_UV_BITS 32
539a3d6c
GS
3145
3146/* IVdf:
3147 * This symbol defines the format string used for printing a Perl IV
3148 * as a signed decimal integer.
3149 */
3150/* UVuf:
3151 * This symbol defines the format string used for printing a Perl UV
3152 * as an unsigned decimal integer.
3153 */
3154/* UVof:
3155 * This symbol defines the format string used for printing a Perl UV
3156 * as an unsigned octal integer.
3157 */
3158/* UVxf:
3159 * This symbol defines the format string used for printing a Perl UV
3789aae2 3160 * as an unsigned hexadecimal integer in lowercase abcdef.
539a3d6c 3161 */
b69c47f4
NIS
3162/* UVXf:
3163 * This symbol defines the format string used for printing a Perl UV
3164 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3165 */
fd47df60
JH
3166/* NVef:
3167 * This symbol defines the format string used for printing a Perl NV
3168 * using %e-ish floating point format.
3169 */
3170/* NVff:
3171 * This symbol defines the format string used for printing a Perl NV
3172 * using %f-ish floating point format.
3173 */
3174/* NVgf:
3175 * This symbol defines the format string used for printing a Perl NV
3176 * using %g-ish floating point format.
3177 */
539a3d6c
GS
3178#define IVdf "ld" /**/
3179#define UVuf "lu" /**/
3180#define UVof "lo" /**/
3181#define UVxf "lx" /**/
b69c47f4 3182#define UVXf "lX" /**/
fd47df60
JH
3183#define NVef "e" /**/
3184#define NVff "f" /**/
3185#define NVgf "g" /**/
327c3667 3186
3635cd84
GS
3187/* Pid_t:
3188 * This symbol holds the type used to declare process ids in the kernel.
3189 * It can be int, uint, pid_t, etc... It may be necessary to include
3190 * <sys/types.h> to get any typedef'ed information.
3191 */
3192#define Pid_t int /* PID type */
3193
3194/* PRIVLIB:
3195 * This symbol contains the name of the private library for this package.
3196 * The library is private in the sense that it needn't be in anyone's
3197 * execution path, but it should be accessible by the world. The program
3198 * should be prepared to do ~ expansion.
3199 */
3200/* PRIVLIB_EXP:
3201 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3202 * in programs that are not prepared to deal with ~ expansion at run-time.
3203 */
4282de36
JH
3204#define PRIVLIB "c:\\perl\\5.8.0\\lib" /**/
3205#define PRIVLIB_EXP (win32_get_privlib("5.8.0")) /**/
3635cd84
GS
3206
3207/* PTRSIZE:
3208 * This symbol contains the size of a pointer, so that the C preprocessor
3209 * can make decisions based on it. It will be sizeof(void *) if
3210 * the compiler supports (void *); otherwise it will be
3211 * sizeof(char *).
3212 */
3213#define PTRSIZE 4 /**/
3214
3215/* Drand01:
3216 * This macro is to be used to generate uniformly distributed
3217 * random numbers over the range [0., 1.[. You may have to supply
3218 * an 'extern double drand48();' in your program since SunOS 4.1.3
d6483fcc 3219 * doesn't provide you with anything relevant in its headers.
3635cd84
GS
3220 * See HAS_DRAND48_PROTO.
3221 */
3222/* Rand_seed_t:
3223 * This symbol defines the type of the argument of the
3224 * random seed function.
3225 */
3226/* seedDrand01:
3227 * This symbol defines the macro to be used in seeding the
3228 * random number generator (see Drand01).
3229 */
3230/* RANDBITS:
3231 * This symbol indicates how many bits are produced by the
3232 * function used to generate normalized random numbers.
3233 * Values include 15, 16, 31, and 48.
3234 */
3235#define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
3236#define Rand_seed_t unsigned /**/
3237#define seedDrand01(x) srand((Rand_seed_t)x) /**/
3238#define RANDBITS 15 /**/
3239
327c3667
GS
3240/* SELECT_MIN_BITS:
3241 * This symbol holds the minimum number of bits operated by select.
3242 * That is, if you do select(n, ...), how many bits at least will be
3243 * cleared in the masks if some activity is detected. Usually this
3244 * is either n or 32*ceil(n/32), especially many little-endians do
3245 * the latter. This is only useful if you have select(), naturally.
3246 */
3635cd84
GS
3247#define SELECT_MIN_BITS 32 /**/
3248
3249/* Select_fd_set_t:
3250 * This symbol holds the type used for the 2nd, 3rd, and 4th
3251 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3252 * is defined, and 'int *' otherwise. This is only useful if you
3253 * have select(), of course.
3254 */
3255#define Select_fd_set_t Perl_fd_set * /**/
3256
3257/* SIG_NAME:
3258 * This symbol contains a list of signal names in order of
3259 * signal number. This is intended
3260 * to be used as a static array initialization, like this:
3261 * char *sig_name[] = { SIG_NAME };
3262 * The signals in the list are separated with commas, and each signal
3263 * is surrounded by double quotes. There is no leading SIG in the signal
3264 * name, i.e. SIGQUIT is known as "QUIT".
3265 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3266 * etc., where nn is the actual signal number (e.g. NUM37).
3267 * The signal number for sig_name[i] is stored in sig_num[i].
3268 * The last element is 0 to terminate the list with a NULL. This
3269 * corresponds to the 0 at the end of the sig_num list.
3270 */
3271/* SIG_NUM:
3272 * This symbol contains a list of signal numbers, in the same order as the
3273 * SIG_NAME list. It is suitable for static array initialization, as in:
3274 * int sig_num[] = { SIG_NUM };
3275 * The signals in the list are separated with commas, and the indices
3276 * within that list and the SIG_NAME list match, so it's easy to compute
3277 * the signal name from a number or vice versa at the price of a small
3278 * dynamic linear lookup.
3279 * Duplicates are allowed, but are moved to the end of the list.
3280 * The signal number corresponding to sig_name[i] is sig_number[i].
3281 * if (i < NSIG) then sig_number[i] == i.
3282 * The last element is 0, corresponding to the 0 at the end of
3283 * the sig_name list.
3284 */
66fe0623
NIS
3285/* SIG_SIZE:
3286 * This variable contains the number of elements of the sig_name
bbbf5d77 3287 * and sig_num arrays, excluding the final NULL entry.
66fe0623 3288 */
1018e26f
NIS
3289#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
3290#define SIG_NUM 0, 1, 2, 21, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
66fe0623 3291#define SIG_SIZE 27 /**/
3635cd84
GS
3292
3293/* SITEARCH:
3294 * This symbol contains the name of the private library for this package.
3295 * The library is private in the sense that it needn't be in anyone's
3296 * execution path, but it should be accessible by the world. The program
3297 * should be prepared to do ~ expansion.
3298 * The standard distribution will put nothing in this directory.
3299 * After perl has been installed, users may install their own local
3300 * architecture-dependent modules in this directory with
3301 * MakeMaker Makefile.PL
3302 * or equivalent. See INSTALL for details.
3303 */
3304/* SITEARCH_EXP:
3305 * This symbol contains the ~name expanded version of SITEARCH, to be used
3306 * in programs that are not prepared to deal with ~ expansion at run-time.
3307 */
4282de36 3308#define SITEARCH "c:\\perl\\site\\5.8.0\\lib\\MSWin32-x86-multi-thread" /**/
3635cd84
GS
3309/*#define SITEARCH_EXP "" /**/
3310
3311/* SITELIB:
3312 * This symbol contains the name of the private library for this package.
3313 * The library is private in the sense that it needn't be in anyone's
3314 * execution path, but it should be accessible by the world. The program
3315 * should be prepared to do ~ expansion.
3316 * The standard distribution will put nothing in this directory.
3317 * After perl has been installed, users may install their own local
3318 * architecture-independent modules in this directory with
3319 * MakeMaker Makefile.PL
3320 * or equivalent. See INSTALL for details.
3321 */
3322/* SITELIB_EXP:
3323 * This symbol contains the ~name expanded version of SITELIB, to be used
3324 * in programs that are not prepared to deal with ~ expansion at run-time.
3325 */
4ea817c6
GS
3326/* SITELIB_STEM:
3327 * This define is SITELIB_EXP with any trailing version-specific component
3328 * removed. The elements in inc_version_list (inc_version_list.U) can
3329 * be tacked onto this variable to generate a list of directories to search.
3330 */
4282de36
JH
3331#define SITELIB "c:\\perl\\site\\5.8.0\\lib" /**/
3332#define SITELIB_EXP (win32_get_sitelib("5.8.0")) /**/
4ea817c6 3333#define SITELIB_STEM "" /**/
3635cd84 3334
a13ea748
JH
3335/* Size_t_size:
3336 * This symbol holds the size of a Size_t in bytes.
3337 */
91027b9e 3338#define Size_t_size 4 /**/
a13ea748 3339
3635cd84
GS
3340/* Size_t:
3341 * This symbol holds the type used to declare length parameters
3342 * for string functions. It is usually size_t, but may be
3343 * unsigned long, int, etc. It may be necessary to include
3344 * <sys/types.h> to get any typedef'ed information.
3345 */
3346#define Size_t size_t /* length paramater for string functions */
3347
2fcfac58
GS
3348/* Sock_size_t:
3349 * This symbol holds the type used for the size argument of
3350 * various socket calls (just the base type, not the pointer-to).
3351 */
3352#define Sock_size_t int /**/
3353
3635cd84
GS
3354/* SSize_t:
3355 * This symbol holds the type used by functions that return
3356 * a count of bytes or an error condition. It must be a signed type.
3357 * It is usually ssize_t, but may be long or int, etc.
3358 * It may be necessary to include <sys/types.h> or <unistd.h>
3359 * to get any typedef'ed information.
3360 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3361 */
3362#define SSize_t int /* signed count of bytes */
327c3667 3363
a835ef8a
NIS
3364/* STARTPERL:
3365 * This variable contains the string to put in front of a perl
3366 * script to make sure (one hopes) that it runs with perl and not
3367 * some shell.
3368 */
3369#define STARTPERL "#!perl" /**/
3370
b69c47f4
NIS
3371/* STDCHAR:
3372 * This symbol is defined to be the type of char used in stdio.h.
3373 * It has the values "unsigned char" or "char".
3374 */
3375#define STDCHAR char /**/
3376
9423c6fc
GS
3377/* HAS_STDIO_STREAM_ARRAY:
3378 * This symbol, if defined, tells that there is an array
3379 * holding the stdio streams.
3380 */
3381/* STDIO_STREAM_ARRAY:
3382 * This symbol tells the name of the array holding the stdio streams.
3383 * Usual values include _iob, __iob, and __sF.
3384 */
3385/*#define HAS_STDIO_STREAM_ARRAY /**/
e1f15930 3386#define STDIO_STREAM_ARRAY
9423c6fc 3387
3635cd84
GS
3388/* Uid_t_f:
3389 * This symbol defines the format string used for printing a Uid_t.
e8ee3774 3390 */
3635cd84
GS
3391#define Uid_t_f "ld" /**/
3392
23dcd6c8
JH
3393/* Uid_t_sign:
3394 * This symbol holds the signedess of a Uid_t.
3395 * 1 for unsigned, -1 for signed.
3396 */
91027b9e
GS
3397#define Uid_t_sign -1 /* UID sign */
3398
3635cd84
GS
3399/* Uid_t_size:
3400 * This symbol holds the size of a Uid_t in bytes.
3401 */
3402#define Uid_t_size 4 /* UID size */
3403
3404/* Uid_t:
3405 * This symbol holds the type used to declare user ids in the kernel.
3406 * It can be int, ushort, uid_t, etc... It may be necessary to include
3407 * <sys/types.h> to get any typedef'ed information.
3408 */
3409#define Uid_t uid_t /* UID type */
e8ee3774 3410
10cc9d2a
JH
3411/* USE_64_BIT_INT:
3412 * This symbol, if defined, indicates that 64-bit integers should
3413 * be used when available. If not defined, the native integers
3414 * will be employed (be they 32 or 64 bits). The minimal possible
3415 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3416 * This may mean using for example "long longs", while your memory
3417 * may still be limited to 2 gigabytes.
3418 */
ac135a7c
GS
3419/* USE_64_BIT_ALL:
3420 * This symbol, if defined, indicates that 64-bit integers should
3421 * be used when available. If not defined, the native integers
3422 * will be used (be they 32 or 64 bits). The maximal possible
3423 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3424 * be able to use more than 2 gigabytes of memory. This mode is
3425 * even more binary incompatible than USE_64_BIT_INT. You may not
3426 * be able to run the resulting executable in a 32-bit CPU at all or
3427 * you may need at least to reboot your OS to 64-bit mode.
3428 */
10cc9d2a
JH
3429#ifndef USE_64_BIT_INT
3430/*#define USE_64_BIT_INT /**/
c890dc6c
JH
3431#endif
3432
ac135a7c
GS
3433#ifndef USE_64_BIT_ALL
3434/*#define USE_64_BIT_ALL /**/
3435#endif
3436
e1f15930
GS
3437/* USE_LARGE_FILES:
3438 * This symbol, if defined, indicates that large file support
c890dc6c 3439 * should be used when available.
e1f15930 3440 */
539a3d6c 3441#ifndef USE_LARGE_FILES
e1f15930 3442/*#define USE_LARGE_FILES /**/
539a3d6c 3443#endif
e1f15930 3444
e8ee3774
GS
3445/* USE_LONG_DOUBLE:
3446 * This symbol, if defined, indicates that long doubles should
3447 * be used when available.
3448 */
539a3d6c 3449#ifndef USE_LONG_DOUBLE
e8ee3774 3450/*#define USE_LONG_DOUBLE /**/
539a3d6c
GS
3451#endif
3452
ac135a7c
GS
3453/* USE_MORE_BITS:
3454 * This symbol, if defined, indicates that 64-bit interfaces and
3455 * long doubles should be used when available.
3456 */
539a3d6c
GS
3457#ifndef USE_MORE_BITS
3458/*#define USE_MORE_BITS /**/
3459#endif
e8ee3774 3460
c4d53692
GS
3461/* MULTIPLICITY:
3462 * This symbol, if defined, indicates that Perl should
3463 * be built to use multiplicity.
3464 */
ac135a7c 3465#ifndef MULTIPLICITY
8c8a4ace 3466#define MULTIPLICITY /**/
539a3d6c 3467#endif
c4d53692 3468
a835ef8a
NIS
3469/* USE_PERLIO:
3470 * This symbol, if defined, indicates that the PerlIO abstraction should
3471 * be used throughout. If not defined, stdio should be
3472 * used in a fully backward compatible manner.
3473 */
539a3d6c 3474#ifndef USE_PERLIO
8fada4f6 3475#define USE_PERLIO /**/
539a3d6c 3476#endif
a835ef8a 3477
82839a9d
GS
3478/* USE_SOCKS:
3479 * This symbol, if defined, indicates that Perl should
3480 * be built to use socks.
3481 */
539a3d6c 3482#ifndef USE_SOCKS
82839a9d 3483/*#define USE_SOCKS /**/
539a3d6c 3484#endif
82839a9d 3485
bbda9c9d
GS
3486/* USE_ITHREADS:
3487 * This symbol, if defined, indicates that Perl should be built to
3488 * use the interpreter-based threading implementation.
3489 */
3490/* USE_5005THREADS:
3491 * This symbol, if defined, indicates that Perl should be built to
3492 * use the 5.005-based threading implementation.
924b3ec4 3493 */
07ba5892
GS
3494/* OLD_PTHREADS_API:
3495 * This symbol, if defined, indicates that Perl should
3496 * be built to use the old draft POSIX threads API.
3497 */
4d3be0c7
NIS
3498/* USE_REENTRANT_API:
3499 * This symbol, if defined, indicates that Perl should
3500 * try to use the various _r versions of library functions.
3501 * This is extremely experimental.
3502 */
bbda9c9d 3503/*#define USE_5005THREADS /**/
8c8a4ace 3504#define USE_ITHREADS /**/
bbda9c9d 3505#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
0543dcd8 3506#define USE_THREADS /* until src is revised*/
539a3d6c 3507#endif
07ba5892 3508/*#define OLD_PTHREADS_API /**/
4d3be0c7 3509/*#define USE_REENTRANT_API /**/
a835ef8a 3510
2fcfac58
GS
3511/* PERL_VENDORARCH:
3512 * If defined, this symbol contains the name of a private library.
3513 * The library is private in the sense that it needn't be in anyone's
3514 * execution path, but it should be accessible by the world.
3515 * It may have a ~ on the front.
3516 * The standard distribution will put nothing in this directory.
3517 * Vendors who distribute perl may wish to place their own
3518 * architecture-dependent modules and extensions in this directory with
3519 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3520 * or equivalent. See INSTALL for details.
3521 */
4ea817c6
GS
3522/* PERL_VENDORARCH_EXP:
3523 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3524 * in programs that are not prepared to deal with ~ expansion at run-time.
3525 */
2fcfac58 3526/*#define PERL_VENDORARCH "" /**/
4ea817c6
GS
3527/*#define PERL_VENDORARCH_EXP "" /**/
3528
3635cd84
GS
3529/* PERL_VENDORLIB_EXP:
3530 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3531 * in programs that are not prepared to deal with ~ expansion at run-time.
bbda9c9d 3532 */
4ea817c6
GS
3533/* PERL_VENDORLIB_STEM:
3534 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3535 * removed. The elements in inc_version_list (inc_version_list.U) can
3536 * be tacked onto this variable to generate a list of directories to search.
3537 */
3635cd84 3538/*#define PERL_VENDORLIB_EXP "" /**/
4ea817c6 3539/*#define PERL_VENDORLIB_STEM "" /**/
bbda9c9d 3540
3635cd84
GS
3541/* VOIDFLAGS:
3542 * This symbol indicates how much support of the void type is given by this
3543 * compiler. What various bits mean:
3544 *
3545 * 1 = supports declaration of void
3546 * 2 = supports arrays of pointers to functions returning void
3547 * 4 = supports comparisons between pointers to void functions and
3548 * addresses of void functions
3549 * 8 = suports declaration of generic void pointers
3550 *
3551 * The package designer should define VOIDUSED to indicate the requirements
3552 * of the package. This can be done either by #defining VOIDUSED before
3553 * including config.h, or by defining defvoidused in Myinit.U. If the
3554 * latter approach is taken, only those flags will be tested. If the
3555 * level of void support necessary is not present, defines void to int.
bdaec6b3 3556 */
3635cd84
GS
3557#ifndef VOIDUSED
3558#define VOIDUSED 15
3559#endif
3560#define VOIDFLAGS 15
3561#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3562#define void int /* is void to be avoided? */
3563#define M_VOID /* Xenix strikes again */
3564#endif
bdaec6b3 3565
ac135a7c
GS
3566/* PERL_XS_APIVERSION:
3567 * This variable contains the version of the oldest perl binary
3568 * compatible with the present perl. perl.c:incpush() and
4282de36 3569 * lib/lib.pm will automatically search in c:\\perl\\site\\5.8.0\\lib\\MSWin32-x86-multi-thread for older
ac135a7c
GS
3570 * directories across major versions back to xs_apiversion.
3571 * This is only useful if you have a perl library directory tree
3572 * structured like the default one.
3573 * See INSTALL for how this works.
3574 * The versioned site_perl directory was introduced in 5.005,
3575 * so that is the lowest possible value.
08e5223a
JH
3576 * Since this can depend on compile time options
3577 * it is set by Configure. Other non-default sources
ac135a7c
GS
3578 * of potential incompatibility, such as multiplicity, threads,
3579 * debugging, 64bits, sfio, etc., are not checked for currently,
3580 * though in principle we could go snooping around in old
3581 * Config.pm files.
3582 */
3583/* PERL_PM_APIVERSION:
3584 * This variable contains the version of the oldest perl
3585 * compatible with the present perl. (That is, pure perl modules
3586 * written for pm_apiversion will still work for the current
3587 * version). perl.c:incpush() and lib/lib.pm will automatically
4282de36 3588 * search in c:\\perl\\site\\5.8.0\\lib for older directories across major versions
ac135a7c
GS
3589 * back to pm_apiversion. This is only useful if you have a perl
3590 * library directory tree structured like the default one. The
3591 * versioned site_perl library was introduced in 5.005, so that's
3592 * the default setting for this variable. It's hard to imagine
3593 * it changing before Perl6. It is included here for symmetry
3594 * with xs_apiveprsion -- the searching algorithms will
3595 * (presumably) be similar.
3596 * See the INSTALL file for how this works.
3597 */
4282de36 3598#define PERL_XS_APIVERSION "5.8.0"
ac135a7c
GS
3599#define PERL_PM_APIVERSION "5.005"
3600
0432a43a
NIS
3601/* HAS_CRYPT:
3602 * This symbol, if defined, indicates that the crypt routine is available
3603 * to encrypt passwords and the like.
3604 */
3605/*#define HAS_CRYPT /**/
3606
7cce1706
NIS
3607/* SETUID_SCRIPTS_ARE_SECURE_NOW:
3608 * This symbol, if defined, indicates that the bug that prevents
3609 * setuid scripts from being secure is not present in this kernel.
3610 */
3611/* DOSUID:
3612 * This symbol, if defined, indicates that the C program should
3613 * check the script that it is executing for setuid/setgid bits, and
3614 * attempt to emulate setuid/setgid on systems that have disabled
3615 * setuid #! scripts because the kernel can't do it securely.
3616 * It is up to the package designer to make sure that this emulation
3617 * is done securely. Among other things, it should do an fstat on
3618 * the script it just opened to make sure it really is a setuid/setgid
3619 * script, it should make sure the arguments passed correspond exactly
3620 * to the argument on the #! line, and it should not trust any
3621 * subprocesses to which it must pass the filename rather than the
3622 * file descriptor of the script to be executed.
3623 */
3624/*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
3625/*#define DOSUID /**/
3626
6643fc8c
NIS
3627/* Shmat_t:
3628 * This symbol holds the return type of the shmat() system call.
3629 * Usually set to 'void *' or 'char *'.
3630 */
3631/* HAS_SHMAT_PROTOTYPE:
3632 * This symbol, if defined, indicates that the sys/shm.h includes
3633 * a prototype for shmat(). Otherwise, it is up to the program to
3634 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
3635 * but not always right so it should be emitted by the program only
3636 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
3637 */
3638#define Shmat_t void * /**/
3639/*#define HAS_SHMAT_PROTOTYPE /**/
3640
3641/* I_NDBM:
3642 * This symbol, if defined, indicates that <ndbm.h> exists and should
3643 * be included.
3644 */
3645/*#define I_NDBM /**/
3646
7cce1706
NIS
3647/* I_STDARG:
3648 * This symbol, if defined, indicates that <stdarg.h> exists and should
3649 * be included.
3650 */
3651/* I_VARARGS:
3652 * This symbol, if defined, indicates to the C program that it should
3653 * include <varargs.h>.
3654 */
3655#define I_STDARG /**/
3656/*#define I_VARARGS /**/
3657
6643fc8c
NIS
3658/* CAN_PROTOTYPE:
3659 * If defined, this macro indicates that the C compiler can handle
3660 * function prototypes.
3661 */
3662/* _:
3663 * This macro is used to declare function parameters for folks who want
3664 * to make declarations with prototypes using a different style than
3665 * the above macros. Use double parentheses. For example:
3666 *
3667 * int main _((int argc, char *argv[]));
3668 */
3669#define CAN_PROTOTYPE /**/
3670#ifdef CAN_PROTOTYPE
3671#define _(args) args
3672#else
3673#define _(args) ()
3674#endif
3675
0543dcd8
GS
3676/* SH_PATH:
3677 * This symbol contains the full pathname to the shell used on this
3678 * on this system to execute Bourne shell scripts. Usually, this will be
3679 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3680 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3681 * D:/bin/sh.exe.
3682 */
3683#define SH_PATH "cmd /x /c" /**/
3684
7cce1706
NIS
3685/* USE_CROSS_COMPILE:
3686 * This symbol, if defined, indicates that Perl is being cross-compiled.
3687 */
3688/* PERL_TARGETARCH:
3689 * This symbol, if defined, indicates the target architecture
3690 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3691 */
3692#ifndef USE_CROSS_COMPILE
3693/*#define USE_CROSS_COMPILE /**/
8839b9e4 3694#define PERL_TARGETARCH "" /**/
7cce1706
NIS
3695#endif
3696
4d3be0c7
NIS
3697/* HAS_DBMINIT_PROTO:
3698 * This symbol, if defined, indicates that the system provides
3699 * a prototype for the dbminit() function. Otherwise, it is up
3700 * to the program to supply one. A good guess is
3701 * extern int dbminit(char *);
3702 */
3703/*#define HAS_DBMINIT_PROTO /**/
3704
0543dcd8
GS
3705/* HAS_DIRFD:
3706 * This manifest constant lets the C program know that dirfd
3707 * is available.
3708 */
3709/*#define HAS_DIRFD /**/
3710
4d3be0c7
NIS
3711/* HAS_FLOCK_PROTO:
3712 * This symbol, if defined, indicates that the system provides
3713 * a prototype for the flock() function. Otherwise, it is up
3714 * to the program to supply one. A good guess is
3715 * extern int flock(int, int);
3716 */
6e21dc91 3717#define HAS_FLOCK_PROTO /**/
4d3be0c7 3718
0543dcd8
GS
3719/* HAS_FPCLASSL:
3720 * This symbol, if defined, indicates that the fpclassl routine is
3721 * available to classify long doubles. Available for example in IRIX.
3722 * The returned values are defined in <ieeefp.h> and are:
3723 *
3724 * FP_SNAN signaling NaN
3725 * FP_QNAN quiet NaN
3726 * FP_NINF negative infinity
3727 * FP_PINF positive infinity
3728 * FP_NDENORM negative denormalized non-zero
3729 * FP_PDENORM positive denormalized non-zero
3730 * FP_NZERO negative zero
3731 * FP_PZERO positive zero
3732 * FP_NNORM negative normalized non-zero
3733 * FP_PNORM positive normalized non-zero
3734 */
3735/*#define HAS_FPCLASSL /**/
3736
b1cada0a
GS
3737/* HAS_NL_LANGINFO:
3738 * This symbol, if defined, indicates that the nl_langinfo routine is
3739 * available to return local data. You will also need <langinfo.h>
3740 * and therefore I_LANGINFO.
3741 */
3742/*#define HAS_NL_LANGINFO /**/
3743
0543dcd8
GS
3744/* HAS_PROCSELFEXE:
3745 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3746 * to the absolute pathname of the executing program.
3747 */
3748/* PROCSELFEXE_PATH:
3749 * If HAS_PROCSELFEXE is defined this symbol is the filename
3750 * of the symbolic link pointing to the absolute pathname of
3751 * the executing program.
3752 */
3753/*#define HAS_PROCSELFEXE /**/
3754#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3755#define PROCSELFEXE_PATH /**/
3756#endif
3757
b69c47f4
NIS
3758/* HAS_SIGPROCMASK:
3759 * This symbol, if defined, indicates that the sigprocmask
3760 * system call is available to examine or change the signal mask
3761 * of the calling process.
3789aae2 3762 */
b69c47f4 3763/*#define HAS_SIGPROCMASK /**/
91027b9e 3764
b8a524e9
NIS
3765/* HAS_SOCKATMARK:
3766 * This symbol, if defined, indicates that the sockatmark routine is
3767 * available to test whether a socket is at the out-of-band mark.
3768 */
3769/*#define HAS_SOCKATMARK /**/
3770
4d3be0c7
NIS
3771/* HAS_SOCKATMARK_PROTO:
3772 * This symbol, if defined, indicates that the system provides
3773 * a prototype for the sockatmark() function. Otherwise, it is up
3774 * to the program to supply one. A good guess is
eb1102fc 3775 * extern int sockatmark(int);
4d3be0c7
NIS
3776 */
3777/*#define HAS_SOCKATMARK_PROTO /**/
3778
3779/* HAS_SETRESGID_PROTO:
3780 * This symbol, if defined, indicates that the system provides
3781 * a prototype for the setresgid() function. Otherwise, it is up
3782 * to the program to supply one. Good guesses are
3783 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3784 */
3785/*#define HAS_SETRESGID_PROTO /**/
3786
3787/* HAS_SETRESUID_PROTO:
3788 * This symbol, if defined, indicates that the system provides
3789 * a prototype for the setresuid() function. Otherwise, it is up
3790 * to the program to supply one. Good guesses are
3791 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3792 */
3793/*#define HAS_SETRESUID_PROTO /**/
3794
bc69c33c
NIS
3795/* HAS_STRFTIME:
3796 * This symbol, if defined, indicates that the strftime routine is
3797 * available to do time formatting.
3798 */
3799#define HAS_STRFTIME /**/
3800
4d3be0c7
NIS
3801/* HAS_SYSCALL_PROTO:
3802 * This symbol, if defined, indicates that the system provides
3803 * a prototype for the syscall() function. Otherwise, it is up
3804 * to the program to supply one. Good guesses are
3805 * extern int syscall(int, ...);
3806 * extern int syscall(long, ...);
3807 */
3808/*#define HAS_SYSCALL_PROTO /**/
3809
b8a524e9
NIS
3810/* U32_ALIGNMENT_REQUIRED:
3811 * This symbol, if defined, indicates that you must access
3812 * character data through U32-aligned pointers.
3813 */
8839b9e4 3814#ifndef U32_ALIGNMENT_REQUIRED
b8a524e9 3815#define U32_ALIGNMENT_REQUIRED /**/
8839b9e4 3816#endif
b8a524e9 3817
4d3be0c7
NIS
3818/* HAS_USLEEP_PROTO:
3819 * This symbol, if defined, indicates that the system provides
3820 * a prototype for the usleep() function. Otherwise, it is up
3821 * to the program to supply one. A good guess is
3822 * extern int usleep(useconds_t);
3823 */
3824/*#define HAS_USLEEP_PROTO /**/
3825
8839b9e4
GS
3826/* I_CRYPT:
3827 * This symbol, if defined, indicates that <crypt.h> exists and
3828 * should be included.
3829 */
3830/*#define I_CRYPT /**/
3831
0543dcd8
GS
3832/* I_FP:
3833 * This symbol, if defined, indicates that <fp.h> exists and
3834 * should be included.
3835 */
3836/*#define I_FP /**/
3837
b1cada0a
GS
3838/* I_LANGINFO:
3839 * This symbol, if defined, indicates that <langinfo.h> exists and
3840 * should be included.
3841 */
3842/*#define I_LANGINFO /**/
3843
8839b9e4
GS
3844/* HAS_CTERMID_R:
3845 * This symbol, if defined, indicates that the ctermid_r routine
3846 * is available to ctermid re-entrantly.
3847 */
3848/* CTERMID_R_PROTO:
3849 * This symbol encodes the prototype of ctermid_r.
3850 */
3851/*#define HAS_CTERMID_R /**/
3852#define CTERMID_R_PROTO 0 /**/
3853
3854/* HAS_ENDHOSTENT_R:
3855 * This symbol, if defined, indicates that the endhostent_r routine
3856 * is available to endhostent re-entrantly.
3857 */
3858/* ENDHOSTENT_R_PROTO:
3859 * This symbol encodes the prototype of endhostent_r.
3860 */
3861/*#define HAS_ENDHOSTENT_R /**/
3862#define ENDHOSTENT_R_PROTO 0 /**/
3863
3864/* HAS_ENDNETENT_R:
3865 * This symbol, if defined, indicates that the endnetent_r routine
3866 * is available to endnetent re-entrantly.
3867 */
3868/* ENDNETENT_R_PROTO:
3869 * This symbol encodes the prototype of endnetent_r.
3870 */
3871/*#define HAS_ENDNETENT_R /**/
3872#define ENDNETENT_R_PROTO 0 /**/
3873
3874/* HAS_ENDPROTOENT_R:
3875 * This symbol, if defined, indicates that the endprotoent_r routine
3876 * is available to endprotoent re-entrantly.
3877 */
3878/* ENDPROTOENT_R_PROTO:
3879 * This symbol encodes the prototype of endprotoent_r.
3880 */
3881/*#define HAS_ENDPROTOENT_R /**/
3882#define ENDPROTOENT_R_PROTO 0 /**/
3883
3884/* HAS_ENDSERVENT_R:
3885 * This symbol, if defined, indicates that the endservent_r routine
3886 * is available to endservent re-entrantly.
3887 */
3888/* ENDSERVENT_R_PROTO:
3889 * This symbol encodes the prototype of endservent_r.
3890 */
3891/*#define HAS_ENDSERVENT_R /**/
3892#define ENDSERVENT_R_PROTO 0 /**/
3893
3894/* HAS_GETHOSTBYADDR_R:
3895 * This symbol, if defined, indicates that the gethostbyaddr_r routine
3896 * is available to gethostbyaddr re-entrantly.
3897 */
3898/* GETHOSTBYADDR_R_PROTO:
3899 * This symbol encodes the prototype of gethostbyaddr_r.
3900 */
3901/*#define HAS_GETHOSTBYADDR_R /**/
3902#define GETHOSTBYADDR_R_PROTO 0 /**/
3903
3904/* HAS_GETHOSTBYNAME_R:
3905 * This symbol, if defined, indicates that the gethostbyname_r routine
3906 * is available to gethostbyname re-entrantly.
3907 */
3908/* GETHOSTBYNAME_R_PROTO:
3909 * This symbol encodes the prototype of gethostbyname_r.
3910 */
3911/*#define HAS_GETHOSTBYNAME_R /**/
3912#define GETHOSTBYNAME_R_PROTO 0 /**/
3913
3914/* HAS_GETHOSTENT_R:
3915 * This symbol, if defined, indicates that the gethostent_r routine
3916 * is available to gethostent re-entrantly.
3917 */
3918/* GETHOSTENT_R_PROTO:
3919 * This symbol encodes the prototype of gethostent_r.
3920 */
3921/*#define HAS_GETHOSTENT_R /**/
3922#define GETHOSTENT_R_PROTO 0 /**/
3923
3924/* HAS_GETNETBYADDR_R:
3925 * This symbol, if defined, indicates that the getnetbyaddr_r routine
3926 * is available to getnetbyaddr re-entrantly.
3927 */
3928/* GETNETBYADDR_R_PROTO:
3929 * This symbol encodes the prototype of getnetbyaddr_r.
3930 */
3931/*#define HAS_GETNETBYADDR_R /**/
3932#define GETNETBYADDR_R_PROTO 0 /**/
3933
3934/* HAS_GETNETBYNAME_R:
3935 * This symbol, if defined, indicates that the getnetbyname_r routine
3936 * is available to getnetbyname re-entrantly.
3937 */
3938/* GETNETBYNAME_R_PROTO:
3939 * This symbol encodes the prototype of getnetbyname_r.
3940 */
3941/*#define HAS_GETNETBYNAME_R /**/
3942#define GETNETBYNAME_R_PROTO 0 /**/
3943
3944/* HAS_GETNETENT_R:
3945 * This symbol, if defined, indicates that the getnetent_r routine
3946 * is available to getnetent re-entrantly.
3947 */
3948/* GETNETENT_R_PROTO:
3949 * This symbol encodes the prototype of getnetent_r.
3950 */
3951/*#define HAS_GETNETENT_R /**/
3952#define GETNETENT_R_PROTO 0 /**/
3953
3954/* HAS_GETPROTOBYNAME_R:
3955 * This symbol, if defined, indicates that the getprotobyname_r routine
3956 * is available to getprotobyname re-entrantly.
3957 */
3958/* GETPROTOBYNAME_R_PROTO:
3959 * This symbol encodes the prototype of getprotobyname_r.
3960 */
3961/*#define HAS_GETPROTOBYNAME_R /**/
3962#define GETPROTOBYNAME_R_PROTO 0 /**/
3963
3964/* HAS_GETPROTOBYNUMBER_R:
3965 * This symbol, if defined, indicates that the getprotobynumber_r routine
3966 * is available to getprotobynumber re-entrantly.
3967 */
3968/* GETPROTOBYNUMBER_R_PROTO:
3969 * This symbol encodes the prototype of getprotobynumber_r.
3970 */
3971/*#define HAS_GETPROTOBYNUMBER_R /**/
3972#define GETPROTOBYNUMBER_R_PROTO 0 /**/
3973
3974/* HAS_GETPROTOENT_R:
3975 * This symbol, if defined, indicates that the getprotoent_r routine
3976 * is available to getprotoent re-entrantly.
3977 */
3978/* GETPROTOENT_R_PROTO:
3979 * This symbol encodes the prototype of getprotoent_r.
3980 */
3981/*#define HAS_GETPROTOENT_R /**/
3982#define GETPROTOENT_R_PROTO 0 /**/
3983
3984/* HAS_GETSERVBYNAME_R:
3985 * This symbol, if defined, indicates that the getservbyname_r routine
3986 * is available to getservbyname re-entrantly.
3987 */
3988/* GETSERVBYNAME_R_PROTO:
3989 * This symbol encodes the prototype of getservbyname_r.
3990 */
3991/*#define HAS_GETSERVBYNAME_R /**/
3992#define GETSERVBYNAME_R_PROTO 0 /**/
3993
3994/* HAS_GETSERVBYPORT_R:
3995 * This symbol, if defined, indicates that the getservbyport_r routine
3996 * is available to getservbyport re-entrantly.
3997 */
3998/* GETSERVBYPORT_R_PROTO:
3999 * This symbol encodes the prototype of getservbyport_r.
4000 */
4001/*#define HAS_GETSERVBYPORT_R /**/
4002#define GETSERVBYPORT_R_PROTO 0 /**/
4003
4004/* HAS_GETSERVENT_R:
4005 * This symbol, if defined, indicates that the getservent_r routine
4006 * is available to getservent re-entrantly.
4007 */
4008/* GETSERVENT_R_PROTO:
4009 * This symbol encodes the prototype of getservent_r.
4010 */
4011/*#define HAS_GETSERVENT_R /**/
4012#define GETSERVENT_R_PROTO 0 /**/
4013
d6483fcc
JH
4014/* HAS_PTHREAD_ATFORK:
4015 * This symbol, if defined, indicates that the pthread_atfork routine
4016 * is available setup fork handlers.
4017 */
4018/*#define HAS_PTHREAD_ATFORK /**/
4019
8839b9e4
GS
4020/* HAS_READDIR64_R:
4021 * This symbol, if defined, indicates that the readdir64_r routine
4022 * is available to readdir64 re-entrantly.
4023 */
4024/* READDIR64_R_PROTO:
4025 * This symbol encodes the prototype of readdir64_r.
4026 */
4027/*#define HAS_READDIR64_R /**/
4028#define READDIR64_R_PROTO 0 /**/
4029
4030/* HAS_SETHOSTENT_R:
4031 * This symbol, if defined, indicates that the sethostent_r routine
4032 * is available to sethostent re-entrantly.
4033 */
4034/* SETHOSTENT_R_PROTO:
4035 * This symbol encodes the prototype of sethostent_r.
4036 */
4037/*#define HAS_SETHOSTENT_R /**/
4038#define SETHOSTENT_R_PROTO 0 /**/
4039
4040/* HAS_SETLOCALE_R:
4041 * This symbol, if defined, indicates that the setlocale_r routine
4042 * is available to setlocale re-entrantly.
4043 */
4044/* SETLOCALE_R_PROTO:
4045 * This symbol encodes the prototype of setlocale_r.
4046 */
4047/*#define HAS_SETLOCALE_R /**/
4048#define SETLOCALE_R_PROTO 0 /**/
4049
4050/* HAS_SETNETENT_R:
4051 * This symbol, if defined, indicates that the setnetent_r routine
4052 * is available to setnetent re-entrantly.
4053 */
4054/* SETNETENT_R_PROTO:
4055 * This symbol encodes the prototype of setnetent_r.
4056 */
4057/*#define HAS_SETNETENT_R /**/
4058#define SETNETENT_R_PROTO 0 /**/
4059
4060/* HAS_SETPROTOENT_R:
4061 * This symbol, if defined, indicates that the setprotoent_r routine
4062 * is available to setprotoent re-entrantly.
4063 */
4064/* SETPROTOENT_R_PROTO:
4065 * This symbol encodes the prototype of setprotoent_r.
4066 */
4067/*#define HAS_SETPROTOENT_R /**/
4068#define SETPROTOENT_R_PROTO 0 /**/
4069
4070/* HAS_SETSERVENT_R:
4071 * This symbol, if defined, indicates that the setservent_r routine
4072 * is available to setservent re-entrantly.
4073 */
4074/* SETSERVENT_R_PROTO:
4075 * This symbol encodes the prototype of setservent_r.
4076 */
4077/*#define HAS_SETSERVENT_R /**/
4078#define SETSERVENT_R_PROTO 0 /**/
4079
4080/* HAS_TTYNAME_R:
4081 * This symbol, if defined, indicates that the ttyname_r routine
4082 * is available to ttyname re-entrantly.
4083 */
4084/* TTYNAME_R_PROTO:
4085 * This symbol encodes the prototype of ttyname_r.
4086 */
4087/*#define HAS_TTYNAME_R /**/
4088#define TTYNAME_R_PROTO 0 /**/
4089
a835ef8a 4090#endif