summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-29 02:55:24 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-29 02:55:24 +0000
commit25bd4204d0f0db46fb81a12df475760f3a6fce68 (patch)
tree77b0537f13406ead84c4c8bd72df7838abd24a70 /src/common/compat.h
parentd2adb68ed63eebfa8ec3fb58cc28e6428418427f (diff)
downloadtor-25bd4204d0f0db46fb81a12df475760f3a6fce68.tar.gz
tor-25bd4204d0f0db46fb81a12df475760f3a6fce68.zip
r13964@catbus: nickm | 2007-07-28 22:55:10 -0400
Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation svn:r10963
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 2e97dee22c..9b23467e73 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -319,7 +319,7 @@ static INLINE uint32_t IPV4IP(const tor_addr_t *a);
static INLINE uint32_t IPV4IPh(const tor_addr_t *a);
static INLINE uint32_t IPV4MAPh(const tor_addr_t *a);
static INLINE uint16_t IN_FAMILY(const tor_addr_t *a);
-static INLINE const struct in_addr *IN_ADDR(const tor_addr_t *a);
+static INLINE const struct in_addr *IN4_ADDR(const tor_addr_t *a);
static INLINE const struct in6_addr *IN6_ADDR(const tor_addr_t *a);
static INLINE uint16_t IN_PORT(const tor_addr_t *a);
@@ -344,7 +344,7 @@ IN_FAMILY(const tor_addr_t *a)
return a->sa.sin_family;
}
static INLINE const struct in_addr *
-IN_ADDR(const tor_addr_t *a)
+IN4_ADDR(const tor_addr_t *a)
{
return &a->sa.sin_addr;
}