From e9c24bf086b33624e127a929375defd0bd66a21e Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 31 Dec 2003 07:18:07 +0000 Subject: [PATCH] fix a thinko in big endian support (forgot to use defined() in a #elif) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3767 d7cf8633-e32d-0410-b094-e92efae38249 --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.h b/common.h index a05c863b..69a67f26 100644 --- a/common.h +++ b/common.h @@ -73,7 +73,7 @@ float FloatSwap (float f); #define LittleLong(l) (l) #define BigFloat(l) FloatSwap(l) #define LittleFloat(l) (l) -#elif ENDIAN_BIG +#elif defined(ENDIAN_BIG) // big endian #define BigShort(l) (l) #define LittleShort(l) ShortSwap(l) -- 2.39.2