From: foobar Date: Sat, 12 Feb 2005 18:15:03 +0000 (+0000) Subject: MFH: Removed unused set_h_errno macro X-Git-Tag: php-5.0.4RC1~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b5a97681a479140c99253d4e8616e3118dcf985;p=php MFH: Removed unused set_h_errno macro --- 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 # 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"