summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-13 04:38:21 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-13 04:38:21 +0000
commit2ace9a51d190b3794a3618d5d6df814f77d15e06 (patch)
tree574463e2d9dc53d57b35d0c4e1300579d922cd5f
parent3742f39f26c7cc73c113bd3117059c8107647353 (diff)
downloademacs-2ace9a51d190b3794a3618d5d6df814f77d15e06.tar.gz
Initial revision
-rw-r--r--src/s/hpux10.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/s/hpux10.h b/src/s/hpux10.h
new file mode 100644
index 00000000000..28ef91e5824
--- /dev/null
+++ b/src/s/hpux10.h
@@ -0,0 +1,12 @@
+#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