From 4187b6ee6b706b7a31ee20709b7d8b9acfddce0c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Apr 2016 15:22:52 +0200 Subject: [PATCH] HAVE_THREADSAFE_LIBRRD is either defined or not --- src/utils_rrdcreate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2