This Tremor header file should probably be properly rewritten to

either define union magic for MSB_FIRST or LSB_FIRST - the current
way of doing it is a goddamn mess
This commit is contained in:
twinaphex 2014-04-30 00:24:03 +02:00
parent c5cecd7870
commit 7948c690e7

View File

@ -23,7 +23,7 @@
#include "asm_arm.h"
#include <stdlib.h> /* for abs() */
#ifdef GEKKO
#if defined(GEKKO) && !defined(__LIBRETRO__)
#include <gctypes.h>
#endif
@ -37,6 +37,8 @@
#include <sys/types.h>
#endif
#if !defined(__LIBRETRO__) && defined(GEKKO)
#ifndef __CELLOS_LV2__
#ifndef _XBOX360
#if BYTE_ORDER==LITTLE_ENDIAN
union magic {
@ -48,6 +50,8 @@ union magic {
};
#endif
#endif
#endif
#endif
#ifndef ANDROID
#if BYTE_ORDER==BIG_ENDIAN