view src/s/sol2-4.h @ 11788:3a2d34fad6fb make-3-73-3 make-3-74

AIX support from Tim Bell <tbel@afsmail.cern.ch>: [_AIX] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define these for AIX. (getloadavg) [_AIX]: Use `knlist' instead of `nlist'.
author Roland McGrath <roland@gnu.org>
date Wed, 10 May 1995 15:03:48 +0000
parents 0bb32e56cff3
children 2866cf1e7c36
line wrap: on
line source

/* Handle Solaris 2.4.  */

#include "sol2-3.h"

#define SOLARIS2_4

/* Solaris 2.4 has a broken vfork.  So we don't use it;
   we use the alternate definition in sysdep.c.
   But a header file has a declaration 
   that conflicts with the definition of vfork in sysdep.c.
   This kludge should prevent the conflict.  */
#define pid_t int

/* Get rid of -traditional and let const really do its thing.  */

#ifdef __GNUC__
#undef C_SWITCH_SYSTEM
#undef const
#endif /* __GNUC__ */

/* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4.  */
#undef HAVE_VFORK