commit | 4ea74a440d6f7ff0f6e2d25a780aee21f86762a8 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@redhat.com> | Mon Oct 29 10:27:18 2012 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Mon Oct 29 10:27:18 2012 +0800 |
tree | 039359c3c801fe3d04a6f6b23ba35eaba963239b | |
parent | 153cf15905cf4ec080612ada6703757d10caba1e [diff] [blame] |
Fix a portability issue for GCC < 3.4.0
diff --git a/timsort.h b/timsort.h index b3a32f0..99697a0 100644 --- a/timsort.h +++ b/timsort.h
@@ -48,7 +48,7 @@ int compute_minrun(uint64_t); #ifndef CLZ -#ifdef __GNUC__ +#if defined(__GNUC__) && ((__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ > 3)) #define CLZ __builtin_clzll #else