---
src/rrd_thread_safe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/rrd_thread_safe.c b/src/rrd_thread_safe.c
index 6e30115..e1e3cbe 100644
--- a/src/rrd_thread_safe.c
+++ b/src/rrd_thread_safe.c
@@ -66,7 +66,7 @@ const char *rrd_strerror(
/* Even though POSIX/XSI requires "strerror_r" to return an "int", some
* systems (e.g. the GNU libc) return a "char *" _and_ ignore the second
* argument ... -tokkee */
-#if STRERROR_R_CHAR_P
+#ifdef STRERROR_R_CHAR_P
ret = strerror_r(err, ctx->lib_errstr, sizeof(ctx->lib_errstr));
if ((! ret) || (*ret == '\0')) {
if (*ctx->lib_errstr != '\0')
--
1.6.3.1
_______________________________________________
rrd-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers