summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormcafee%netscape.com <devnull@localhost>1999-06-25 12:40:11 +0000
committermcafee%netscape.com <devnull@localhost>1999-06-25 12:40:11 +0000
commit56d2b92592a8b147cea2f87374b31f80c53d5408 (patch)
treed2a7aabef1707303004668a57f492338cf62d7e7
parent3a839dfd5661eefee1c087355835fa756ceaf68f (diff)
downloadnss-hg-56d2b92592a8b147cea2f87374b31f80c53d5408.tar.gz
strerror() should only be implemented if we don't HAVE_STRERROR. Fixes BeOS build. Patch provided by Duncan Wilcox. (duncan@be.com)
-rw-r--r--dbm/src/strerror.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbm/src/strerror.c b/dbm/src/strerror.c
index 68b0bea59..d1ae2666a 100644
--- a/dbm/src/strerror.c
+++ b/dbm/src/strerror.c
@@ -43,6 +43,7 @@ static char sccsid[] = "@(#)strerror.c 8.1 (Berkeley) 6/4/93";
#define sys_nerr (*_sys_nerr_dll)
#endif
+#ifndef HAVE_STRERROR
#ifndef _AFXDLL
char *
strerror(num)
@@ -74,3 +75,4 @@ strerror(num)
}
#endif
+#endif /* !HAVE_STRERROR */