summaryrefslogtreecommitdiff
path: root/lang/php5/files/patch-TSRM_threads.m4
blob: 31c0886a732c790a7128f3126154a2dd9a54295f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- TSRM/threads.m4.orig	2013-12-10 19:32:43.000000000 +0000
+++ TSRM/threads.m4	2013-12-13 21:55:53.764235920 +0000
@@ -79,7 +79,7 @@ int main() {
     pthread_mutexattr_t mattr;
     int data = 1;
     pthread_mutexattr_init(&mattr);
-    return pthread_create(&thd, NULL, thread_routine, &data);
+    return 0;
 } ], [
   pthreads_working=yes
   ], [