Merge pull request #81 from mosra/emscripten-file-paths

Don't try to expand file paths on Emscripten.
This commit is contained in:
Syoyo Fujita 2018-07-25 13:51:00 +09:00 committed by GitHub
commit 8c29e35b42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1486,7 +1486,7 @@ std::string ExpandFilePath(const std::string &filepath, void *) {
#else #else
#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) || \ #if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) || \
defined(__ANDROID__) defined(__ANDROID__) || defined(__EMSCRIPTEN__)
// no expansion // no expansion
std::string s = filepath; std::string s = filepath;
#else #else