summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc <devnull@localhost>1998-05-07 06:38:26 +0000
committerwtc <devnull@localhost>1998-05-07 06:38:26 +0000
commit351d399dbe5a4eaeb933c80435c774a173aa565d (patch)
tree6997686448733f350d0f8566d15770fb23e53d55
parent9e66b373629c87cbecbeb6578db7c53fc3a6dbde (diff)
downloadnspr-hg-351d399dbe5a4eaeb933c80435c774a173aa565d.tar.gz
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.
-rw-r--r--pr/include/md/_hpux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pr/include/md/_hpux.h b/pr/include/md/_hpux.h
index 1cdad13e..2675a97e 100644
--- a/pr/include/md/_hpux.h
+++ b/pr/include/md/_hpux.h
@@ -40,7 +40,9 @@
#undef HAVE_WEAK_MALLOC_SYMBOLS
#define HAVE_DLL
#define USE_HPSHL
+#ifndef HAVE_STRERROR
#define HAVE_STRERROR
+#endif
#undef _PR_HAVE_ATOMIC_OPS