[PR] Fix improper check for `mbrlen`/`mblen`, to dea l with the configuration failure for Android below API level 26 [xerces-c]

zjyhjqs (via GitHub) <[email protected]> Mon, 08 Apr 2024 15:13:44 -0000
Newsgroups gmane.text.xml.xerces-c.devel
Message-ID <[email protected]>
zjyhjqs opened a new pull request, #56:
URL: https://github.com/apache/xerces-c/pull/56

   (I know this is not a GitHub project. But my application for JIRA account hasn't been replied yet.)
   
   The usage place (`IconvLCPTranscoder::calcRequiredSize`) will check the existence of `::mbrlen` first. If not then use the `::mblen` as alternative.
   
   https://github.com/apache/xerces-c/blob/5fe4f4b5a861fa8acf4bb66d3a2ad3e4396d68ec/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp#L237-L241
   
   NDK doesn't provide the implementation of `::mblen` below API level 26. Only checks `HAVE_MBLEN` would consequence to configuration failure.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]