com php-src: We don't check for Windows in the win32/ directory, as files here are only compiled on Windows anyway: win32/select.c
| From: | Kalle Sommer Nielsen | Date: | Fri, 24 Nov 2017 23:54:16 +0000 |
| Subject: | com php-src: We don't check for Windows in the win32/ directory, as files here are only compiled on Windows anyway: win32/select.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100367@lists.php.net to get a copy of this message | ||
Commit: c5767db441e4db2a1e07b5880129ad7ce0b25b6f
Author: Kalle Sommer Nielsen <kalle@php.net> Sat, 25 Nov 2017 00:54:16 +0100
Parents: ffbe80122603ffc71adae16781c5ebb234a05403
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c5767db441e4db2a1e07b5880129ad7ce0b25b6f
Log:
We don't check for Windows in the win32/ directory, as files here are only compiled on Windows
anyway
Changed paths:
M win32/select.c
Diff:
diff --git a/win32/select.c b/win32/select.c
index 33e5fb2..7a2d21c 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