]> granicus.if.org Git - php/commitdiff
unix sockets aren't available on windows
authorAnatol Belski <ab@php.net>
Wed, 29 Oct 2014 18:39:46 +0000 (19:39 +0100)
committerAnatol Belski <ab@php.net>
Wed, 29 Oct 2014 18:39:46 +0000 (19:39 +0100)
sapi/phpdbg/phpdbg_wait.c

index 95024b8d77f462ead9f7f2263fd807e55e2a1b94..6f9eea90e375bd646cd4dc4b057c155da1cadb55 100644 (file)
@@ -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;
 } /* }}} */