summaryrefslogtreecommitdiff
path: root/config-win32.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-11-28 22:41:14 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-11-28 22:41:14 +0000
commit9c51eb28fce70126987f65edd5469fc748150040 (patch)
treeb9f3ea23abde43b8fe44574a71c1b0bd43a3b594 /config-win32.h
parent36a6a6e175d977856e16dd0d8b645ef9906bafe5 (diff)
downloadc-ares-9c51eb28fce70126987f65edd5469fc748150040.tar.gz
c-ares-9c51eb28fce70126987f65edd5469fc748150040.tar.bz2
c-ares-9c51eb28fce70126987f65edd5469fc748150040.zip
Make use of gethostname() conditional on it being available
Diffstat (limited to 'config-win32.h')
-rw-r--r--config-win32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config-win32.h b/config-win32.h
index 2245b03..dde9978 100644
--- a/config-win32.h
+++ b/config-win32.h
@@ -97,6 +97,9 @@
/* Define if you have the strnicmp function. */
#define HAVE_STRNICMP 1
+/* Define if you have the gethostname function. */
+#define HAVE_GETHOSTNAME 1
+
/* Define if you have the recv function. */
#define HAVE_RECV 1