From: krakjoe Date: Tue, 7 Oct 2014 11:36:03 +0000 (+0100) Subject: make build work moar X-Git-Tag: php-5.6.3RC1~51^2~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b3a11debbead58c9034dbf34218b9cd2bb885a5;p=php make build work moar --- diff --git a/phpdbg_wait.c b/phpdbg_wait.c index e2bded0875..11279a9ab2 100644 --- a/phpdbg_wait.c +++ b/phpdbg_wait.c @@ -127,6 +127,7 @@ static int phpdbg_array_intersect(phpdbg_intersect_ptr *info, zval ***ptr) { } void phpdbg_webdata_decompress(char *msg, int len TSRMLS_DC) { +#ifdef HAVE_JSON zval *free_zv = NULL; zval zv, **zvpp; HashTable *ht; @@ -357,10 +358,12 @@ void phpdbg_webdata_decompress(char *msg, int len TSRMLS_DC) { /* Reapply raw input */ /* ??? */ +#endif } PHPDBG_COMMAND(wait) /* {{{ */ { +#ifdef HAVE_JSON struct sockaddr_un local, remote; int rlen, sr, sl; unlink(PHPDBG_G(socket_path)); @@ -412,5 +415,5 @@ PHPDBG_COMMAND(wait) /* {{{ */ phpdbg_notice("Successfully imported request data, stopped before executing"); return SUCCESS; +#endif } /* }}} */ - diff --git a/phpdbg_webdata_transfer.c b/phpdbg_webdata_transfer.c index 8ca308556c..e7438ea01a 100644 --- a/phpdbg_webdata_transfer.c +++ b/phpdbg_webdata_transfer.c @@ -20,6 +20,7 @@ #include "ext/json/php_json.h" PHPDBG_API void phpdbg_webdata_compress(char **msg, int *len TSRMLS_DC) { +#ifdef HAVE_JSON smart_str buf = {0}; zval array; HashTable *ht; @@ -180,4 +181,5 @@ PHPDBG_API void phpdbg_webdata_compress(char **msg, int *len TSRMLS_DC) { *msg = buf.c; *len = buf.len; zval_dtor(&array); +#endif }