- Replaced the use of autoconf's WORDS_BIGENDIAN with __BIG_ENDIAN__, since

latter comes predefined by GCC.


SVN r1779 (trunk)
This commit is contained in:
Randy Heit 2009-08-31 21:47:29 +00:00
commit 3f003e06db
15 changed files with 22 additions and 28 deletions

View file

@ -231,7 +231,7 @@ FTexture *DDSTexture_TryCreate (FileReader &data, int lumpnum)
data.Seek (4, SEEK_SET);
data.Read (&surfdesc, sizeof(surfdesc));
#ifdef WORDS_BIGENDIAN
#ifdef __BIG_ENDIAN__
// Every single element of the header is a DWORD
for (unsigned int i = 0; i < sizeof(DDSURFACEDESC2) / 4; ++i)
{