annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15425
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "hpux9shr.h"
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 /* We have to go this route, rather than hpux9's approach of renaming the
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 functions via macros. The system's stdlib.h has fully prototyped
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 declarations, which yields a conflicting definition of srand48; it
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 tries to redeclare what was once srandom to be srand48. So we go
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 with HAVE_LRAND48 being defined. */
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 #undef srandom
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 #undef srand48
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 #undef HAVE_RANDOM
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 #define HPUX10
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 #define FORCE_ALLOCA_H
15426
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
13
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
14 #ifdef LIBS_SYSTEM
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
15 #undef LIBS_SYSTEM
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
16 #endif
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
17 #ifdef HPUX_NET
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
18 #define LIBS_SYSTEM -ln -l:libdld.sl
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
19 #else
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
20 #define LIBS_SYSTEM -l:libdld.sl
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
21 #endif