diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-07-06 22:04:55 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2014-07-06 22:04:55 +0400 |
commit | 0f1f5f444f653ee899ca52e4217b2bba0f51c773 (patch) | |
tree | 6a155dd4399e80cfa063149ffe8afb85adc9a0e7 /redis_array.h | |
parent | 582abd8a954a612a77a1dd4945ddbb06285d1ec5 (diff) | |
parent | fb10a14b7c92c710b83059d53413e305afff4798 (diff) |
Merge branch 'hotfix/win32-fixes' into develop
Conflicts:
redis.c
Diffstat (limited to 'redis_array.h')
-rw-r--r-- | redis_array.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/redis_array.h b/redis_array.h index 02f05c3f..2455a375 100644 --- a/redis_array.h +++ b/redis_array.h @@ -1,7 +1,11 @@ #ifndef REDIS_ARRAY_H #define REDIS_ARRAY_H +#ifdef PHP_WIN32 +#include "win32/php_stdint.h" +#else #include <stdint.h> +#endif #include "common.h" void redis_destructor_redis_array(zend_rsrc_list_entry * rsrc TSRMLS_DC); @@ -36,7 +40,7 @@ PHP_METHOD(RedisArray, unwatch); typedef struct RedisArray_ { - + int count; char **hosts; /* array of host:port strings */ zval **redis; /* array of Redis instances */ |