diff options
Diffstat (limited to 'src/s/hpux10.h')
-rw-r--r-- | src/s/hpux10.h | 12 |
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 |