Skip to content

Commit fe8046a

Browse files
committed
Added symbol for static compilation.
1 parent 94dfefe commit fe8046a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

php_redis.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,12 @@ struct redis {
190190
struct redis_queued_item *head;
191191
};
192192

193+
extern zend_module_entry redis_module_entry;
194+
#define redis_module_ptr &redis_module_entry
193195

194-
#define PHP_REDIS_VERSION "2.0.5"
196+
#define phpext_redis_ptr redis_module_ptr
197+
198+
#define PHP_REDIS_VERSION "2.0.7"
195199

196200
#endif
197201

0 commit comments

Comments
 (0)