summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Lopes <glopes@nebm.ist.utl.pt>2012-10-23 11:50:56 +0200
committerGustavo Lopes <glopes@nebm.ist.utl.pt>2012-10-23 11:52:31 +0200
commite7e57aea0a2b3d5bb0ca518c98231951980654d6 (patch)
treeba4ce4dae0fcde1873d21ff4b1eba79ef5a380db
parentad476bde9b2b5e7f8c735c9961449442919edfbb (diff)
downloadphp-git-e7e57aea0a2b3d5bb0ca518c98231951980654d6.tar.gz
Use if_nametoindex in Vista
I missed this instance in bf19838c.
-rw-r--r--ext/sockets/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index 0d1714257d..4adb09f188 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