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

This reverts commit 167ec02425.
This commit is contained in:
twinaphex 2014-07-18 02:12:14 +02:00
parent a4fafa4d2f
commit d6fe4325c5

View File

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