Skip to content

Commit

Permalink
Disable u8path on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Jun 15, 2024
1 parent 379490c commit 2dac317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ std::stringstream readAsset(const std::string& filename) {
return sstream;
}

#ifdef HAVE_FILESYSTEM
#if defined(HAVE_FILESYSTEM) && (!defined(__APPLE__) || !TARGET_OS_IPHONE)
std::filesystem::path u8path(const std::string& path) {
#if __cplusplus >= 202002L
return std::filesystem::path(reinterpret_cast<const char8_t*>(path.c_str())); // NOLINT
Expand Down

0 comments on commit 2dac317

Please sign in to comment.