summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2017-11-25 00:54:16 +0100
committerKalle Sommer Nielsen <kalle@php.net>2017-11-25 00:54:16 +0100
commitc5767db441e4db2a1e07b5880129ad7ce0b25b6f (patch)
tree39f160cb15720853b35ccb929f31950aa53228a0
parentffbe80122603ffc71adae16781c5ebb234a05403 (diff)
downloadphp-git-c5767db441e4db2a1e07b5880129ad7ce0b25b6f.tar.gz
We don't check for Windows in the win32/ directory, as files here are only compiled on Windows anyway
-rw-r--r--win32/select.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/win32/select.c b/win32/select.c
index 33e5fb2aa2..7a2d21c482 100644
--- a/win32/select.c
+++ b/win32/select.c
@@ -1,4 +1,4 @@
-/*
+/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
@@ -19,8 +19,6 @@
#include "php.h"
#include "php_network.h"
-#ifdef PHP_WIN32
-
/* $Id$ */
/* Win32 select() will only work with sockets, so we roll our own implementation here.
@@ -169,8 +167,6 @@ PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *e
return retcode;
}
-#endif
-
/*
* Local variables:
* tab-width: 4