From: Bruno Haible Date: Wed, 17 Jul 2019 18:40:11 +0000 (+0200) Subject: libtextstyle: Fix link error when compiled with GCC 3.3.x. X-Git-Tag: v0.20.2~59 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=312fce63411591c5a08262111509deea9db8c804;p=thirdparty%2Fgettext.git libtextstyle: Fix link error when compiled with GCC 3.3.x. Reported by Jeffrey Walton . * gnulib-local/lib/libxml/timsort.h (CLZ): Don't define based on __builtin_clzll in GCC versions < 3.4. --- diff --git a/gnulib-local/lib/libxml/timsort.h b/gnulib-local/lib/libxml/timsort.h index 0c6346b8a..efca68c0e 100644 --- a/gnulib-local/lib/libxml/timsort.h +++ b/gnulib-local/lib/libxml/timsort.h @@ -74,7 +74,7 @@ typedef unsigned __int64 uint64_t; static int compute_minrun(const uint64_t); #ifndef CLZ -#ifdef __GNUC__ +#if defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) #define CLZ __builtin_clzll #else