diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/sockets/php_sockets_win.h | 1 | ||||
| -rw-r--r-- | ext/sockets/sockets.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ext/sockets/php_sockets_win.h b/ext/sockets/php_sockets_win.h index 4b16ebe7d6..be33ad14c7 100644 --- a/ext/sockets/php_sockets_win.h +++ b/ext/sockets/php_sockets_win.h @@ -41,7 +41,6 @@ #define errno WSAGetLastError() #define h_errno WSAGetLastError() #define set_errno(a) WSASetLastError(a) -#define set_h_errno(a) WSASetLastError(a) #define close(a) closesocket(a) struct sockaddr_un { diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index c9ac0b5dc8..c42b5ee5dc 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -50,7 +50,6 @@ # include <sys/uio.h> # define IS_INVALID_SOCKET(a) (a->bsd_socket < 0) # define set_errno(a) (errno = a) -# define set_h_errno(a) (h_errno = a) #else /* windows */ # include "php_sockets.h" # include "php_sockets_win.h" |
