aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-08-20 13:48:24 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-08-20 13:48:24 +0000
commit7b97371ab19ecc932ffc9be11fb7aa00eec45518 (patch)
tree13831655cc8bc1719b97b4d709f02c7b6cd412c3 /ares
parentb17e32baa750d9ce9459e06b144e4ed376dbaa32 (diff)
No <sys/uio.h> on DOS/Win32
Diffstat (limited to 'ares')
-rw-r--r--ares/setup.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/ares/setup.h b/ares/setup.h
index 7b933531b..696f7c58d 100644
--- a/ares/setup.h
+++ b/ares/setup.h
@@ -19,12 +19,6 @@
#else
/* simple work-around for now, for systems without configure support */
#define ssize_t int
-
-#ifdef __MINGW32__
-#define HAVE_SYS_TIME_H
-#define HAVE_UNISTD_H
-#endif
-
#endif
/* Recent autoconf versions define these symbols in config.h. We don't want
@@ -58,7 +52,7 @@ typedef int ares_socket_t;
#define HAVE_UNISTD_H
#endif
-#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32)
+#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32) && !defined(MSDOS)
#define HAVE_SYS_UIO_H
#endif