mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-20 22:33:22 +02:00
Let retro_endianness.h define WORDS_BIGENDIAN when applicable
This is need i.a. for supporting big-endian linux
This commit is contained in:
+2
-15
@@ -524,22 +524,9 @@
|
||||
/* Define to allow volume only sound. */
|
||||
/* #undef VOL_ONLY_SOUND */
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
#if defined AC_APPLE_UNIVERSAL_BUILD
|
||||
# if defined __BIG_ENDIAN__
|
||||
# define WORDS_BIGENDIAN 1
|
||||
# endif
|
||||
#else
|
||||
# ifndef WORDS_BIGENDIAN
|
||||
/* # undef WORDS_BIGENDIAN */
|
||||
# endif
|
||||
#endif
|
||||
/* retro_endianness.h defines WORDS_BIGENDIAN if necessarry. */
|
||||
#include <retro_endianness.h>
|
||||
|
||||
|
||||
#ifdef WIIU
|
||||
#define WORDS_BIGENDIAN 1
|
||||
#endif
|
||||
/* Define if unaligned word access is ok. */
|
||||
#if defined(__i386__) || defined(__x86_64__) || defined(__m68k__)
|
||||
#define WORDS_UNALIGNED_OK 1
|
||||
|
||||
Reference in New Issue
Block a user