Merge pull request #358 from brlcad/patch-2

treat powerpc as big endian too
This commit is contained in:
Syoyo Fujita
2022-05-15 20:02:28 +09:00
committed by GitHub

View File

@@ -1608,7 +1608,7 @@ class TinyGLTF {
#include <wordexp.h>
#endif
#if defined(__sparcv9)
#if defined(__sparcv9) || defined(__powerpc__)
// Big endian
#else
#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || MINIZ_X86_OR_X64_CPU