diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-26 10:33:17 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-26 10:33:17 +0000 |
commit | e5c95e68d80503b3da2e6a0916e1299fd9f4f04a (patch) | |
tree | 848422daded2f5459e38e477cbf92e98785a53ec /inet_ntop.h | |
parent | 4e8835e78281149505386c25af856393b4db03e4 (diff) | |
download | c-ares-e5c95e68d80503b3da2e6a0916e1299fd9f4f04a.tar.gz c-ares-e5c95e68d80503b3da2e6a0916e1299fd9f4f04a.tar.bz2 c-ares-e5c95e68d80503b3da2e6a0916e1299fd9f4f04a.zip |
Sync header with source code
Diffstat (limited to 'inet_ntop.h')
-rw-r--r-- | inet_ntop.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/inet_ntop.h b/inet_ntop.h index f9a1d92..aaafbbd 100644 --- a/inet_ntop.h +++ b/inet_ntop.h @@ -1,3 +1,6 @@ +#ifndef __ARES_INET_NTOP_H +#define __ARES_INET_NTOP_H + /* $Id$ */ /* @@ -14,13 +17,10 @@ * without express or implied warranty. */ -#ifndef INET_NTOP_H -#define INET_NTOP_H - -#ifdef HAVE_INET_NTOP +#if defined(HAVE_INET_NTOP) && defined(HAVE_INET_NTOP_IPV6) #define ares_inet_ntop(w,x,y,z) inet_ntop(w,x,y,z) #else const char *ares_inet_ntop(int af, const void *src, char *dst, size_t size); #endif -#endif /* INET_NET_NTOP_H */ +#endif /* __ARES_INET_NTOP_H */ |