ports/lang/php53/files/patch-TSRM_threads.m4
Alex Dupre d8637e03c9 Update to 5.2.11 release.
(Do not link to thread library when building a thread-safe only lib)

Feature safe:	yes
2009-09-22 10:36:31 +00:00

11 lines
341 B
Text

--- TSRM/threads.m4.orig 2005-04-27 15:22:18.000000000 +0200
+++ TSRM/threads.m4 2009-09-22 10:01:37.000000000 +0200
@@ -79,7 +79,7 @@
pthread_mutexattr_t mattr;
int data = 1;
pthread_mutexattr_init(&mattr);
- return pthread_create(&thd, NULL, thread_routine, &data);
+ return 0;
} ], [
pthreads_working=yes
], [