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