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
commit11dc457c67c5f32dcd58430bf6ed1b24122b4421 (patch)
tree6e2d68e462ed0293955e384fdb6aa4469191225e
parent08e0416d320da157e2f25ef930b51b44b6c795ac (diff)
downloademacs-11dc457c67c5f32dcd58430bf6ed1b24122b4421.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