From 163cc146a71beb14c24a62e171978118d3a7023c Mon Sep 17 00:00:00 2001 From: rizzo Date: Sat, 17 Nov 2007 10:54:52 +0000 Subject: more cygwin/mingw32 compatibility fixes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89373 f38db490-d61c-443f-a65b-d21fe96a405b --- utils/extconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/extconf.c') diff --git a/utils/extconf.c b/utils/extconf.c index 0028e82ae..0e4071833 100644 --- a/utils/extconf.c +++ b/utils/extconf.c @@ -1146,7 +1146,7 @@ extern int ast_language_is_prefix; /* Asterisk REQUIRES recursive (not error checking) mutexes and will not run without them. */ -#if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP) +#if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP) && defined(PTHREAD_MUTEX_RECURSIVE_NP) #define PTHREAD_MUTEX_INIT_VALUE PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP #define AST_MUTEX_KIND PTHREAD_MUTEX_RECURSIVE_NP #else -- cgit v1.2.3