Going to just use MSB_FIRST or LSB_FIRST here as an ifdef - this

is too much of a PITA
This commit is contained in:
twinaphex 2014-04-30 00:27:19 +02:00
parent 7948c690e7
commit 167ec02425

View File

@ -37,10 +37,7 @@
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#if !defined(__LIBRETRO__) && defined(GEKKO) #if defined(LSB_FIRST)
#ifndef __CELLOS_LV2__
#ifndef _XBOX360
#if BYTE_ORDER==LITTLE_ENDIAN
union magic { union magic {
struct { struct {
ogg_int32_t lo; ogg_int32_t lo;
@ -48,13 +45,7 @@ union magic {
} halves; } halves;
ogg_int64_t whole; ogg_int64_t whole;
}; };
#endif #elif defined(MSB_FIRST)
#endif
#endif
#endif
#ifndef ANDROID
#if BYTE_ORDER==BIG_ENDIAN
union magic { union magic {
struct { struct {
ogg_int32_t hi; ogg_int32_t hi;
@ -63,7 +54,6 @@ union magic {
ogg_int64_t whole; ogg_int64_t whole;
}; };
#endif #endif
#endif
STIN ogg_int32_t MULT32(ogg_int32_t x, ogg_int32_t y) { STIN ogg_int32_t MULT32(ogg_int32_t x, ogg_int32_t y) {
union magic magic; union magic magic;