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