Bugzilla bug #218: define HAVE_STRERROR only if it is not yet defined.
authorwtc
Thu, 07 May 1998 06:38:26 +0000
changeset 99 02b57ea376944292711635f27954ac879a99f5c0
parent 98 a40f22988c9894de4a309c6c8ad41c0108beffd2
child 100 1b2527075933489fb7dc00f1d64c6f3f81cd966e
push idunknown
push userunknown
push dateunknown
bugs218
Bugzilla bug #218: define HAVE_STRERROR only if it is not yet defined. Thanks to David Nebinger (dnebinger@synertech.highmark.com) for reporting the problem and suggesting the fix.
pr/include/md/_hpux.h
--- a/pr/include/md/_hpux.h
+++ b/pr/include/md/_hpux.h
@@ -35,17 +35,19 @@
 
 #define NEED_TIME_R
 
 #define HAVE_STACK_GROWING_UP
 #undef	HAVE_WEAK_IO_SYMBOLS
 #undef	HAVE_WEAK_MALLOC_SYMBOLS
 #define	HAVE_DLL
 #define USE_HPSHL
+#ifndef HAVE_STRERROR
 #define HAVE_STRERROR
+#endif
 
 #undef _PR_HAVE_ATOMIC_OPS
 
 #if !defined(_PR_PTHREADS)
 
 #include <syscall.h>
 #include <setjmp.h>