$OpenBSD: patch-timsort_h,v 1.1 2013/06/30 10:12:14 espie Exp $
--- timsort.h.orig	Tue Sep 11 07:56:52 2012
+++ timsort.h	Sun Jun 30 12:09:31 2013
@@ -40,7 +40,7 @@ typedef unsigned __int64 uint64_t;
 int compute_minrun(uint64_t);
 
 #ifndef CLZ
-#ifdef __GNUC__
+#if defined(__GNUC__) && __GNUC__ >= 3
 #define CLZ __builtin_clzll
 #else
 
