Skip to content

Commit

Permalink
Correct ifdef error with module dependancies.
Browse files Browse the repository at this point in the history
Change-Id: I33407c79a8696bf002154e445017a31144ca0c3e
  • Loading branch information
brett19 committed Apr 4, 2016
1 parent 233fa7d commit 5ef73fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions couchbase.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,15 @@ static zend_function_entry couchbase_functions[] = {
{NULL, NULL, NULL}
};

#if ZEND_MODULE_API_NO >= 220050617
#if ZEND_MODULE_API_NO >= 20050617
static zend_module_dep php_couchbase_deps[] = {
ZEND_MODULE_REQUIRED("json"),
ZEND_MOD_REQUIRED("json")
{NULL,NULL,NULL}
};
#endif

zend_module_entry couchbase_module_entry = {
#if ZEND_MODULE_API_NO >= 220050617
#if ZEND_MODULE_API_NO >= 20050617
STANDARD_MODULE_HEADER_EX,
NULL,
php_couchbase_deps,
Expand Down

0 comments on commit 5ef73fb

Please sign in to comment.