Skip to content
Snippets Groups Projects
Commit 4b4c55e3 authored by James Golovich's avatar James Golovich
Browse files

Pick the right location to endian.h based on OS in md5.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 3ee43dd5
No related branches found
No related tags found
No related merge requests found
/* MD5 checksum routines used for authentication. Not covered by GPL, but
in the public domain as per the copyright below */
#include <endian.h>
#if defined( __FreeBSD__ ) || defined( __OpenBSD__ )
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 )
# include <machine/endian.h>
#else
# include <endian.h>
#endif
# if __BYTE_ORDER == __BIG_ENDIAN || BYTE_ORDER == BIG_ENDIAN
# define HIGHFIRST 1
# endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment