diff options
author | Remi Collet <remi@remirepo.net> | 2020-10-05 16:56:31 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2021-08-26 09:53:07 +0300 |
commit | fe344e3bbf11dee5db8b3e8fe8a038d40a8b87ee (patch) | |
tree | c22d50be1cbb610da8ad694a08541390f1aad4aa /redis_sentinel.c | |
parent | c7f826c1d4ec421feb5db81ea763c724da80043e (diff) |
switch to legacy arginfo for PHP < 8
Diffstat (limited to 'redis_sentinel.c')
-rw-r--r-- | redis_sentinel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/redis_sentinel.c b/redis_sentinel.c index b89cdb3d..ca72640e 100644 --- a/redis_sentinel.c +++ b/redis_sentinel.c @@ -23,7 +23,11 @@ zend_class_entry *redis_sentinel_ce; extern zend_class_entry *redis_exception_ce; +#if PHP_VERSION_ID < 80000 +#include "redis_sentinel_legacy_arginfo.h" +#else #include "redis_sentinel_arginfo.h" +#endif extern const zend_function_entry *redis_sentinel_get_methods(void) { |