]> granicus.if.org Git - php/commitdiff
We don't check for Windows in the win32/ directory, as files here are only compiled...
authorKalle Sommer Nielsen <kalle@php.net>
Fri, 24 Nov 2017 23:54:16 +0000 (00:54 +0100)
committerKalle Sommer Nielsen <kalle@php.net>
Fri, 24 Nov 2017 23:54:16 +0000 (00:54 +0100)
win32/select.c

index 33e5fb2aa2907feba9c116ad9bad84c2e377afa9..7a2d21c4821f133ed3c325b930609619c829379a 100644 (file)
@@ -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