From 2c9b25642b8a72ebf300cfa2a63c3af284b66f78 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 14 May 2022 19:00:19 -0400 Subject: [PATCH] treat powerpc as big endian too added powerpc to the list of big endian types --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index 586f8da..9f2d7f0 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -1608,7 +1608,7 @@ class TinyGLTF { #include #endif -#if defined(__sparcv9) +#if defined(__sparcv9) || defined(__powerpc__) // Big endian #else #if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || MINIZ_X86_OR_X64_CPU