summaryrefslogtreecommitdiffstats
path: root/grpc-noatfork.patch
blob: 85c932b70299e83b81b54570cb2f6105056cc5c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naurp a/NTS/config.m4 b/NTS/config.m4
--- a/NTS/config.m4	2019-07-05 09:18:10.983115724 +0000
+++ b/NTS/config.m4	2019-07-05 09:19:27.877275179 +0000
@@ -681,7 +681,7 @@ if test "$PHP_GRPC" != "no"; then
     , $ext_shared, , -fvisibility=hidden \
     -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN \
     -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DGRPC_ARES=0 \
-    -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1)
+    -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=0)
 
   PHP_ADD_BUILD_DIR($ext_builddir/src/php/ext/grpc)