From c6cfd6450334cc09d3a984d710e3fcc26b809f0f Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 21 Jun 2019 18:38:03 -0400 Subject: Rename QUtil::strcasecmp to QUtil::str_compare_nocase (fixes #242) --- include/qpdf/QUtil.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh index afdd2033..9f76f738 100644 --- a/include/qpdf/QUtil.hh +++ b/include/qpdf/QUtil.hh @@ -305,8 +305,11 @@ namespace QUtil QPDF_DLL std::list read_lines_from_file(std::istream&); + // This used to be called strcasecmp, but that is a macro on some + // platforms, so we have to give it a name that is not likely to + // be a macro anywhere. QPDF_DLL - int strcasecmp(char const *, char const *); + int str_compare_nocase(char const *, char const *); // These routines help the tokenizer recognize certain character // classes without using ctype, which we avoid because of locale -- cgit v1.2.3-54-g00ecf