From 2b607418f2d745472a0f9d70e6ddc61f21ee9a01 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 15 Sep 2009 19:28:31 +0000 Subject: [PATCH] Fix stupid logic bug in last version ticket: 6565 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22766 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/k5-platform.h b/src/include/k5-platform.h index 8266b3b4e..ef5dd419b 100644 --- a/src/include/k5-platform.h +++ b/src/include/k5-platform.h @@ -466,9 +466,9 @@ typedef struct { int error; unsigned char did_run; } k5_init_t; # define K5_BE #elif defined(_LITTLE_ENDIAN) # define K5_LE -#elif defined(__BIG_ENDIAN__) || !defined(__LITTLE_ENDIAN__) +#elif defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__) # define K5_BE -#elif defined(__LITTLE_ENDIAN__) || !defined(__BIG_ENDIAN__) +#elif defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__) # define K5_LE #endif #if !defined(K5_BE) && !defined(K5_LE) -- 2.26.2