summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_rinit_hook.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-10-31 17:35:19 +0800
committerXinchen Hui <laruence@php.net>2014-10-31 17:36:33 +0800
commitd017c4bf3ae8c49340b56f9ab1d31d2793f65489 (patch)
tree5662abd5c1854fd86783082073860dcfc06c47b2 /sapi/phpdbg/phpdbg_rinit_hook.c
parentd9d181e5ad41128a97a6e01d14fb766ff7bf31a8 (diff)
parent113f1fd6d5eb286c50f6cca003d18f847bc202cb (diff)
downloadphp-git-d017c4bf3ae8c49340b56f9ab1d31d2793f65489.tar.gz
Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6
Diffstat (limited to 'sapi/phpdbg/phpdbg_rinit_hook.c')
-rw-r--r--sapi/phpdbg/phpdbg_rinit_hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_rinit_hook.c b/sapi/phpdbg/phpdbg_rinit_hook.c
index acbdfb6f25..11bd5c99b1 100644
--- a/sapi/phpdbg/phpdbg_rinit_hook.c
+++ b/sapi/phpdbg/phpdbg_rinit_hook.c
@@ -52,7 +52,7 @@ static PHP_RINIT_FUNCTION(phpdbg_webhelper) /* {{{ */
return SUCCESS;
}
-#ifndef _WIN32
+#if PHPDBG_IN_DEV
{
struct sockaddr_un sock;
int s = socket(AF_UNIX, SOCK_STREAM, 0);