replaced time_value with rrd_time_value as MacOS X introduced a struct of that name...
[rrdtool.git] / src / rrd_thread_safe.c
index 5b8ffaf..89b91d5 100644 (file)
@@ -54,6 +54,7 @@ const char *rrd_strerror(int err) {
     return strerror_r(err, ctx->lib_errstr, ctx->errlen);
 }
 #else
+#undef strerror
 const char *rrd_strerror(int err) {
     static pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER;
     struct rrd_context *ctx;