summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_wait.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-29 19:39:46 +0100
committerAnatol Belski <ab@php.net>2014-10-29 19:39:46 +0100
commitf842b8f4be9350dfd0444633c62fe7a5c76c54a5 (patch)
treedfbbdc42d6670c814d2e218281b3d159d349c11b /sapi/phpdbg/phpdbg_wait.c
parentfdbfcc0b51b5d78777625d5be93a282e23cc0540 (diff)
downloadphp-git-f842b8f4be9350dfd0444633c62fe7a5c76c54a5.tar.gz
unix sockets aren't available on windows
Diffstat (limited to 'sapi/phpdbg/phpdbg_wait.c')
-rw-r--r--sapi/phpdbg/phpdbg_wait.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_wait.c b/sapi/phpdbg/phpdbg_wait.c
index 95024b8d77..6f9eea90e3 100644
--- a/sapi/phpdbg/phpdbg_wait.c
+++ b/sapi/phpdbg/phpdbg_wait.c
@@ -365,6 +365,7 @@ void phpdbg_webdata_decompress(char *msg, int len TSRMLS_DC) {
PHPDBG_COMMAND(wait) /* {{{ */
{
+#ifndef PHP_WIN32
struct sockaddr_un local, remote;
int rlen, sr, sl;
unlink(PHPDBG_G(socket_path));
@@ -414,6 +415,7 @@ PHPDBG_COMMAND(wait) /* {{{ */
efree(data);
phpdbg_notice("wait", "import=\"success\"", "Successfully imported request data, stopped before executing");
+#endif
return SUCCESS;
} /* }}} */