~ chicken-core (chicken-5) c56f70e5a0336dac3777d8667014e79f45c69c11


commit c56f70e5a0336dac3777d8667014e79f45c69c11
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Sun Sep 5 11:47:14 2021 +0200
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Sun Sep 5 14:09:40 2021 +0200

    Tcc defines __GNUC__ but doesn't have __builtin_clzll
    
    Signed-off-by: Mario Domenech Goulart <mario@parenteses.org>

diff --git a/runtime.c b/runtime.c
index 93dd9d29..c46cde6f 100644
--- a/runtime.c
+++ b/runtime.c
@@ -13343,7 +13343,7 @@ static inline C_u64 random64() {
 #endif
 }
 
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__TINYC__)
 # define	clz64	__builtin_clzll		
 #else
 /* https://en.wikipedia.org/wiki/Find_first_set#CLZ */
Trap