From: Anatol Belski Date: Fri, 14 Nov 2014 21:19:41 +0000 (+0100) Subject: fix build X-Git-Tag: POST_NATIVE_TLS_MERGE^2~46^2~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82c2e3f20148b88b0721b6887edb9280b45e90f2;p=php fix build ifdef this var declaration to avoid the vs warning --- diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 01aaa71f39..15e4876af5 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -244,6 +244,9 @@ PHPAPI zend_string *php_escape_shell_cmd(char *str) register int x, y, l = (int)strlen(str); size_t estimate = (2 * l) + 1; zend_string *cmd; +#ifndef PHP_WIN32 + char *p = NULL; +#endif TSRMLS_FETCH();