summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 29ede5b)
raw | patch | inline | side by side (parent: 29ede5b)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 24 Mar 2003 22:08:20 +0000 (22:08 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 24 Mar 2003 22:08:20 +0000 (22:08 +0000) |
src/rrd_thread_safe.c | patch | blob | history |
diff --git a/src/rrd_thread_safe.c b/src/rrd_thread_safe.c
index 5b8ffafaf4c8deed2ce8e72497ef809d71577c69..89b91d5e73414ccec40cb9c448f79150e6309f09 100644 (file)
--- a/src/rrd_thread_safe.c
+++ b/src/rrd_thread_safe.c
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;