apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r666521 - /apr/apr/trunk/include/apr.hw
Date Wed, 11 Jun 2008 04:54:32 GMT
Author: wrowe
Date: Tue Jun 10 21:54:32 2008
New Revision: 666521

URL: http://svn.apache.org/viewvc?rev=666521&view=rev
Log:
Revert 1.3.0 change which mis-organized the ws2tcpip
header test prior to declaring APR_HAVE_IPV6, and
inadvertantly changed the default of APR_HAVE_IPV6 to 1

Modified:
    apr/apr/trunk/include/apr.hw

Modified: apr/apr/trunk/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.hw?rev=666521&r1=666520&r2=666521&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hw (original)
+++ apr/apr/trunk/include/apr.hw Tue Jun 10 21:54:32 2008
@@ -229,9 +229,6 @@
 #if APR_HAVE_PROCESS_H
 #include <process.h>
 #endif
-#if APR_HAVE_IPV6
-#include <ws2tcpip.h>
-#endif
 
 #ifdef __cplusplus
 extern "C" {
@@ -280,7 +277,7 @@
 #define APR_HAVE_IN_ADDR        1
 #define APR_HAVE_INET_ADDR      1
 #define APR_HAVE_INET_NETWORK   0
-#define APR_HAVE_IPV6           1
+#define APR_HAVE_IPV6           0
 #define APR_HAVE_MEMMOVE        1
 #define APR_HAVE_SETRLIMIT      0
 #define APR_HAVE_SIGACTION      0
@@ -611,6 +608,7 @@
 #define STDERR_FILENO 2
 
 #if APR_HAVE_IPV6
+#include <ws2tcpip.h>
 
 /* Appears in later flavors, not the originals. */
 #ifndef in_addr6



Mime
View raw message