Endian fix

CQTexperiment
vspader 2006-04-18 21:16:01 +00:00
parent 75ddc216ff
commit c63f495f33
1 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,11 @@
break; break;
case SF_ENDIAN_CPU: case SF_ENDIAN_CPU:
#ifdef __BIG_ENDIAN__
isBigEndian = YES; isBigEndian = YES;
#else
isBigEndian = NO;
#endif
//DBLog(@"&CPU ENDIAN"); //DBLog(@"&CPU ENDIAN");
break; break;
case SF_ENDIAN_LITTLE: case SF_ENDIAN_LITTLE: