]> granicus.if.org Git - php/commitdiff
MFH: Removed unused set_h_errno macro
authorfoobar <sniper@php.net>
Sat, 12 Feb 2005 18:15:03 +0000 (18:15 +0000)
committerfoobar <sniper@php.net>
Sat, 12 Feb 2005 18:15:03 +0000 (18:15 +0000)
ext/sockets/php_sockets_win.h
ext/sockets/sockets.c

index 4b16ebe7d6080d2111f5f7977aa01f50c31e1d1a..be33ad14c78f28abb7f9984b28163c8006ed04f4 100644 (file)
@@ -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 {
index c9ac0b5dc85a978ba356743e3ee466e10ab8606f..c42b5ee5dc62162c63236894e1a9ec8af87c4b04 100644 (file)
@@ -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"