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