summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-11-28 23:12:11 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-11-28 23:12:11 +0000
commit812666f0409b3bda19bfa51d1e36ce768a93e72e (patch)
treecb506c183f8cb3696b842126906071bf01649877 /setup.h
parent9c51eb28fce70126987f65edd5469fc748150040 (diff)
downloadc-ares-812666f0409b3bda19bfa51d1e36ce768a93e72e.tar.gz
c-ares-812666f0409b3bda19bfa51d1e36ce768a93e72e.tar.bz2
c-ares-812666f0409b3bda19bfa51d1e36ce768a93e72e.zip
Don't tweak the HAVE_* macros when using autoconf
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h28
1 files changed, 12 insertions, 16 deletions
diff --git a/setup.h b/setup.h
index 5a8b2fa..585d504 100644
--- a/setup.h
+++ b/setup.h
@@ -107,6 +107,18 @@
#define ssize_t int
#endif
+#if !defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER) && !defined(__WATCOMC__)
+#define HAVE_SYS_TIME_H
+#endif
+
+#if !defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
+#define HAVE_UNISTD_H 1
+#endif
+
+#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32) && !defined(MSDOS)
+#define HAVE_SYS_UIO_H
+#endif
+
#endif /* HAVE_CONFIG_H */
/*
@@ -123,22 +135,6 @@
#undef VERSION
#undef PACKAGE
-/*
- * Assume a few thing unless they're set by configure
- */
-
-#if !defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER) && !defined(__WATCOMC__)
-#define HAVE_SYS_TIME_H
-#endif
-
-#if !defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
-#define HAVE_UNISTD_H 1
-#endif
-
-#if !defined(HAVE_SYS_UIO_H) && !defined(WIN32) && !defined(MSDOS)
-#define HAVE_SYS_UIO_H
-#endif
-
/* IPv6 compatibility */
#if !defined(HAVE_AF_INET6)
#if defined(HAVE_PF_INET6)