mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Use <winsock2.h> instead of legacy <winsock.h> (#19037)
This also omits defining unused HAVE_WINSOCK_H macro when building ext/sockets.
This commit is contained in:
parent
aa366b5113
commit
c2af281c0c
2 changed files with 2 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
#ifndef PHP_WIN32
|
||||
#include <netinet/tcp.h>
|
||||
#else
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue