summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-03 16:18:44 +0000
committerMark Spencer <markster@digium.com>2005-03-03 16:18:44 +0000
commitb9a34d86349acf094707444ae70f98951c1efb9d (patch)
tree92576e83655072276ca4cbb9a380435c5befc05b /utils.c
parent592b27b17a23407ead202e7633967a892565a0e7 (diff)
Fix stack size (take 2) (bug #3706)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils.c')
-rwxr-xr-xutils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils.c b/utils.c
index aa2354108..6267bbbb7 100755
--- a/utils.c
+++ b/utils.c
@@ -389,8 +389,6 @@ int ast_utils_init(void)
}
-#ifndef __linux__
-#undef pthread_create /* For ast_pthread_create function only */
int ast_pthread_create(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data)
{
pthread_attr_t lattr;
@@ -403,7 +401,6 @@ int ast_pthread_create(pthread_t *thread, pthread_attr_t *attr, void *(*start_ro
ast_log(LOG_WARNING, "pthread_attr_setstacksize returned non-zero: %s\n", strerror(errno));
return pthread_create(thread, attr, start_routine, data); /* We're in ast_pthread_create, so it's okay */
}
-#endif /* ! LINUX */
/* Case-insensitive substring matching */
#ifndef LINUX