Ensure replacement md5 code works on bigendian systems (do we ever run on any of those?)

This commit is contained in:
Jean-Francois Dockes 2015-03-03 16:16:18 +01:00
parent 9ba0b3e8bc
commit 190ff9a9e0
3 changed files with 5 additions and 1 deletions

View File

@ -109,5 +109,7 @@
#undef _FILE_OFFSET_BITS
#undef _LARGE_FILES
#undef WORDS_BIGENDIAN
#undef HAVE_TR1_UNORDERED
#undef HAVE_CXX0X_UNORDERED

View File

@ -8,6 +8,8 @@ if test C$CXX = C ; then
AC_MSG_ERROR([C++ compiler needed. Please install one (ie: gnu g++)])
fi
AC_C_BIGENDIAN
sys=`uname | tr / _ | awk -F_ '{print $1}'`
if test ! -f mk/$sys ; then

View File

@ -17,7 +17,7 @@
* will fill a supplied 16-byte array with the digest.
*/
//#include <config.h>
#include "autoconfig.h"
//#include <compat.h>
#include <sys/types.h>