summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-07-19 17:37:46 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-07-19 17:37:46 (GMT)
commitd783041a140da2b8011ef42dd42e795b1ade8ceb (patch)
treeea00f184a4482f67f0ae64d89cc87c1d43bf2a99 /Modules/socketmodule.c
parent1bdd0f255997ded18117e0e33916b67bd023cc47 (diff)
downloadcpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.zip
cpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.tar.gz
cpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.tar.bz2
Port getaddrinfo to MSVC++.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 962fbfa..72b141c 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -195,12 +195,7 @@ Socket methods:
#include <GUSI.h>
#endif
-/* XXX 24-Jun-2000 Tim: I have no idea what the code inside this block is
- trying to do, and don't have time to look. Looks like Unix-specific code
- in those files, though, which will never compile on Windows. */
-#ifndef MS_WINDOWS
#include "addrinfo.h"
-#endif /* ifndef MS_WINDOWS hack */
#ifdef USE_SSL
#include "openssl/rsa.h"
@@ -211,11 +206,6 @@ Socket methods:
#include "openssl/err.h"
#endif /* USE_SSL */
-/* XXX 24-Jun-2000 Tim: I have no idea what the code inside this block is
- trying to do, and don't have time to look. Looks like Unix-specific code
- in those files, though, which will never compile on Windows. */
-#ifndef MS_WINDOWS
-
#ifndef HAVE_INET_PTON
int inet_pton (int af, char *src, void *dst);
char *inet_ntop(int af, void *src, char *dst, socklen_t size);
@@ -229,8 +219,6 @@ char *inet_ntop(int af, void *src, char *dst, socklen_t size);
#include "getnameinfo.c"
#endif
-#endif /* ifndef MS_WINDOWS hack */
-
#if defined(MS_WINDOWS) || defined(__BEOS__)
/* BeOS suffers from the same socket dichotomy as Win32... - [cjh] */
/* seem to be a few differences in the API */