diff options
author | Nicolas Favre-Felix <n.favrefelix@gmail.com> | 2010-10-12 16:23:02 +0400 |
---|---|---|
committer | Nicolas Favre-Felix <n.favrefelix@gmail.com> | 2010-10-12 16:23:02 +0400 |
commit | cab7f8e3c8eb32a95a8df9ee9b32b251a29aa423 (patch) | |
tree | 548132967a009ce599fa17932e8555dc8a96774b /common.h | |
parent | fe8046a81e48d9141584f3d4f81d887d917bbbb1 (diff) |
Fixes for static compilation.
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,9 @@ #include "php.h" #include "php_ini.h" +#ifndef REDIS_COMMON_H +#define REDIS_COMMON_H + #define redis_sock_name "Redis Socket Buffer" #define REDIS_SOCK_STATUS_FAILED 0 #define REDIS_SOCK_STATUS_DISCONNECTED 1 @@ -145,3 +148,5 @@ typedef struct { void free_reply_callbacks(zval *z_this, RedisSock *redis_sock); + +#endif |