* lib/setenv.c (USE_TSEARCH): Treat clang like GCC.
+2020-08-16 Bruno Haible <bruno@clisp.org>
+
+ setenv: Use tree code also with clang.
+ * lib/setenv.c (USE_TSEARCH): Treat clang like GCC.
+
2020-08-16 Bruno Haible <bruno@clisp.org>
math: Optimize signbit also on clang.
values are from a small set. Outside glibc this will eat up all
memory after a while. */
#if defined _LIBC || (defined HAVE_SEARCH_H && defined HAVE_TSEARCH \
- && defined __GNUC__)
+ && (defined __GNUC__ || defined __clang__))
# define USE_TSEARCH 1
# include <search.h>
typedef int (*compar_fn_t) (const void *, const void *);