File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,7 +187,12 @@ Socket methods:
187187#include <GUSI.h>
188188#endif
189189
190+ /* XXX 24-Jun-2000 Tim: I have no idea what the code inside this block is
191+ trying to do, and don't have time to look. Looks like Unix-specific code
192+ in those files, though, which will never compile on Windows. */
193+ #ifndef MS_WINDOWS
190194#include "addrinfo.h"
195+ #endif /* ifndef MS_WINDOWS hack */
191196
192197#ifdef USE_SSL
193198#include "openssl/rsa.h"
@@ -198,6 +203,11 @@ Socket methods:
198203#include "openssl/err.h"
199204#endif /* USE_SSL */
200205
206+ /* XXX 24-Jun-2000 Tim: I have no idea what the code inside this block is
207+ trying to do, and don't have time to look. Looks like Unix-specific code
208+ in those files, though, which will never compile on Windows. */
209+ #ifndef MS_WINDOWS
210+
201211/* I know this is a bad practice, but it is the easiest... */
202212#ifndef HAVE_GETADDRINFO
203213#include "getaddrinfo.c"
@@ -206,6 +216,8 @@ Socket methods:
206216#include "getnameinfo.c"
207217#endif
208218
219+ #endif /* ifndef MS_WINDOWS hack */
220+
209221#if defined(MS_WINDOWS ) || defined(__BEOS__ )
210222/* BeOS suffers from the same socket dichotomy as Win32... - [cjh] */
211223/* seem to be a few differences in the API */
You can’t perform that action at this time.
0 commit comments