diff --git a/core/tremor/misc.h b/core/tremor/misc.h index c4a70c7..cb6dfcc 100644 --- a/core/tremor/misc.h +++ b/core/tremor/misc.h @@ -37,7 +37,10 @@ #include #endif -#if defined(LSB_FIRST) +#if !defined(__LIBRETRO__) && defined(GEKKO) +#ifndef __CELLOS_LV2__ +#ifndef _XBOX360 +#if BYTE_ORDER==LITTLE_ENDIAN union magic { struct { ogg_int32_t lo; @@ -45,7 +48,13 @@ union magic { } halves; ogg_int64_t whole; }; -#elif defined(MSB_FIRST) +#endif +#endif +#endif +#endif + +#ifndef ANDROID +#if BYTE_ORDER==BIG_ENDIAN union magic { struct { ogg_int32_t hi; @@ -54,6 +63,7 @@ union magic { ogg_int64_t whole; }; #endif +#endif STIN ogg_int32_t MULT32(ogg_int32_t x, ogg_int32_t y) { union magic magic;