1 /* include/HsBaseConfig.h. Generated from HsBaseConfig.h.in by configure. */ 2 /* include/HsBaseConfig.h.in. Generated from configure.ac by autoheader. */ 3 4 /* The value of E2BIG. */ 5 #define CONST_E2BIG 7 6 7 /* The value of EACCES. */ 8 #define CONST_EACCES 13 9 10 /* The value of EADDRINUSE. */ 11 #define CONST_EADDRINUSE 48 12 13 /* The value of EADDRNOTAVAIL. */ 14 #define CONST_EADDRNOTAVAIL 49 15 16 /* The value of EADV. */ 17 #define CONST_EADV -1 18 19 /* The value of EAFNOSUPPORT. */ 20 #define CONST_EAFNOSUPPORT 47 21 22 /* The value of EAGAIN. */ 23 #define CONST_EAGAIN 35 24 25 /* The value of EALREADY. */ 26 #define CONST_EALREADY 37 27 28 /* The value of EBADF. */ 29 #define CONST_EBADF 9 30 31 /* The value of EBADMSG. */ 32 #define CONST_EBADMSG 89 33 34 /* The value of EBADRPC. */ 35 #define CONST_EBADRPC 72 36 37 /* The value of EBUSY. */ 38 #define CONST_EBUSY 16 39 40 /* The value of ECHILD. */ 41 #define CONST_ECHILD 10 42 43 /* The value of ECOMM. */ 44 #define CONST_ECOMM -1 45 46 /* The value of ECONNABORTED. */ 47 #define CONST_ECONNABORTED 53 48 49 /* The value of ECONNREFUSED. */ 50 #define CONST_ECONNREFUSED 61 51 52 /* The value of ECONNRESET. */ 53 #define CONST_ECONNRESET 54 54 55 /* The value of EDEADLK. */ 56 #define CONST_EDEADLK 11 57 58 /* The value of EDESTADDRREQ. */ 59 #define CONST_EDESTADDRREQ 39 60 61 /* The value of EDIRTY. */ 62 #define CONST_EDIRTY -1 63 64 /* The value of EDOM. */ 65 #define CONST_EDOM 33 66 67 /* The value of EDQUOT. */ 68 #define CONST_EDQUOT 69 69 70 /* The value of EEXIST. */ 71 #define CONST_EEXIST 17 72 73 /* The value of EFAULT. */ 74 #define CONST_EFAULT 14 75 76 /* The value of EFBIG. */ 77 #define CONST_EFBIG 27 78 79 /* The value of EFTYPE. */ 80 #define CONST_EFTYPE 79 81 82 /* The value of EHOSTDOWN. */ 83 #define CONST_EHOSTDOWN 64 84 85 /* The value of EHOSTUNREACH. */ 86 #define CONST_EHOSTUNREACH 65 87 88 /* The value of EIDRM. */ 89 #define CONST_EIDRM 82 90 91 /* The value of EILSEQ. */ 92 #define CONST_EILSEQ 86 93 94 /* The value of EINPROGRESS. */ 95 #define CONST_EINPROGRESS 36 96 97 /* The value of EINTR. */ 98 #define CONST_EINTR 4 99 100 /* The value of EINVAL. */ 101 #define CONST_EINVAL 22 102 103 /* The value of EIO. */ 104 #define CONST_EIO 5 105 106 /* The value of EISCONN. */ 107 #define CONST_EISCONN 56 108 109 /* The value of EISDIR. */ 110 #define CONST_EISDIR 21 111 112 /* The value of ELOOP. */ 113 #define CONST_ELOOP 62 114 115 /* The value of EMFILE. */ 116 #define CONST_EMFILE 24 117 118 /* The value of EMLINK. */ 119 #define CONST_EMLINK 31 120 121 /* The value of EMSGSIZE. */ 122 #define CONST_EMSGSIZE 40 123 124 /* The value of EMULTIHOP. */ 125 #define CONST_EMULTIHOP 90 126 127 /* The value of ENAMETOOLONG. */ 128 #define CONST_ENAMETOOLONG 63 129 130 /* The value of ENETDOWN. */ 131 #define CONST_ENETDOWN 50 132 133 /* The value of ENETRESET. */ 134 #define CONST_ENETRESET 52 135 136 /* The value of ENETUNREACH. */ 137 #define CONST_ENETUNREACH 51 138 139 /* The value of ENFILE. */ 140 #define CONST_ENFILE 23 141 142 /* The value of ENOBUFS. */ 143 #define CONST_ENOBUFS 55 144 145 /* The value of ENOCIGAR. */ 146 #define CONST_ENOCIGAR -1 147 148 /* The value of ENODATA. */ 149 #define CONST_ENODATA -1 150 151 /* The value of ENODEV. */ 152 #define CONST_ENODEV 19 153 154 /* The value of ENOENT. */ 155 #define CONST_ENOENT 2 156 157 /* The value of ENOEXEC. */ 158 #define CONST_ENOEXEC 8 159 160 /* The value of ENOLCK. */ 161 #define CONST_ENOLCK 77 162 163 /* The value of ENOLINK. */ 164 #define CONST_ENOLINK 91 165 166 /* The value of ENOMEM. */ 167 #define CONST_ENOMEM 12 168 169 /* The value of ENOMSG. */ 170 #define CONST_ENOMSG 83 171 172 /* The value of ENONET. */ 173 #define CONST_ENONET -1 174 175 /* The value of ENOPROTOOPT. */ 176 #define CONST_ENOPROTOOPT 42 177 178 /* The value of ENOSPC. */ 179 #define CONST_ENOSPC 28 180 181 /* The value of ENOSR. */ 182 #define CONST_ENOSR -1 183 184 /* The value of ENOSTR. */ 185 #define CONST_ENOSTR -1 186 187 /* The value of ENOSYS. */ 188 #define CONST_ENOSYS 78 189 190 /* The value of ENOTBLK. */ 191 #define CONST_ENOTBLK 15 192 193 /* The value of ENOTCONN. */ 194 #define CONST_ENOTCONN 57 195 196 /* The value of ENOTDIR. */ 197 #define CONST_ENOTDIR 20 198 199 /* The value of ENOTEMPTY. */ 200 #define CONST_ENOTEMPTY 66 201 202 /* The value of ENOTSOCK. */ 203 #define CONST_ENOTSOCK 38 204 205 /* The value of ENOTSUP. */ 206 #define CONST_ENOTSUP 45 207 208 /* The value of ENOTTY. */ 209 #define CONST_ENOTTY 25 210 211 /* The value of ENXIO. */ 212 #define CONST_ENXIO 6 213 214 /* The value of EOPNOTSUPP. */ 215 #define CONST_EOPNOTSUPP 45 216 217 /* The value of EPERM. */ 218 #define CONST_EPERM 1 219 220 /* The value of EPFNOSUPPORT. */ 221 #define CONST_EPFNOSUPPORT 46 222 223 /* The value of EPIPE. */ 224 #define CONST_EPIPE 32 225 226 /* The value of EPROCLIM. */ 227 #define CONST_EPROCLIM 67 228 229 /* The value of EPROCUNAVAIL. */ 230 #define CONST_EPROCUNAVAIL 76 231 232 /* The value of EPROGMISMATCH. */ 233 #define CONST_EPROGMISMATCH 75 234 235 /* The value of EPROGUNAVAIL. */ 236 #define CONST_EPROGUNAVAIL 74 237 238 /* The value of EPROTO. */ 239 #define CONST_EPROTO 92 240 241 /* The value of EPROTONOSUPPORT. */ 242 #define CONST_EPROTONOSUPPORT 43 243 244 /* The value of EPROTOTYPE. */ 245 #define CONST_EPROTOTYPE 41 246 247 /* The value of ERANGE. */ 248 #define CONST_ERANGE 34 249 250 /* The value of EREMCHG. */ 251 #define CONST_EREMCHG -1 252 253 /* The value of EREMOTE. */ 254 #define CONST_EREMOTE 71 255 256 /* The value of EROFS. */ 257 #define CONST_EROFS 30 258 259 /* The value of ERPCMISMATCH. */ 260 #define CONST_ERPCMISMATCH 73 261 262 /* The value of ERREMOTE. */ 263 #define CONST_ERREMOTE -1 264 265 /* The value of ESHUTDOWN. */ 266 #define CONST_ESHUTDOWN 58 267 268 /* The value of ESOCKTNOSUPPORT. */ 269 #define CONST_ESOCKTNOSUPPORT 44 270 271 /* The value of ESPIPE. */ 272 #define CONST_ESPIPE 29 273 274 /* The value of ESRCH. */ 275 #define CONST_ESRCH 3 276 277 /* The value of ESRMNT. */ 278 #define CONST_ESRMNT -1 279 280 /* The value of ESTALE. */ 281 #define CONST_ESTALE 70 282 283 /* The value of ETIME. */ 284 #define CONST_ETIME -1 285 286 /* The value of ETIMEDOUT. */ 287 #define CONST_ETIMEDOUT 60 288 289 /* The value of ETOOMANYREFS. */ 290 #define CONST_ETOOMANYREFS 59 291 292 /* The value of ETXTBSY. */ 293 #define CONST_ETXTBSY 26 294 295 /* The value of EUSERS. */ 296 #define CONST_EUSERS 68 297 298 /* The value of EWOULDBLOCK. */ 299 #define CONST_EWOULDBLOCK 35 300 301 /* The value of EXDEV. */ 302 #define CONST_EXDEV 18 303 304 /* The value of O_BINARY. */ 305 #define CONST_O_BINARY 0 306 307 /* The value of SIGINT. */ 308 #define CONST_SIGINT 2 309 310 /* Define to 1 if you have the `clock_gettime' function. */ 311 #define HAVE_CLOCK_GETTIME 1 312 313 /* Define to 1 if you have the <ctype.h> header file. */ 314 #define HAVE_CTYPE_H 1 315 316 /* Define if you have epoll support. */ 317 /* #undef HAVE_EPOLL */ 318 319 /* Define to 1 if you have the `epoll_ctl' function. */ 320 /* #undef HAVE_EPOLL_CTL */ 321 322 /* Define to 1 if you have the <errno.h> header file. */ 323 #define HAVE_ERRNO_H 1 324 325 /* Define to 1 if you have the `eventfd' function. */ 326 /* #undef HAVE_EVENTFD */ 327 328 /* Define to 1 if you have the <fcntl.h> header file. */ 329 #define HAVE_FCNTL_H 1 330 331 /* Define if you have flock support. */ 332 #define HAVE_FLOCK 1 333 334 /* Define to 1 if you have the `ftruncate' function. */ 335 #define HAVE_FTRUNCATE 1 336 337 /* Define to 1 if you have the `getclock' function. */ 338 /* #undef HAVE_GETCLOCK */ 339 340 /* Define to 1 if you have the `getrusage' function. */ 341 #define HAVE_GETRUSAGE 1 342 343 /* Define to 1 if you have the <inttypes.h> header file. */ 344 #define HAVE_INTTYPES_H 1 345 346 /* Define to 1 if you have the `iswspace' function. */ 347 #define HAVE_ISWSPACE 1 348 349 /* Define to 1 if you have the `kevent' function. */ 350 #define HAVE_KEVENT 1 351 352 /* Define to 1 if you have the `kevent64' function. */ 353 /* #undef HAVE_KEVENT64 */ 354 355 /* Define if you have kqueue support. */ 356 #define HAVE_KQUEUE 1 357 358 /* Define to 1 if you have the <langinfo.h> header file. */ 359 #define HAVE_LANGINFO_H 1 360 361 /* Define to 1 if you have libcharset. */ 362 #define HAVE_LIBCHARSET 1 363 364 /* Define to 1 if you have the `rt' library (-lrt). */ 365 #define HAVE_LIBRT 1 366 367 /* Define to 1 if you have the <limits.h> header file. */ 368 #define HAVE_LIMITS_H 1 369 370 /* Define to 1 if the system has the type `long long'. */ 371 #define HAVE_LONG_LONG 1 372 373 /* Define to 1 if you have the `lstat' function. */ 374 #define HAVE_LSTAT 1 375 376 /* Define to 1 if you have the <memory.h> header file. */ 377 #define HAVE_MEMORY_H 1 378 379 /* Define if you have open file descriptor lock support. */ 380 /* #undef HAVE_OFD_LOCKING */ 381 382 /* Define if you have poll support. */ 383 #define HAVE_POLL 1 384 385 /* Define to 1 if you have the <poll.h> header file. */ 386 #define HAVE_POLL_H 1 387 388 /* Define to 1 if you have the <signal.h> header file. */ 389 #define HAVE_SIGNAL_H 1 390 391 /* Define to 1 if you have the <stdint.h> header file. */ 392 #define HAVE_STDINT_H 1 393 394 /* Define to 1 if you have the <stdlib.h> header file. */ 395 #define HAVE_STDLIB_H 1 396 397 /* Define to 1 if you have the <strings.h> header file. */ 398 #define HAVE_STRINGS_H 1 399 400 /* Define to 1 if you have the <string.h> header file. */ 401 #define HAVE_STRING_H 1 402 403 /* Define to 1 if you have the <sys/epoll.h> header file. */ 404 /* #undef HAVE_SYS_EPOLL_H */ 405 406 /* Define to 1 if you have the <sys/eventfd.h> header file. */ 407 /* #undef HAVE_SYS_EVENTFD_H */ 408 409 /* Define to 1 if you have the <sys/event.h> header file. */ 410 #define HAVE_SYS_EVENT_H 1 411 412 /* Define to 1 if you have the <sys/file.h> header file. */ 413 #define HAVE_SYS_FILE_H 1 414 415 /* Define to 1 if you have the <sys/resource.h> header file. */ 416 #define HAVE_SYS_RESOURCE_H 1 417 418 /* Define to 1 if you have the <sys/select.h> header file. */ 419 #define HAVE_SYS_SELECT_H 1 420 421 /* Define to 1 if you have the <sys/stat.h> header file. */ 422 #define HAVE_SYS_STAT_H 1 423 424 /* Define to 1 if you have the <sys/syscall.h> header file. */ 425 #define HAVE_SYS_SYSCALL_H 1 426 427 /* Define to 1 if you have the <sys/timeb.h> header file. */ 428 #define HAVE_SYS_TIMEB_H 1 429 430 /* Define to 1 if you have the <sys/timers.h> header file. */ 431 #define HAVE_SYS_TIMERS_H 1 432 433 /* Define to 1 if you have the <sys/times.h> header file. */ 434 #define HAVE_SYS_TIMES_H 1 435 436 /* Define to 1 if you have the <sys/time.h> header file. */ 437 #define HAVE_SYS_TIME_H 1 438 439 /* Define to 1 if you have the <sys/types.h> header file. */ 440 #define HAVE_SYS_TYPES_H 1 441 442 /* Define to 1 if you have the <sys/utsname.h> header file. */ 443 #define HAVE_SYS_UTSNAME_H 1 444 445 /* Define to 1 if you have the <sys/wait.h> header file. */ 446 #define HAVE_SYS_WAIT_H 1 447 448 /* Define to 1 if you have the <termios.h> header file. */ 449 #define HAVE_TERMIOS_H 1 450 451 /* Define to 1 if you have the `times' function. */ 452 #define HAVE_TIMES 1 453 454 /* Define to 1 if you have the <time.h> header file. */ 455 #define HAVE_TIME_H 1 456 457 /* Define to 1 if you have the <unistd.h> header file. */ 458 #define HAVE_UNISTD_H 1 459 460 /* Define to 1 if you have the `unsetenv' function. */ 461 #define HAVE_UNSETENV 1 462 463 /* Define to 1 if you have the <utime.h> header file. */ 464 #define HAVE_UTIME_H 1 465 466 /* Define to 1 if you have the <wctype.h> header file. */ 467 #define HAVE_WCTYPE_H 1 468 469 /* Define to 1 if you have the <windows.h> header file. */ 470 /* #undef HAVE_WINDOWS_H */ 471 472 /* Define to 1 if you have the <winsock.h> header file. */ 473 /* #undef HAVE_WINSOCK_H */ 474 475 /* Define to 1 if you have the `_chsize' function. */ 476 /* #undef HAVE__CHSIZE */ 477 478 /* Define to Haskell type for blkcnt_t */ 479 #define HTYPE_BLKCNT_T Int64 480 481 /* Define to Haskell type for blksize_t */ 482 #define HTYPE_BLKSIZE_T Int64 483 484 /* Define to Haskell type for bool */ 485 #define HTYPE_BOOL Word8 486 487 /* Define to Haskell type for cc_t */ 488 #define HTYPE_CC_T Word8 489 490 /* Define to Haskell type for char */ 491 #define HTYPE_CHAR Int8 492 493 /* Define to Haskell type for clockid_t */ 494 #define HTYPE_CLOCKID_T Word64 495 496 /* Define to Haskell type for clock_t */ 497 #define HTYPE_CLOCK_T Word64 498 499 /* Define to Haskell type for dev_t */ 500 #define HTYPE_DEV_T Word32 501 502 /* Define to Haskell type for double */ 503 #define HTYPE_DOUBLE Double 504 505 /* Define to Haskell type for float */ 506 #define HTYPE_FLOAT Float 507 508 /* Define to Haskell type for fsblkcnt_t */ 509 #define HTYPE_FSBLKCNT_T Word64 510 511 /* Define to Haskell type for fsfilcnt_t */ 512 #define HTYPE_FSFILCNT_T Word64 513 514 /* Define to Haskell type for gid_t */ 515 #define HTYPE_GID_T Word32 516 517 /* Define to Haskell type for id_t */ 518 #define HTYPE_ID_T Int64 519 520 /* Define to Haskell type for ino_t */ 521 #define HTYPE_INO_T Word64 522 523 /* Define to Haskell type for int */ 524 #define HTYPE_INT Int32 525 526 /* Define to Haskell type for intmax_t */ 527 #define HTYPE_INTMAX_T Int64 528 529 /* Define to Haskell type for intptr_t */ 530 #define HTYPE_INTPTR_T Int64 531 532 /* Define to Haskell type for key_t */ 533 #define HTYPE_KEY_T Int64 534 535 /* Define to Haskell type for long */ 536 #define HTYPE_LONG Int64 537 538 /* Define to Haskell type for long long */ 539 #define HTYPE_LONG_LONG Int64 540 541 /* Define to Haskell type for mode_t */ 542 #define HTYPE_MODE_T Word16 543 544 /* Define to Haskell type for nlink_t */ 545 #define HTYPE_NLINK_T Word32 546 547 /* Define to Haskell type for off_t */ 548 #define HTYPE_OFF_T Int64 549 550 /* Define to Haskell type for pid_t */ 551 #define HTYPE_PID_T Int32 552 553 /* Define to Haskell type for ptrdiff_t */ 554 #define HTYPE_PTRDIFF_T Int64 555 556 /* Define to Haskell type for rlim_t */ 557 #define HTYPE_RLIM_T Int64 558 559 /* Define to Haskell type for short */ 560 #define HTYPE_SHORT Int16 561 562 /* Define to Haskell type for signed char */ 563 #define HTYPE_SIGNED_CHAR Int8 564 565 /* Define to Haskell type for sig_atomic_t */ 566 #define HTYPE_SIG_ATOMIC_T Int32 567 568 /* Define to Haskell type for size_t */ 569 #define HTYPE_SIZE_T Word64 570 571 /* Define to Haskell type for speed_t */ 572 #define HTYPE_SPEED_T Word32 573 574 /* Define to Haskell type for ssize_t */ 575 #define HTYPE_SSIZE_T Int64 576 577 /* Define to Haskell type for suseconds_t */ 578 #define HTYPE_SUSECONDS_T Int64 579 580 /* Define to Haskell type for tcflag_t */ 581 #define HTYPE_TCFLAG_T Word32 582 583 /* Define to Haskell type for timer_t */ 584 #define HTYPE_TIMER_T Int32 585 586 /* Define to Haskell type for time_t */ 587 #define HTYPE_TIME_T Int64 588 589 /* Define to Haskell type for uid_t */ 590 #define HTYPE_UID_T Word32 591 592 /* Define to Haskell type for uintmax_t */ 593 #define HTYPE_UINTMAX_T Word64 594 595 /* Define to Haskell type for uintptr_t */ 596 #define HTYPE_UINTPTR_T Word64 597 598 /* Define to Haskell type for unsigned char */ 599 #define HTYPE_UNSIGNED_CHAR Word8 600 601 /* Define to Haskell type for unsigned int */ 602 #define HTYPE_UNSIGNED_INT Word32 603 604 /* Define to Haskell type for unsigned long */ 605 #define HTYPE_UNSIGNED_LONG Word64 606 607 /* Define to Haskell type for unsigned long long */ 608 #define HTYPE_UNSIGNED_LONG_LONG Word64 609 610 /* Define to Haskell type for unsigned short */ 611 #define HTYPE_UNSIGNED_SHORT Word16 612 613 /* Define to Haskell type for useconds_t */ 614 #define HTYPE_USECONDS_T Word32 615 616 /* Define to Haskell type for wchar_t */ 617 #define HTYPE_WCHAR_T Int32 618 619 /* Define to the address where bug reports for this package should be sent. */ 620 #define PACKAGE_BUGREPORT "libraries@haskell.org" 621 622 /* Define to the full name of this package. */ 623 #define PACKAGE_NAME "Haskell base package" 624 625 /* Define to the full name and version of this package. */ 626 #define PACKAGE_STRING "Haskell base package 1.0" 627 628 /* Define to the one symbol short name of this package. */ 629 #define PACKAGE_TARNAME "base" 630 631 /* Define to the home page for this package. */ 632 #define PACKAGE_URL "" 633 634 /* Define to the version of this package. */ 635 #define PACKAGE_VERSION "1.0" 636 637 /* The size of `kev.filter', as computed by sizeof. */ 638 #define SIZEOF_KEV_FILTER 2 639 640 /* The size of `kev.flags', as computed by sizeof. */ 641 #define SIZEOF_KEV_FLAGS 2 642 643 /* The size of `struct MD5Context', as computed by sizeof. */ 644 #define SIZEOF_STRUCT_MD5CONTEXT 88 645 646 /* Define to 1 if you have the ANSI C header files. */ 647 #define STDC_HEADERS 1 648 649 /* Define if stdlib.h declares unsetenv to return void. */ 650 /* #undef UNSETENV_RETURNS_VOID */ 651 652 /* Enable extensions on AIX 3, Interix. */ 653 #ifndef _ALL_SOURCE 654 # define _ALL_SOURCE 1 655 #endif 656 /* Enable GNU extensions on systems that have them. */ 657 #ifndef _GNU_SOURCE 658 # define _GNU_SOURCE 1 659 #endif 660 /* Enable threading extensions on Solaris. */ 661 #ifndef _POSIX_PTHREAD_SEMANTICS 662 # define _POSIX_PTHREAD_SEMANTICS 1 663 #endif 664 /* Enable extensions on HP NonStop. */ 665 #ifndef _TANDEM_SOURCE 666 # define _TANDEM_SOURCE 1 667 #endif 668 /* Enable general extensions on Solaris. */ 669 #ifndef __EXTENSIONS__ 670 # define __EXTENSIONS__ 1 671 #endif 672 673 674 /* Enable large inode numbers on Mac OS X 10.5. */ 675 #ifndef _DARWIN_USE_64_BIT_INODE 676 # define _DARWIN_USE_64_BIT_INODE 1 677 #endif 678 679 /* Number of bits in a file offset, on hosts where this is settable. */ 680 /* #undef _FILE_OFFSET_BITS */ 681 682 /* Define for large files, on AIX-style hosts. */ 683 /* #undef _LARGE_FILES */ 684 685 /* Define to 1 if on MINIX. */ 686 /* #undef _MINIX */ 687 688 /* Define to 2 if the system does not provide POSIX.1 features except with 689 this defined. */ 690 /* #undef _POSIX_1_SOURCE */ 691 692 /* Define to 1 if you need to in order for `stat' and other things to work. */ 693 /* #undef _POSIX_SOURCE */ 694