From: Anatol Belski <ab@php.net>
Date: Wed, 29 Oct 2014 18:39:46 +0000 (+0100)
Subject: unix sockets aren't available on windows
X-Git-Tag: php-5.6.3RC1~11
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f842b8f4be9350dfd0444633c62fe7a5c76c54a5;p=php

unix sockets aren't available on windows
---

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;
 } /* }}} */