diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 10:54:52 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 10:54:52 +0000 |
commit | 7cd78079ae59c8861c75a93712ba7651558233a8 (patch) | |
tree | 5a1238373259b4826d15db062401668a35c38bf3 /utils/extconf.c | |
parent | a45c53bc5b6c5bd40b17f6bb5d3c2af100977dee (diff) |
more cygwin/mingw32 compatibility fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/extconf.c')
-rw-r--r-- | utils/extconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |