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
commit bc03ceaac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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