1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-28 22:50:07 +03:00

timsort.h: support older GCCs

cherry-pick upstream pull request: __builtin_clzll isn't available on older GCCs
This commit is contained in:
Jérôme Duval 2019-04-05 06:34:59 +00:00 committed by Nick Wellnhofer
parent 346febc6ab
commit 9948a9a355

View File

@ -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_MINOR__ >= 4) || (__GNUC__ > 3))
#define CLZ __builtin_clzll
#else