mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 20:09:10 +08:00
0f0fa15383
* [tomlplusplus] update to 3.4.0 * [tomlplusplus] update to 3.4.0
18 lines
571 B
Diff
18 lines
571 B
Diff
diff --git a/include/toml++/impl/parser.inl b/include/toml++/impl/parser.inl
|
|
index 6f0136f..be37f0d 100644
|
|
--- a/include/toml++/impl/parser.inl
|
|
+++ b/include/toml++/impl/parser.inl
|
|
@@ -23,6 +23,12 @@
|
|
#include "unicode.hpp"
|
|
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>
|