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:
vostok4
2013-10-18 14:37:06 +02:00
parent 5655f0574e
commit 978fbcf6fc
6 changed files with 132 additions and 122 deletions
+6 -1
View File
@@ -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 */