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:
authorvostok4 <vostok4@gmail.com>2013-10-18 16:37:06 +0400
committervostok4 <vostok4@gmail.com>2013-10-18 16:37:06 +0400
commit978fbcf6fc355fcd344feb76ab4b7d6b77e9f7c1 (patch)
treebad8331f6c8fa4cd52ddbc1ece80ba4bfbf90326 /redis_array.h
parent5655f0574e1df30c7c39d67dea40fb9fece334f4 (diff)
Further fixes for building on VC9 Win32, C89 compliance
Include win32/php_stdint.h on Win32 (fixes compilation on VC9) Change C++ comments to C89 style (to adhere to PHP project)
Diffstat (limited to 'redis_array.h')
-rw-r--r--redis_array.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/redis_array.h b/redis_array.h
index 652b5aef..3b1163bf 100644
--- a/redis_array.h
+++ b/redis_array.h
@@ -1,7 +1,12 @@
#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);
@@ -34,7 +39,7 @@ PHP_METHOD(RedisArray, unwatch);
typedef struct RedisArray_ {
-
+
int count;
char **hosts; /* array of host:port strings */
zval **redis; /* array of Redis instances */