view src/s/sol2-4.h @ 11946:581775d8ec7a

Initial revision
author Geoff Voelker <voelker@cs.washington.edu>
date Fri, 26 May 1995 18:56:09 +0000
parents 8d6752fefce7
children e45a4d0aae48
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