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:
authorNicolas Favre-Felix <n.favrefelix@gmail.com>2010-10-12 16:23:02 +0400
committerNicolas Favre-Felix <n.favrefelix@gmail.com>2010-10-12 16:23:02 +0400
commitcab7f8e3c8eb32a95a8df9ee9b32b251a29aa423 (patch)
tree548132967a009ce599fa17932e8555dc8a96774b /common.h
parentfe8046a81e48d9141584f3d4f81d887d917bbbb1 (diff)
Fixes for static compilation.
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.h b/common.h
index 36174071..c8f31130 100644
--- a/common.h
+++ b/common.h
@@ -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