1 /* include/HsUnixConfig.h. Generated from HsUnixConfig.h.in by configure. */ 2 /* include/HsUnixConfig.h.in. Generated from configure.ac by autoheader. */ 3 4 /* The value of SIGABRT. */ 5 #define CONST_SIGABRT 6 6 7 /* The value of SIGALRM. */ 8 #define CONST_SIGALRM 14 9 10 /* The value of SIGBUS. */ 11 #define CONST_SIGBUS 10 12 13 /* The value of SIGCHLD. */ 14 #define CONST_SIGCHLD 20 15 16 /* The value of SIGCONT. */ 17 #define CONST_SIGCONT 19 18 19 /* The value of SIGFPE. */ 20 #define CONST_SIGFPE 8 21 22 /* The value of SIGHUP. */ 23 #define CONST_SIGHUP 1 24 25 /* The value of SIGILL. */ 26 #define CONST_SIGILL 4 27 28 /* The value of SIGINFO. */ 29 #define CONST_SIGINFO 29 30 31 /* The value of SIGINT. */ 32 #define CONST_SIGINT 2 33 34 /* The value of SIGKILL. */ 35 #define CONST_SIGKILL 9 36 37 /* The value of SIGPIPE. */ 38 #define CONST_SIGPIPE 13 39 40 /* The value of SIGPOLL. */ 41 #define CONST_SIGPOLL -1 42 43 /* The value of SIGPROF. */ 44 #define CONST_SIGPROF 27 45 46 /* The value of SIGQUIT. */ 47 #define CONST_SIGQUIT 3 48 49 /* The value of SIGSEGV. */ 50 #define CONST_SIGSEGV 11 51 52 /* The value of SIGSTOP. */ 53 #define CONST_SIGSTOP 17 54 55 /* The value of SIGSYS. */ 56 #define CONST_SIGSYS 12 57 58 /* The value of SIGTERM. */ 59 #define CONST_SIGTERM 15 60 61 /* The value of SIGTRAP. */ 62 #define CONST_SIGTRAP 5 63 64 /* The value of SIGTSTP. */ 65 #define CONST_SIGTSTP 18 66 67 /* The value of SIGTTIN. */ 68 #define CONST_SIGTTIN 21 69 70 /* The value of SIGTTOU. */ 71 #define CONST_SIGTTOU 22 72 73 /* The value of SIGURG. */ 74 #define CONST_SIGURG 16 75 76 /* The value of SIGUSR1. */ 77 #define CONST_SIGUSR1 30 78 79 /* The value of SIGUSR2. */ 80 #define CONST_SIGUSR2 31 81 82 /* The value of SIGVTALRM. */ 83 #define CONST_SIGVTALRM 26 84 85 /* The value of SIGWINCH. */ 86 #define CONST_SIGWINCH 28 87 88 /* The value of SIGXCPU. */ 89 #define CONST_SIGXCPU 24 90 91 /* The value of SIGXFSZ. */ 92 #define CONST_SIGXFSZ 25 93 94 /* The value of SIG_BLOCK. */ 95 #define CONST_SIG_BLOCK 1 96 97 /* The value of SIG_SETMASK. */ 98 #define CONST_SIG_SETMASK 3 99 100 /* The value of SIG_UNBLOCK. */ 101 #define CONST_SIG_UNBLOCK 2 102 103 /* Define to 1 if you have the <bsd/libutil.h> header file. */ 104 /* #undef HAVE_BSD_LIBUTIL_H */ 105 106 /* Define to 1 if you have the `clearenv' function. */ 107 /* #undef HAVE_CLEARENV */ 108 109 /* Define to 1 if you have the `ctermid' function. */ 110 #define HAVE_CTERMID 1 111 112 /* Define to 1 if you have the declaration of `ctermid', and to 0 if you 113 don't. */ 114 #define HAVE_DECL_CTERMID 1 115 116 /* Define to 1 if you have the declaration of `execvpe', and to 0 if you 117 don't. */ 118 #define HAVE_DECL_EXECVPE 0 119 120 /* Define to 1 if you have the declaration of `fdatasync', and to 0 if you 121 don't. */ 122 #define HAVE_DECL_FDATASYNC 0 123 124 /* Define to 1 if you have the declaration of `tcdrain', and to 0 if you 125 don't. */ 126 #define HAVE_DECL_TCDRAIN 1 127 128 /* Define if we have /dev/ptc. */ 129 /* #undef HAVE_DEV_PTC */ 130 131 /* Define if we have /dev/ptmx. */ 132 #define HAVE_DEV_PTMX 1 133 134 /* Define to 1 if you have the <dirent.h> header file. */ 135 #define HAVE_DIRENT_H 1 136 137 /* Define to 1 if you have the `execvpe' function. */ 138 /* #undef HAVE_EXECVPE */ 139 140 /* Define to 1 if you have the <fcntl.h> header file. */ 141 #define HAVE_FCNTL_H 1 142 143 /* Define to 1 if you have the `fdatasync' function. */ 144 /* #undef HAVE_FDATASYNC */ 145 146 /* Define to 1 if you have the `fsync' function. */ 147 #define HAVE_FSYNC 1 148 149 /* Define to 1 if you have the `futimens' function. */ 150 #define HAVE_FUTIMENS 1 151 152 /* Define to 1 if you have the `futimes' function. */ 153 #define HAVE_FUTIMES 1 154 155 /* Define to 1 if you have the `getgrent' function. */ 156 #define HAVE_GETGRENT 1 157 158 /* Define to 1 if you have the `getgrgid_r' function. */ 159 #define HAVE_GETGRGID_R 1 160 161 /* Define to 1 if you have the `getgrnam_r' function. */ 162 #define HAVE_GETGRNAM_R 1 163 164 /* Define to 1 if you have the `getpwent' function. */ 165 #define HAVE_GETPWENT 1 166 167 /* Define to 1 if you have the `getpwnam' function. */ 168 #define HAVE_GETPWNAM 1 169 170 /* Define to 1 if you have the `getpwnam_r' function. */ 171 #define HAVE_GETPWNAM_R 1 172 173 /* Define to 1 if you have the `getpwuid' function. */ 174 #define HAVE_GETPWUID 1 175 176 /* Define to 1 if you have the `getpwuid_r' function. */ 177 #define HAVE_GETPWUID_R 1 178 179 /* Define to 1 if you have the <grp.h> header file. */ 180 #define HAVE_GRP_H 1 181 182 /* Define to 1 if you have the <inttypes.h> header file. */ 183 #define HAVE_INTTYPES_H 1 184 185 /* Define to 1 if you have the `lchown' function. */ 186 #define HAVE_LCHOWN 1 187 188 /* Define to 1 if you have the <libutil.h> header file. */ 189 #define HAVE_LIBUTIL_H 1 190 191 /* Define to 1 if you have the <limits.h> header file. */ 192 #define HAVE_LIMITS_H 1 193 194 /* Define to 1 if you have the `lutimes' function. */ 195 #define HAVE_LUTIMES 1 196 197 /* Define to 1 if you have the <memory.h> header file. */ 198 #define HAVE_MEMORY_H 1 199 200 /* Define to 1 if you have the `mkdtemp' function. */ 201 #define HAVE_MKDTEMP 1 202 203 /* Define to 1 if you have the `mkstemps' function. */ 204 #define HAVE_MKSTEMPS 1 205 206 /* Define to 1 if you have the `nanosleep' function. */ 207 #define HAVE_NANOSLEEP 1 208 209 /* Ignore the pw_gecos member of passwd where it does not exist */ 210 /* #undef HAVE_NO_PASSWD_PW_GECOS */ 211 212 /* Define to 1 if you have the `openpty' function. */ 213 #define HAVE_OPENPTY 1 214 215 /* Define to 1 if you have the `posix_fadvise' function. */ 216 #define HAVE_POSIX_FADVISE 1 217 218 /* Define to 1 if you have the `posix_fallocate' function. */ 219 /* #undef HAVE_POSIX_FALLOCATE */ 220 221 /* Define to 1 if you have the `ptsname' function. */ 222 #define HAVE_PTSNAME 1 223 224 /* Define to 1 if you have the <pty.h> header file. */ 225 /* #undef HAVE_PTY_H */ 226 227 /* Define to 1 if you have the <pwd.h> header file. */ 228 #define HAVE_PWD_H 1 229 230 /* Define to 1 if you have the `readdir_r' function. */ 231 #define HAVE_READDIR_R 1 232 233 /* Define to 1 if RTLD_DEFAULT is available. */ 234 #define HAVE_RTLDDEFAULT 1 235 236 /* Define to 1 if we can see RTLD_NEXT in dlfcn.h. */ 237 #define HAVE_RTLDNEXT 1 238 239 /* Define to 1 if <unistd.h> defines _SC_GETGR_R_SIZE_MAX. */ 240 #define HAVE_SC_GETGR_R_SIZE_MAX 1 241 242 /* Define to 1 if <unistd.h> defines _SC_GETPW_R_SIZE_MAX. */ 243 #define HAVE_SC_GETPW_R_SIZE_MAX 1 244 245 /* Define to 1 if you have the `seekdir' function. */ 246 #define HAVE_SEEKDIR 1 247 248 /* Define to 1 if you have the `setenv' function. */ 249 #define HAVE_SETENV 1 250 251 /* Define to 1 if you have the `setitimer' function. */ 252 #define HAVE_SETITIMER 1 253 254 /* Define to 1 if you have the `shm_open' function. */ 255 #define HAVE_SHM_OPEN 1 256 257 /* Define to 1 if you have the `shm_unlink' function. */ 258 #define HAVE_SHM_UNLINK 1 259 260 /* Define to 1 if you have the <signal.h> header file. */ 261 #define HAVE_SIGNAL_H 1 262 263 /* Define to 1 if you have the <stdint.h> header file. */ 264 #define HAVE_STDINT_H 1 265 266 /* Define to 1 if you have the <stdlib.h> header file. */ 267 #define HAVE_STDLIB_H 1 268 269 /* Define to 1 if you have the <strings.h> header file. */ 270 #define HAVE_STRINGS_H 1 271 272 /* Define to 1 if you have the <string.h> header file. */ 273 #define HAVE_STRING_H 1 274 275 /* Define to 1 if `st_atim' is a member of `struct stat'. */ 276 #define HAVE_STRUCT_STAT_ST_ATIM 1 277 278 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 279 /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ 280 281 /* Define to 1 if `st_atimespec' is a member of `struct stat'. */ 282 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1 283 284 /* Define to 1 if `st_atime_n' is a member of `struct stat'. */ 285 /* #undef HAVE_STRUCT_STAT_ST_ATIME_N */ 286 287 /* Define to 1 if `st_ctim' is a member of `struct stat'. */ 288 #define HAVE_STRUCT_STAT_ST_CTIM 1 289 290 /* Define to 1 if `st_ctimensec' is a member of `struct stat'. */ 291 /* #undef HAVE_STRUCT_STAT_ST_CTIMENSEC */ 292 293 /* Define to 1 if `st_ctimespec' is a member of `struct stat'. */ 294 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1 295 296 /* Define to 1 if `st_ctime_n' is a member of `struct stat'. */ 297 /* #undef HAVE_STRUCT_STAT_ST_CTIME_N */ 298 299 /* Define to 1 if `st_mtim' is a member of `struct stat'. */ 300 #define HAVE_STRUCT_STAT_ST_MTIM 1 301 302 /* Define to 1 if `st_mtimensec' is a member of `struct stat'. */ 303 /* #undef HAVE_STRUCT_STAT_ST_MTIMENSEC */ 304 305 /* Define to 1 if `st_mtimespec' is a member of `struct stat'. */ 306 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1 307 308 /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ 309 /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ 310 311 /* Define to 1 if `st_uatime' is a member of `struct stat'. */ 312 /* #undef HAVE_STRUCT_STAT_ST_UATIME */ 313 314 /* Define to 1 if `st_uctime' is a member of `struct stat'. */ 315 /* #undef HAVE_STRUCT_STAT_ST_UCTIME */ 316 317 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ 318 /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ 319 320 /* Define to 1 if you have the `sysconf' function. */ 321 #define HAVE_SYSCONF 1 322 323 /* Define to 1 if you have the <sys/resource.h> header file. */ 324 #define HAVE_SYS_RESOURCE_H 1 325 326 /* Define to 1 if you have the <sys/stat.h> header file. */ 327 #define HAVE_SYS_STAT_H 1 328 329 /* Define to 1 if you have the <sys/times.h> header file. */ 330 #define HAVE_SYS_TIMES_H 1 331 332 /* Define to 1 if you have the <sys/time.h> header file. */ 333 #define HAVE_SYS_TIME_H 1 334 335 /* Define to 1 if you have the <sys/types.h> header file. */ 336 #define HAVE_SYS_TYPES_H 1 337 338 /* Define to 1 if you have the <sys/utsname.h> header file. */ 339 #define HAVE_SYS_UTSNAME_H 1 340 341 /* Define to 1 if you have the <sys/wait.h> header file. */ 342 #define HAVE_SYS_WAIT_H 1 343 344 /* Define to 1 if you have the `tcdrain' function. */ 345 #define HAVE_TCDRAIN 1 346 347 /* Define to 1 if you have the `telldir' function. */ 348 #define HAVE_TELLDIR 1 349 350 /* Define to 1 if you have the <termios.h> header file. */ 351 #define HAVE_TERMIOS_H 1 352 353 /* Define to 1 if you have the <time.h> header file. */ 354 #define HAVE_TIME_H 1 355 356 /* Define to 1 if you have the <unistd.h> header file. */ 357 #define HAVE_UNISTD_H 1 358 359 /* Define to 1 if you have the `unsetenv' function. */ 360 #define HAVE_UNSETENV 1 361 362 /* Define to 1 if you have the `utimensat' function. */ 363 #define HAVE_UTIMENSAT 1 364 365 /* Define to 1 if you have the <utime.h> header file. */ 366 #define HAVE_UTIME_H 1 367 368 /* Define to 1 if you have the <utmp.h> header file. */ 369 /* #undef HAVE_UTMP_H */ 370 371 /* Define to 1 if you have the `_NSGetEnviron' function. */ 372 /* #undef HAVE__NSGETENVIRON */ 373 374 /* Define to the address where bug reports for this package should be sent. */ 375 #define PACKAGE_BUGREPORT "libraries@haskell.org" 376 377 /* Define to the full name of this package. */ 378 #define PACKAGE_NAME "Haskell unix package" 379 380 /* Define to the full name and version of this package. */ 381 #define PACKAGE_STRING "Haskell unix package 2.0" 382 383 /* Define to the one symbol short name of this package. */ 384 #define PACKAGE_TARNAME "unix" 385 386 /* Define to the home page for this package. */ 387 #define PACKAGE_URL "" 388 389 /* Define to the version of this package. */ 390 #define PACKAGE_VERSION "2.0" 391 392 /* Define to 1 if you have the ANSI C header files. */ 393 #define STDC_HEADERS 1 394 395 /* Define if stdlib.h declares unsetenv to return void. */ 396 /* #undef UNSETENV_RETURNS_VOID */ 397 398 /* Enable extensions on AIX 3, Interix. */ 399 #ifndef _ALL_SOURCE 400 # define _ALL_SOURCE 1 401 #endif 402 /* Enable GNU extensions on systems that have them. */ 403 #ifndef _GNU_SOURCE 404 # define _GNU_SOURCE 1 405 #endif 406 /* Enable threading extensions on Solaris. */ 407 #ifndef _POSIX_PTHREAD_SEMANTICS 408 # define _POSIX_PTHREAD_SEMANTICS 1 409 #endif 410 /* Enable extensions on HP NonStop. */ 411 #ifndef _TANDEM_SOURCE 412 # define _TANDEM_SOURCE 1 413 #endif 414 /* Enable general extensions on Solaris. */ 415 #ifndef __EXTENSIONS__ 416 # define __EXTENSIONS__ 1 417 #endif 418 419 420 /* Define if the system headers declare usleep to return void. */ 421 /* #undef USLEEP_RETURNS_VOID */ 422 423 /* Enable large inode numbers on Mac OS X 10.5. */ 424 #ifndef _DARWIN_USE_64_BIT_INODE 425 # define _DARWIN_USE_64_BIT_INODE 1 426 #endif 427 428 /* Number of bits in a file offset, on hosts where this is settable. */ 429 /* #undef _FILE_OFFSET_BITS */ 430 431 /* Define for large files, on AIX-style hosts. */ 432 /* #undef _LARGE_FILES */ 433 434 /* Define to 1 if on MINIX. */ 435 /* #undef _MINIX */ 436 437 /* Define to 2 if the system does not provide POSIX.1 features except with 438 this defined. */ 439 /* #undef _POSIX_1_SOURCE */ 440 441 /* Define to 1 if you need to in order for `stat' and other things to work. */ 442 /* #undef _POSIX_SOURCE */ 443 444 /* Define to empty if `const' does not conform to ANSI C. */ 445 /* #undef const */ 446