From d525e19582c9b01372767ef7936e8b1d1ae001ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Fri, 22 Sep 2017 15:25:48 +0200 Subject: [PATCH] Disable wordexp for Android --- tiny_gltf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index 3c494d1..756579e 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -681,7 +681,7 @@ class TinyGLTF { #ifdef _WIN32 #include -#else +#elif !defined(__ANDROID__) #include #endif @@ -744,7 +744,7 @@ static std::string ExpandFilePath(const std::string &filepath) { return s; #else -#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) +#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) || defined(__ANDROID__) // no expansion std::string s = filepath; #else