From: havoc Date: Wed, 31 Dec 2003 07:18:07 +0000 (+0000) Subject: fix a thinko in big endian support (forgot to use defined() in a #elif) X-Git-Tag: xonotic-v0.1.0preview~6179 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e9c24bf086b33624e127a929375defd0bd66a21e;p=xonotic%2Fdarkplaces.git 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 --- 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)