From 8bec5cc42bd843f6bbbf2bb38f1d8d8ec711abd9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 19 Jul 2014 04:49:26 +0200 Subject: [PATCH] Cleanup tremor/misc.h --- core/tremor/misc.h | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/core/tremor/misc.h b/core/tremor/misc.h index cb6dfcc2..03640e22 100644 --- a/core/tremor/misc.h +++ b/core/tremor/misc.h @@ -37,23 +37,6 @@ #include #endif -#if !defined(__LIBRETRO__) && defined(GEKKO) -#ifndef __CELLOS_LV2__ -#ifndef _XBOX360 -#if BYTE_ORDER==LITTLE_ENDIAN -union magic { - struct { - ogg_int32_t lo; - ogg_int32_t hi; - } halves; - ogg_int64_t whole; -}; -#endif -#endif -#endif -#endif - -#ifndef ANDROID #if BYTE_ORDER==BIG_ENDIAN union magic { struct { @@ -62,7 +45,14 @@ union magic { } halves; ogg_int64_t whole; }; -#endif +#elif BYTE_ORDER==LITTLE_ENDIAN +union magic { + struct { + ogg_int32_t lo; + ogg_int32_t hi; + } halves; + ogg_int64_t whole; +}; #endif STIN ogg_int32_t MULT32(ogg_int32_t x, ogg_int32_t y) {