com php-src: Use if_nametoindex in Vista: ext/sockets /sockets.c

From: Date: Tue, 23 Oct 2012 09:52:31 +0000
Subject: com php-src: Use if_nametoindex in Vista: ext/sockets /sockets.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-70450@lists.php.net to get a copy of this message
Commit: e7e57aea0a2b3d5bb0ca518c98231951980654d6 Author: Gustavo Lopes <glopes@nebm.ist.utl.pt> Tue, 23 Oct 2012 11:50:56 +0200 Parents: ad476bde9b2b5e7f8c735c9961449442919edfbb Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e7e57aea0a2b3d5bb0ca518c98231951980654d6 Log: Use if_nametoindex in Vista I missed this instance in bf19838c. Changed paths: M ext/sockets/sockets.c Diff: diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 0d17142..4adb09f 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -57,7 +57,7 @@ # define h_errno WSAGetLastError() # define set_errno(a) WSASetLastError(a) # define close(a) closesocket(a) -# if _WIN32_WINNT >= 0x0600 && SOCKETS_ENABLE_VISTA_API +# if _WIN32_WINNT >= 0x0600 # define HAVE_IF_NAMETOINDEX 1 # endif #else

« previous php.cvs (#70450) next »