diff options
author | mcafee%netscape.com <devnull@localhost> | 1999-06-25 12:40:11 +0000 |
---|---|---|
committer | mcafee%netscape.com <devnull@localhost> | 1999-06-25 12:40:11 +0000 |
commit | 56d2b92592a8b147cea2f87374b31f80c53d5408 (patch) | |
tree | d2a7aabef1707303004668a57f492338cf62d7e7 | |
parent | 3a839dfd5661eefee1c087355835fa756ceaf68f (diff) | |
download | nss-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.c | 2 |
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 */ |