Fix compile on iOS. Fixes #24.

This commit is contained in:
Syoyo Fujita
2017-11-15 01:03:09 +09:00
parent cd5146025a
commit 0eaf4daa5c

View File

@@ -695,6 +695,10 @@ class TinyGLTF {
#endif
#endif
#if __APPLE__
#include "TargetConditionals.h"
#endif
namespace tinygltf {
static void swap4(unsigned int *val) {