diff options
author | Remi Collet <remi@remirepo.net> | 2018-06-27 16:20:24 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-06-27 16:20:24 +0200 |
commit | adfc16dd3a051c7c53dbb607a138295c50d02747 (patch) | |
tree | cc8b5624dc3beac07d9bd8fe7668d5896f5413a8 /2ba4d96379a826050d91b039775e9d1e148d5ef2.patch | |
parent | 177b2d12047d7313f75c2519f6b11fbd5422ad54 (diff) |
add upstream patches for PHP 7.3 and patch from https://github.com/bwoebi/php-uv/pull/60/files
Diffstat (limited to '2ba4d96379a826050d91b039775e9d1e148d5ef2.patch')
-rw-r--r-- | 2ba4d96379a826050d91b039775e9d1e148d5ef2.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2ba4d96379a826050d91b039775e9d1e148d5ef2.patch b/2ba4d96379a826050d91b039775e9d1e148d5ef2.patch new file mode 100644 index 0000000..4ce967e --- /dev/null +++ b/2ba4d96379a826050d91b039775e9d1e148d5ef2.patch @@ -0,0 +1,22 @@ +From 2ba4d96379a826050d91b039775e9d1e148d5ef2 Mon Sep 17 00:00:00 2001 +From: Joel Wurtz <jwurtz@jolicode.com> +Date: Fri, 22 Dec 2017 21:56:25 +0100 +Subject: [PATCH] Remove dependency on PHP version for GC_ADDREF macro + +--- + php_uv.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/php_uv.c b/php_uv.c +index 564722c..12052b7 100644 +--- a/php_uv.c ++++ b/php_uv.c +@@ -44,7 +44,7 @@ ZEND_TSRMLS_CACHE_DEFINE() + + ZEND_DECLARE_MODULE_GLOBALS(uv); + +-#if PHP_VERSION_ID < 70300 ++#ifndef GC_ADDREF + #define GC_ADDREF(ref) ++GC_REFCOUNT(ref) + #endif + |