2023-09-26 15:31:49 +08:00
|
|
|
diff --git a/include/toml++/impl/parser.inl b/include/toml++/impl/parser.inl
|
2023-11-06 01:41:32 +08:00
|
|
|
index 6f0136f..be37f0d 100644
|
2023-09-26 15:31:49 +08:00
|
|
|
--- a/include/toml++/impl/parser.inl
|
|
|
|
+++ b/include/toml++/impl/parser.inl
|
|
|
|
@@ -23,6 +23,12 @@
|
2023-11-06 01:41:32 +08:00
|
|
|
#include "unicode.hpp"
|
2023-09-26 15:31:49 +08:00
|
|
|
TOML_DISABLE_WARNINGS;
|
|
|
|
#include <istream>
|
|
|
|
+
|
|
|
|
+#if defined(__ANDROID_API__) && __ANDROID_API__ < 24
|
|
|
|
+ // Cf. https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md#32_bit-and
|
|
|
|
+ #define ftello ftell
|
|
|
|
+ #define fseeko fseek
|
|
|
|
+#endif
|
|
|
|
#include <fstream>
|
|
|
|
#if TOML_INT_CHARCONV || TOML_FLOAT_CHARCONV
|
|
|
|
#include <charconv>
|