Code

HAVE_THREADSAFE_LIBRRD is either defined or not
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 13:22:52 +0000 (15:22 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 13:22:52 +0000 (15:22 +0200)
src/utils_rrdcreate.c

index 2012b849c8dea9dabdc569e5268d6efe5696949f..6da5167d4344a780e33e28e4654adc062dd470f5 100644 (file)
@@ -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