Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ext/mysqlnd/mysqlnd_vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef PHP_WIN32
#include <netinet/tcp.h>
#else
#include <winsock.h>
#include <winsock2.h>
#endif


Expand Down
3 changes: 1 addition & 2 deletions ext/sockets/config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ ARG_ENABLE("sockets", "SOCKETS support", "no");

if (PHP_SOCKETS != "no") {
if (CHECK_LIB("ws2_32.lib", "sockets", PHP_SOCKETS)
&& CHECK_LIB("Iphlpapi.lib", "sockets", PHP_SOCKETS)
&& CHECK_HEADER_ADD_INCLUDE("winsock.h", "CFLAGS_SOCKETS")) {
&& CHECK_LIB("Iphlpapi.lib", "sockets", PHP_SOCKETS)) {
EXTENSION('sockets', 'sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c', PHP_SOCKETS_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
AC_DEFINE('HAVE_SOCKETS', 1, "Define to 1 if the PHP extension 'sockets' is available.");
PHP_INSTALL_HEADERS("ext/sockets", "php_sockets.h windows_common.h");
Expand Down