diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-11-28 22:41:14 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-11-28 22:41:14 +0000 |
commit | 9c51eb28fce70126987f65edd5469fc748150040 (patch) | |
tree | b9f3ea23abde43b8fe44574a71c1b0bd43a3b594 /config-win32.h | |
parent | 36a6a6e175d977856e16dd0d8b645ef9906bafe5 (diff) | |
download | c-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.h | 3 |
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 |