From: Ken Raeburn Date: Tue, 15 Sep 2009 19:28:31 +0000 (+0000) Subject: Fix stupid logic bug in last version X-Git-Tag: krb5-1.8-alpha1~352 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b607418f2d745472a0f9d70e6ddc61f21ee9a01;p=krb5.git Fix stupid logic bug in last version ticket: 6565 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22766 dc483132-0cff-0310-8789-dd5450dbe970 --- 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)