summaryrefslogtreecommitdiffstats
path: root/runtime/srutils.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-03-05 11:10:43 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-03-05 11:10:43 +0100
commit2e388db9ac91eae35ac836b329c8bcadd319a409 (patch)
tree1ecfb38d83a1cc1d9a6b1d3ad1c4b45fdc0cc755 /runtime/srutils.c
parent42db7de5968d2db0fa855a9f029f6bccc0a30650 (diff)
downloadrsyslog-2e388db9ac91eae35ac836b329c8bcadd319a409.tar.gz
rsyslog-2e388db9ac91eae35ac836b329c8bcadd319a409.tar.xz
rsyslog-2e388db9ac91eae35ac836b329c8bcadd319a409.zip
integrated various patches for solaris
Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
Diffstat (limited to 'runtime/srutils.c')
-rw-r--r--runtime/srutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/srutils.c b/runtime/srutils.c
index 1280e40d..d01ca20d 100644
--- a/runtime/srutils.c
+++ b/runtime/srutils.c
@@ -458,7 +458,7 @@ srSleep(int iSeconds, int iuSeconds)
* Added 2008-01-30
*/
char *rs_strerror_r(int errnum, char *buf, size_t buflen) {
-#ifdef __hpux
+#ifndef HAVE_STRERROR_R
char *pszErr;
pszErr = strerror(errnum);
snprintf(buf, buflen, "%s", pszErr);