summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-03-14 13:44:01 +1100
committerDamien Miller <djm@mindrot.org>2000-03-14 13:44:01 +1100
commitdb819595d35cbf23eb4eeba2ad0ac54ef7e19036 (patch)
tree874e3b7f0a289c76aa08e631ee3f87cb095179b1 /defines.h
parent1c67c9969c80dbc1fcbbc381f1554e45745622eb (diff)
- Include /usr/local/include and /usr/local/lib for systems that don't
do it themselves - -R/usr/local/lib for Solaris - Fix RSAref detection - Fix IN6_IS_ADDR_V4MAPPED macro
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/defines.h b/defines.h
index 48e14fd25..831fbaa9e 100644
--- a/defines.h
+++ b/defines.h
@@ -239,8 +239,8 @@ typedef unsigned int size_t;
239 239
240#if !defined(IN6_IS_ADDR_V4MAPPED) 240#if !defined(IN6_IS_ADDR_V4MAPPED)
241# define IN6_IS_ADDR_V4MAPPED(a) \ 241# define IN6_IS_ADDR_V4MAPPED(a) \
242 ((((uint32_t *) (a))[0] == 0) && (((uint32_t *) (a))[1] == 0) && \ 242 ((((u_int32_t *) (a))[0] == 0) && (((u_int32_t *) (a))[1] == 0) && \
243 (((uint32_t *) (a))[2] == htonl (0xffff))) 243 (((u_int32_t *) (a))[2] == htonl (0xffff)))
244#endif /* !defined(IN6_IS_ADDR_V4MAPPED) */ 244#endif /* !defined(IN6_IS_ADDR_V4MAPPED) */
245 245
246#if !defined(__GNUC__) || (__GNUC__ < 2) 246#if !defined(__GNUC__) || (__GNUC__ < 2)