Fix for endianness (bug #1174)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent 146469ab19
commit d9359f8249

@ -1,6 +1,6 @@
/* MD5 checksum routines used for authentication. Not covered by GPL, but /* MD5 checksum routines used for authentication. Not covered by GPL, but
in the public domain as per the copyright below */ in the public domain as per the copyright below */
#include <endian.h>
# if __BYTE_ORDER == __BIG_ENDIAN || BYTE_ORDER == BIG_ENDIAN # if __BYTE_ORDER == __BIG_ENDIAN || BYTE_ORDER == BIG_ENDIAN
# define HIGHFIRST 1 # define HIGHFIRST 1
# endif # endif

Loading…
Cancel
Save