Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2019-03-20 02:06:53 +0300
committermichael-grunder <michael.grunder@gmail.com>2019-03-20 02:06:53 +0300
commit6ebb36ce65860d66ed9499bf237ce88e93ff770e (patch)
tree9332b9386dd7c6b8f9096d6fed49eb374de8936f /common.h
parenta013d2459273b33c6955e1bd356d0be0bf555772 (diff)
Get rid of ifdefs
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/common.h b/common.h
index caec1fec..23769d5b 100644
--- a/common.h
+++ b/common.h
@@ -275,17 +275,10 @@ 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)