Files

38 lines
1.1 KiB
Diff

Reverts https://github.com/audacious-media-player/audacious-plugins/commit/c175d8b9cece8a53d86ce54fc252454287814e9e
--- config.h.meson 2024-11-04 04:02:39.000000000 +0800
+++ config.h.meson 2024-11-11 02:06:51.000000000 +0800
@@ -3,7 +3,6 @@
#mesondefine COPYRIGHT
#mesondefine EXPORT
#mesondefine PLUGIN_SUFFIX
-#mesondefine WORDS_BIGENDIAN
#define PACKAGE_VERSION VERSION
#define ICONV_CONST
From 343d20c6ece2d48dba06a8ba4f474499a8a3a1f0 Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <barracuda@macos-powerpc.org>
Date: Thu, 25 Jul 2024 23:33:55 +0800
Subject: [PATCH] xsf/desmume/types.h: ensure LOCAL_BE gets defined on
Big-endian platforms
---
src/xsf/desmume/types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/xsf/desmume/types.h src/xsf/desmume/types.h
index 61d858cec..d3113fccd 100644
--- src/xsf/desmume/types.h
+++ src/xsf/desmume/types.h
@@ -96,7 +96,7 @@ using s8 = int8_t;
/*----------------------*/
-#ifdef __BIG_ENDIAN__
+#if defined(__BIG_ENDIAN__) || (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__))
# ifndef WORDS_BIGENDIAN
# define WORDS_BIGENDIAN
# endif