From: Ruben Kerkhof Date: Sat, 23 Apr 2016 13:22:52 +0000 (+0200) Subject: HAVE_THREADSAFE_LIBRRD is either defined or not X-Git-Tag: collectd-5.6.0~323 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4187b6ee6b706b7a31ee20709b7d8b9acfddce0c;p=collectd.git HAVE_THREADSAFE_LIBRRD is either defined or not --- diff --git a/src/utils_rrdcreate.c b/src/utils_rrdcreate.c index 2012b849..6da5167d 100644 --- a/src/utils_rrdcreate.c +++ b/src/utils_rrdcreate.c @@ -70,7 +70,7 @@ static const char *const rra_types[] = }; 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