view src/s/sol2-4.h @ 11950:e45a4d0aae48

Move #undef HAVE_VFORK to s/sol2-3.h. Define VFORK_RETURN_TYPE.
author Karl Heuer <kwzh@gnu.org>
date Fri, 26 May 1995 22:07:55 +0000
parents 8d6752fefce7
children c0cef571e5e3
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 would conflict with the definition of vfork in sysdep.c.
   So we'll choose the return type to match the system header.  */
#define VFORK_RETURN_TYPE pid_t

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

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