From 717eaa789c1e102c6c73463e5dafdc9957b01b11 Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <barracuda@macos-powerpc.org>
Date: Thu, 15 Aug 2024 22:15:15 +0800
Subject: [PATCH 09/12] yyjson: PowerPC macros

---
 src/3rdparty/yyjson/yyjson.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/3rdparty/yyjson/yyjson.c b/src/3rdparty/yyjson/yyjson.c
index 16ecbacf..298a56c0 100644
--- a/src/3rdparty/yyjson/yyjson.c
+++ b/src/3rdparty/yyjson/yyjson.c
@@ -236,7 +236,7 @@ uint32_t yyjson_version(void) {
 #elif (defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ == 1) || \
     defined(__ARMEB__) || defined(__THUMBEB__) || defined(__AARCH64EB__) || \
     defined(_MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__) || \
-    defined(__or1k__) || defined(__OR1K__)
+    defined(__or1k__) || defined(__OR1K__) || defined(__POWERPC__)
 #   define YYJSON_ENDIAN YYJSON_BIG_ENDIAN
 
 #else
-- 
2.47.0

