From 312fce63411591c5a08262111509deea9db8c804 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 17 Jul 2019 20:40:11 +0200 Subject: [PATCH] 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. --- gnulib-local/lib/libxml/timsort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2