Annotation of pkgsrc/lang/python27/patches/patch-Modules_socketmodule.c, revision 1.5

1.5     ! rodent      1: $NetBSD: patch-Modules_socketmodule.c,v 1.4 2014/07/17 15:26:49 ryoon Exp $
1.1       tron        2: 
1.5     ! rodent      3: --- Modules/socketmodule.c.orig        2014-12-10 15:59:55.000000000 +0000
1.4       ryoon       4: +++ Modules/socketmodule.c
1.5     ! rodent      5: @@ -248,7 +248,7 @@ shutdown(how) -- shut down traffic in on
1.4       ryoon       6:  /* Irix 6.5 fails to define this variable at all. This is needed
                      7:     for both GCC and SGI's compiler. I'd say that the SGI headers
                      8:     are just busted. Same thing for Solaris. */
                      9: -#if (defined(__sgi) || defined(sun)) && !defined(INET_ADDRSTRLEN)
                     10: +#if (defined(__sgi) || defined(sun) || defined(_SCO_DS)) && !defined(INET_ADDRSTRLEN)
                     11:  #define INET_ADDRSTRLEN 16
                     12:  #endif
1.1       tron       13:  

CVSweb <webmaster@jp.NetBSD.org>