Commit 88b52804 authored by Ganael Laplanche's avatar Ganael Laplanche

Believe config.h instead of trying to detect endianness

A few macros in md5.c were in that file trying to detect endian when
that wasn't necessary. config.h should already know what endian the
compilation is for. This commit uses config.h instead.
parent 1f90e206
......@@ -28,12 +28,7 @@
#include "md5.h"
/* #include "unlocked-io.h" */
#ifdef _LIBC
# include <endian.h>
# if __BYTE_ORDER == __BIG_ENDIAN
# define WORDS_BIGENDIAN 1
# endif
#endif
#include "config.h"
#ifdef WORDS_BIGENDIAN
# define SWAP(n) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment