summaryrefslogtreecommitdiff
path: root/external/liborcus/android-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/liborcus/android-workaround.patch')
-rw-r--r--external/liborcus/android-workaround.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/external/liborcus/android-workaround.patch b/external/liborcus/android-workaround.patch
deleted file mode 100644
index f9d047dc0559..000000000000
--- a/external/liborcus/android-workaround.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/parser/sax_parser_base.cpp b/src/parser/sax_parser_base.cpp
-index 743130d..2624bd5 100644
---- a/src/parser/sax_parser_base.cpp
-+++ b/src/parser/sax_parser_base.cpp
-@@ -12,6 +12,17 @@
- #include <vector>
- #include <memory>
-
-+#ifdef __ANDROID__
-+namespace std
-+{
-+int stoi(const std::string& str, std::size_t* /*pos*/ = 0, int base = 10)
-+{
-+ char* end;
-+ return strtol(str.c_str(), &end, base);
-+}
-+}
-+#endif
-+
- namespace orcus { namespace sax {
-
- malformed_xml_error::malformed_xml_error(const std::string& msg, std::ptrdiff_t offset) :