Enable std::filesystem for Android

NDK r22 introduced support for std::filesystem, so re-enable it: https://android.googlesource.com/platform/ndk/+/master/docs/Roadmap.md#ndk-r22
This commit is contained in:
Gymnasiast 2022-01-08 14:23:29 +01:00
parent 9ded60a798
commit 1a5bb7483d
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
#elif defined(__APPLE__) // XCode has the header, but reports error when included.
# define HAVE_STD_FILESYSTEM 0
#elif defined(__ANDROID__)
# define HAVE_STD_FILESYSTEM 0
# define HAVE_STD_FILESYSTEM 1
#elif defined(__has_include) // For GCC/Clang check if the header exists.
# if __has_include(<filesystem>)
# define HAVE_STD_FILESYSTEM 1