diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-17 22:13:05 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-17 22:13:05 +0000 |
commit | 3a7aff1f3bd0a0ddf406d83d3b6ffcf1dc1c77ef (patch) | |
tree | b68846ec425ce1bb717d2ea9a49ad679234796dd /include/asterisk/lock.h | |
parent | dbbf2cc59f7198c9ecdabf3d291ec32bb856287a (diff) |
Thread fixes, vm fix (bug #2665)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4030 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/lock.h')
-rwxr-xr-x | include/asterisk/lock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 7d2807d85..dad4fcc0a 100755 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -368,6 +368,8 @@ static inline int ast_mutex_trylock(ast_mutex_t *pmutex) #define AST_MUTEX_INITIALIZER __use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__ #define gethostbyname __gethostbyname__is__not__reentrant__use__ast_gethostbyname__instead__ +#ifndef __linux__ #define pthread_create __use_ast_pthread_create_instead__ +#endif #endif |