Author: stefan2 Date: Thu Nov 23 09:37:29 2017 New Revision: 1816114 URL: http://svn.apache.org/viewvc?rev=1816114&view=rev Log: Fix build with utf8proc < 2.0. Ubuntu 16.04 comes with 1.3.1.
* subversion/libsvn_subr/utf8proc.c (svn_utf__utf8proc_runtime_version): Ignore only thing that actually exist. Modified: subversion/trunk/subversion/libsvn_subr/utf8proc.c Modified: subversion/trunk/subversion/libsvn_subr/utf8proc.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/utf8proc.c?rev=1816114&r1=1816113&r2=1816114&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_subr/utf8proc.c (original) +++ subversion/trunk/subversion/libsvn_subr/utf8proc.c Thu Nov 23 09:37:29 2017 @@ -59,7 +59,9 @@ svn_utf__utf8proc_runtime_version(void) SVN_UNUSED(utf8proc_grapheme_break); SVN_UNUSED(utf8proc_tolower); SVN_UNUSED(utf8proc_toupper); +#if UTF8PROC_VERSION_MAJOR >= 2 SVN_UNUSED(utf8proc_totitle); +#endif SVN_UNUSED(utf8proc_charwidth); SVN_UNUSED(utf8proc_category_string); SVN_UNUSED(utf8proc_NFD);