diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index e7511fd8a2..bd7f6a9b1a 100644 --- a/include/asterisk/linkedlists.h +++ b/include/asterisk/linkedlists.h @@ -277,7 +277,7 @@ struct name { \ This would define \c struct \c entry_list, intended to hold a list of type \c struct \c entry. */ -#ifndef AST_RWLOCK_INIT_VALUE +#ifndef HAVE_PTHREAD_RWLOCK_INITIALIZER #define AST_RWLIST_HEAD_STATIC(name, type) \ struct name { \ struct type *first; \