[Asterisk-cvs] asterisk utils.c,1.34,1.35
twisted at lists.digium.com
twisted at lists.digium.com
Tue Mar 8 14:50:57 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv26853
Modified Files:
utils.c
Log Message:
Fix compile of utils.c on *BSD (Bug #3724)
Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- utils.c 5 Mar 2005 03:20:55 -0000 1.34
+++ utils.c 8 Mar 2005 20:47:30 -0000 1.35
@@ -389,7 +389,9 @@
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;
More information about the svn-commits
mailing list