mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- fix defines in lookup3 for bigendian bsd alpha
git-svn-id: file:///svn/unbound/trunk@2845 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
69bf8dc41d
commit
8bd5f59645
2 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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) && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue