diff options
author | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-08 20:47:30 +0000 |
---|---|---|
committer | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-08 20:47:30 +0000 |
commit | ac018c2a585f2ccd1473d3af7cbedf1edbbfe300 (patch) | |
tree | f84a027a0426060eeb86fad02a64e807ae1b7c6b /utils.c | |
parent | 520309df13288c76a80782babdec198d202f8f55 (diff) |
Fix compile of utils.c on *BSD (Bug #3724)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5152 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils.c')
-rwxr-xr-x | utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |