Skip to content

Commit

Permalink
fix compile on bigendian netbsd alpha
Browse files Browse the repository at this point in the history
git-svn-id: file:///svn/nsd/trunk@3866 a26ef69c-88ff-0310-839f-98b793d9c207
  • Loading branch information
wcawijngaards committed Feb 15, 2013
1 parent ea846ca commit 4485efb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
15 February 2013: Wouter
- Fix compile on bigendian netbsd alpha.

11 February 2013: Matthijs
- Fix outgoing-interface: Don't fail if family is IPv6 but
only IPv4 outgoing-interface is set, or vice versa.
Expand Down
3 changes: 3 additions & 0 deletions lookup3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) && \
Expand Down

0 comments on commit 4485efb

Please sign in to comment.