summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2003-11-17 00:28:25 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2003-11-17 00:28:25 +0000
commit9b5b6e7d455d4953eeae57f89e431cd94036fcb7 (patch)
treeb2a47801bf808065c9c10531d6a37952e547cc64 /include
parent64c1364340e47afa428d1427f17da7882326ec38 (diff)
downloadlibapr-9b5b6e7d455d4953eeae57f89e431cd94036fcb7.tar.gz
Puzzle for the day, how does sha2.c compile already on Win32 or Netware.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64756 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr.hnw4
-rw-r--r--include/apr.hw6
2 files changed, 9 insertions, 1 deletions
diff --git a/include/apr.hnw b/include/apr.hnw
index 4345e3098..cbff5ac69 100644
--- a/include/apr.hnw
+++ b/include/apr.hnw
@@ -265,6 +265,10 @@ typedef ssize_t apr_ssize_t;
typedef off64_t apr_off_t;
typedef int apr_socklen_t;
+/* Are we big endian? */
+/* XXX: Fatal assumption on Alpha platforms */
+#define APR_IS_BIGENDIAN 0
+
#ifdef UNKNOWN_NETWARE_64BIT_FLAG_NEEDED
#define APR_SIZEOF_VOIDP 8
#else
diff --git a/include/apr.hw b/include/apr.hw
index d8b9fff4a..c20b311e7 100644
--- a/include/apr.hw
+++ b/include/apr.hw
@@ -372,6 +372,10 @@ typedef int apr_off_t;
#endif
typedef int apr_socklen_t;
+/* Are we big endian? */
+/* XXX: Fatal assumption on Alpha platforms */
+#define APR_IS_BIGENDIAN 0
+
#ifdef WIN64
#define APR_SIZEOF_VOIDP 8
#else
@@ -399,7 +403,7 @@ typedef int gid_t;
#endif
#ifndef WS2TCPIP_INLINE
-#define IN6_IS_ADDR_V4MAPPED(a) \
+6:09 PM 11/16/2003#define IN6_IS_ADDR_V4MAPPED(a) \
( (*(const apr_uint64_t *)(const void *)(&(a)->s6_addr[0]) == 0) \
&& (*(const apr_uint32_t *)(const void *)(&(a)->s6_addr[8]) == ntohl(0x0000ffff)))
#endif