view src/s/hpux10.h @ 15426:28464b50adfb

(LIBS_SYSTEM): Two new definitions (and #undef first).
author Richard M. Stallman <rms@gnu.org>
date Thu, 13 Jun 1996 16:41:20 +0000
parents 482b164fe732
children 1993f23c4bfe
line wrap: on
line source

#include "hpux9shr.h"

/* We have to go this route, rather than hpux9's approach of renaming the
   functions via macros.  The system's stdlib.h has fully prototyped
   declarations, which yields a conflicting definition of srand48; it
   tries to redeclare what was once srandom to be srand48.  So we go
   with HAVE_LRAND48 being defined.  */
#undef srandom
#undef srand48
#undef HAVE_RANDOM
#define HPUX10
#define FORCE_ALLOCA_H

#ifdef LIBS_SYSTEM
#undef LIBS_SYSTEM
#endif
#ifdef HPUX_NET
#define LIBS_SYSTEM -ln -l:libdld.sl
#else
#define LIBS_SYSTEM -l:libdld.sl
#endif