Updated MacOS Classic MPW build

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401428
This commit is contained in:
Sam Lantinga 2006-02-24 09:57:14 +00:00
parent ef1df3f896
commit 8e8a8d88df
24 changed files with 397 additions and 101 deletions

View file

@ -78,7 +78,7 @@ int TestEndian(SDL_bool verbose)
printf("Detected a %s endian machine.\n",
(SDL_BYTEORDER == SDL_LIL_ENDIAN) ? "little" : "big");
}
if ( *((char *)&value) == '1' ) {
if ( (*((char *)&value) >> 4) == 0x1 ) {
real_byteorder = SDL_BIG_ENDIAN;
} else {
real_byteorder = SDL_LIL_ENDIAN;