diff options
Diffstat (limited to 'src/include/config.h')
-rw-r--r-- | src/include/config.h | 41 |
1 files changed, 26 insertions, 15 deletions
diff --git a/src/include/config.h b/src/include/config.h index 0ddfe7feab3..9a849ff6e06 100644 --- a/src/include/config.h +++ b/src/include/config.h @@ -8,8 +8,28 @@ #define BLCKSZ 8192 +#if defined(sequent) || \ + defined(PORTNAME_aix) || \ + defined(PORTNAME_alpha) || \ + defined(PORTNAME_bsdi) || \ + defined(PORTNAME_hpux) || \ + defined(PORTNAME_dgux) || \ + defined(PORTNAME_i386_solaris) || \ + defined(PORTNAME_sparc_solaris) || \ + defined(PORTNAME_ultrix4) || \ + defined(PORTNAME_svr4) +#define NEED_UNION_SEMUN +#endif + +#if defined(linux) +# define NEED_CBRT +#endif + #if defined(hpux) +# define USE_POSIX_TIME # define HAVE_TZSET +# define NEED_CBRT +# define NEED_RINT #endif #if defined(i386_solaris) @@ -31,13 +51,16 @@ # define NOFILE 100 # define NEED_UNION_SEMUN # define HAVE_TZSET +# define NEED_CBRT +# define NEED_ISINF #endif /* WIN32 */ -#if defined(__FreeBSD__) || \ - defined(__NetBSD__) || \ - defined(bsdi) +#if defined(BSD44_derived) || \ + defined(bsdi) || \ + defined(bsdi_2_1) # define USE_LIMITS_H # define USE_POSIX_TIME +# define NEED_CBRT #endif #if defined(aix) @@ -94,18 +117,6 @@ * long locks. For some reason union semun is never defined in the * System V header files so we must do it ourselves. */ -#if defined(sequent) || \ - defined(PORTNAME_aix) || \ - defined(PORTNAME_alpha) || \ - defined(PORTNAME_bsdi) || \ - defined(PORTNAME_hpux) || \ - defined(PORTNAME_dgux) || \ - defined(PORTNAME_i386_solaris) || \ - defined(PORTNAME_sparc_solaris) || \ - defined(PORTNAME_ultrix4) || \ - defined(PORTNAME_svr4) -#define NEED_UNION_SEMUN -#endif /* Debug and various "defines" that should be documented */ |