Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 15046:c654b2018403 legacy-trunk
Norman Vine <nhv@users.sourceforge.net>:
tcp.h is not available on CygWin, so do not try to include it there.
This closes SourceForge patch #101802.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 06 Oct 2000 15:37:06 +0000 |
| parents | 6c91ad9c0e06 |
| children | 6dc43e0c6bbf 9731bbb52fb4 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Fri Oct 06 15:29:56 2000 +0000 +++ b/Modules/socketmodule.c Fri Oct 06 15:37:06 2000 +0000 @@ -122,7 +122,7 @@ #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> -#ifndef __BEOS__ +#if !(defined(__BEOS__) || defined(__CYGWIN__)) #include <netinet/tcp.h> #endif
