]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- fix defines in lookup3 for bigendian bsd alpha
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 15 Feb 2013 14:00:03 +0000 (14:00 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 15 Feb 2013 14:00:03 +0000 (14:00 +0000)
git-svn-id: file:///svn/unbound/trunk@2845 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/storage/lookup3.c

index 9a364552357437b5dab382caf32b56b27608b9bf..38290b03c5e0d4b2b9ba4a55aa43effd2274d47a 100644 (file)
@@ -1,3 +1,6 @@
+15 February 2013: Wouter
+       - fix defines in lookup3 for bigendian bsd alpha
+
 11 February 2013: Wouter
        - Fixup openssl_thread init code to only run if compiled with SSL.
 
index eb33413623d34510347d7abf0bd6e539ee2cd69b..845cc388624bd38765330f614c7a2022651b0448 100644 (file)
@@ -81,6 +81,9 @@ hash_set_raninit(uint32_t v)
      defined(__i586__) || defined(__i686__) || defined(vax) || defined(MIPSEL))
 # define HASH_LITTLE_ENDIAN 1
 # define HASH_BIG_ENDIAN 0
+#elif (!defined(_BYTE_ORDER) && !defined(__BYTE_ORDER) && defined(_BIG_ENDIAN))
+# define HASH_LITTLE_ENDIAN 0
+# define HASH_BIG_ENDIAN 1
 #elif (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && \
        __BYTE_ORDER == __BIG_ENDIAN) || \
       (defined(_BYTE_ORDER) && defined(_BIG_ENDIAN) && \