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