Ensure replacement md5 code works on bigendian systems (do we ever run on any of those?)
This commit is contained in:
parent
9ba0b3e8bc
commit
190ff9a9e0
@ -109,5 +109,7 @@
|
|||||||
#undef _FILE_OFFSET_BITS
|
#undef _FILE_OFFSET_BITS
|
||||||
#undef _LARGE_FILES
|
#undef _LARGE_FILES
|
||||||
|
|
||||||
|
#undef WORDS_BIGENDIAN
|
||||||
|
|
||||||
#undef HAVE_TR1_UNORDERED
|
#undef HAVE_TR1_UNORDERED
|
||||||
#undef HAVE_CXX0X_UNORDERED
|
#undef HAVE_CXX0X_UNORDERED
|
||||||
|
|||||||
@ -8,6 +8,8 @@ if test C$CXX = C ; then
|
|||||||
AC_MSG_ERROR([C++ compiler needed. Please install one (ie: gnu g++)])
|
AC_MSG_ERROR([C++ compiler needed. Please install one (ie: gnu g++)])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
sys=`uname | tr / _ | awk -F_ '{print $1}'`
|
sys=`uname | tr / _ | awk -F_ '{print $1}'`
|
||||||
|
|
||||||
if test ! -f mk/$sys ; then
|
if test ! -f mk/$sys ; then
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
* will fill a supplied 16-byte array with the digest.
|
* will fill a supplied 16-byte array with the digest.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#include <config.h>
|
#include "autoconfig.h"
|
||||||
//#include <compat.h>
|
//#include <compat.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user