mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:19:00 +08:00
2b991341ca
- [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. This PR updates tinyxml2 to version 10.0.0 --------- Co-authored-by: Kai Pastor <dg0yt@darc.de>
23 lines
778 B
Diff
23 lines
778 B
Diff
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
|
|
index 083f54b..e7319db 100644
|
|
--- a/tinyxml2.cpp
|
|
+++ b/tinyxml2.cpp
|
|
@@ -106,14 +106,9 @@ distribution.
|
|
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__CYGWIN__)
|
|
#define TIXML_FSEEK fseeko
|
|
#define TIXML_FTELL ftello
|
|
-#elif defined(__ANDROID__)
|
|
- #if __ANDROID_API__ > 24
|
|
- #define TIXML_FSEEK fseeko64
|
|
- #define TIXML_FTELL ftello64
|
|
- #else
|
|
- #define TIXML_FSEEK fseeko
|
|
- #define TIXML_FTELL ftello
|
|
- #endif
|
|
+#elif defined(__ANDROID__) && __ANDROID_API__ >= 24
|
|
+ #define TIXML_FSEEK fseeko64
|
|
+ #define TIXML_FTELL ftello64
|
|
#else
|
|
#define TIXML_FSEEK fseek
|
|
#define TIXML_FTELL ftell
|