Fix compile of utils.c on *BSD (Bug #3724)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Josh Roberson 2005-03-08 20:47:30 +00:00
parent 1a6a17aab8
commit e1459ede01
1 changed files with 3 additions and 1 deletions

View File

@ -389,7 +389,9 @@ int ast_utils_init(void)
return 0;
}
#ifndef __linux__
#undef pthread_create /* For ast_pthread_create function only */
#endif /* ! LINUX */
int ast_pthread_create_stack(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data, size_t stacksize)
{
pthread_attr_t lattr;