diff options
author | michael-grunder <michael.grunder@gmail.com> | 2019-03-20 01:27:02 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2019-03-20 01:27:02 +0300 |
commit | a013d2459273b33c6955e1bd356d0be0bf555772 (patch) | |
tree | 6b9149c8b85eb51041291e318b6e277ee6f59616 /common.h | |
parent | 4601887dad7168f44a12b42f881c240ef3329d7a (diff) | |
parent | 3ce9d6b1623be5b29b0a211cdbc69e355a34397d (diff) |
Merge branch 'develop' of github.com:phpredis/phpredis into develop
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -275,10 +275,17 @@ typedef struct { int nb_active; } ConnectionPool; +#if (PHP_MAJOR_VERSION < 7) +typedef struct { + zend_object std; + RedisSock *sock; +} redis_object; +#else typedef struct { RedisSock *sock; zend_object std; } redis_object; +#endif /** Argument info for any function expecting 0 args */ ZEND_BEGIN_ARG_INFO_EX(arginfo_void, 0, 0, 0) |