diff options
| author | Arran Cudbard-Bell <a.cudbardb@freeradius.org> | 2012-10-27 13:04:04 +0200 |
|---|---|---|
| committer | Arran Cudbard-Bell <a.cudbardb@freeradius.org> | 2012-10-27 13:04:04 +0200 |
| commit | c61a218efb2a0ec4f493bcc9fa735306f779ea64 (patch) | |
| tree | 56fc5bbe90c21d2e0879ad083fa290d9100fc0be | |
| parent | c2c2b9c4b0571f4e6050de78ae8fd813d1be7431 (diff) | |
| download | libpam-radius-auth-c61a218efb2a0ec4f493bcc9fa735306f779ea64.tar.gz libpam-radius-auth-c61a218efb2a0ec4f493bcc9fa735306f779ea64.zip | |
Fixes #1 Use __BYTE_ORDER when available
| -rw-r--r-- | md5.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -42,7 +42,9 @@ #include <string.h> #include "md5.h" -#if defined(__sparc) || defined(__mips) +#if defined(__BYTE_ORDER) && __BYTE_ORDER == __BIG_ENDIAN +#define HIGHFIRST +#elif defined(__sparc) || defined(__mips) #define HIGHFIRST #endif |
