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 committed 2022-03-18 23:14:51 +01:00
1 parent 9ded60a798
commit 1a5bb7483d
1 file changed
+1 -1
+1 -1
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