Ver código fonte

* Changed how CYGWIN ignores ipv6

svn: 839
Bryan Drewery 22 anos atrás
pai
commit
a10ad6bc6e
3 arquivos alterados com 4 adições e 6 exclusões
  1. 0 1
      autotools/includes/acinclude.m4
  2. 0 5
      configure
  3. 4 0
      src/common.h

+ 0 - 1
autotools/includes/acinclude.m4

@@ -251,7 +251,6 @@ case "$egg_cv_var_system_type" in
     esac
     EGG_CYGWIN=yes
     AC_DEFINE(CYGWIN_HACKS, 1, [Define if running under cygwin])
-    AC_DEFINE(USE_IPV6, 0, [Wont work on cygwin])
   ;;
   IRIX)
     IRIX=yes

+ 0 - 5
configure

@@ -3749,11 +3749,6 @@ cat >>confdefs.h <<\_ACEOF
 #define CYGWIN_HACKS 1
 _ACEOF
 
-
-cat >>confdefs.h <<\_ACEOF
-#define USE_IPV6 0
-_ACEOF
-
   ;;
   IRIX)
     IRIX=yes

+ 4 - 0
src/common.h

@@ -12,6 +12,10 @@
 #  include "config.h"
 #endif
 
+#ifdef CYGWIN_HACKS
+#  undef USE_IPV6
+#endif /* CYGWIN_HACKS */
+
 /* AUTHHASH is pointless without AUTHCMDS. */
 #ifdef S_AUTHHASH
 # ifndef S_AUTHCMDS