index 5b8ffafaf4c8deed2ce8e72497ef809d71577c69..89b91d5e73414ccec40cb9c448f79150e6309f09 100644 (file)
return strerror_r(err, ctx->lib_errstr, ctx->errlen);
}
#else
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;
const char *rrd_strerror(int err) {
static pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER;
struct rrd_context *ctx;