summaryrefslogtreecommitdiffstats
path: root/lib/libskey/skeysubr.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-09-23 06:53:03 +0000
committerdg <dg@FreeBSD.org>1994-09-23 06:53:03 +0000
commitcaee0507e03a9a2a6c09a138d55dcc17256d97a5 (patch)
tree2c983bafd639d385fafbc103cf3c30c630db6f34 /lib/libskey/skeysubr.c
parente540a800b4af051ea3dafaaa738932ef40b802dc (diff)
downloadFreeBSD-src-caee0507e03a9a2a6c09a138d55dcc17256d97a5.zip
FreeBSD-src-caee0507e03a9a2a6c09a138d55dcc17256d97a5.tar.gz
Don't define LITTLE_ENDIAN is already defined.
Diffstat (limited to 'lib/libskey/skeysubr.c')
-rw-r--r--lib/libskey/skeysubr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libskey/skeysubr.c b/lib/libskey/skeysubr.c
index bfac3a3..b947c01 100644
--- a/lib/libskey/skeysubr.c
+++ b/lib/libskey/skeysubr.c
@@ -11,10 +11,12 @@
#include <skey.h>
#include "md4.h"
+#ifndef LITTLE_ENDIAN
#if (defined(__MSDOS__) || defined(MPU8086) || defined(MPU8080) \
|| defined(vax) || defined (MIPSEL))
#define LITTLE_ENDIAN /* Low order bytes are first in memory */
#endif /* Almost all other machines are big-endian */
+#endif
/* Crunch a key:
* concatenate the seed and the password, run through MD4 and
OpenPOWER on IntegriCloud