mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-16 21:41:49 +08:00
Merge pull request #21 from thestr4ng3r/devel
Disable wordexp for Android
This commit is contained in:
commit
dfe8c70d9a
@ -681,7 +681,7 @@ class TinyGLTF {
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#else
|
||||
#elif !defined(__ANDROID__)
|
||||
#include <wordexp.h>
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user