mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
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)
This commit is contained in:
+6
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user