Endian fix
parent
75ddc216ff
commit
c63f495f33
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue