summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 32c0ce3)
raw | patch | inline | side by side (parent: 32c0ce3)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 13:22:52 +0000 (15:22 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 13:22:52 +0000 (15:22 +0200) |
src/utils_rrdcreate.c | patch | blob | history |
diff --git a/src/utils_rrdcreate.c b/src/utils_rrdcreate.c
index 2012b849c8dea9dabdc569e5268d6efe5696949f..6da5167d4344a780e33e28e4654adc062dd470f5 100644 (file)
--- a/src/utils_rrdcreate.c
+++ b/src/utils_rrdcreate.c
};
static int rra_types_num = STATIC_ARRAY_SIZE (rra_types);
-#if !defined(HAVE_THREADSAFE_LIBRRD) || !HAVE_THREADSAFE_LIBRRD
+#if !defined(HAVE_THREADSAFE_LIBRRD)
static pthread_mutex_t librrd_lock = PTHREAD_MUTEX_INITIALIZER;
#endif