X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fsetenv.c;h=78c7aaa31ec1c7b6e8cdea52ccf0565b5e67522c;hb=refs%2Fheads%2Faccepted%2Ftizen_7.0_base_tool_hotfix;hp=995a0f26a1c7c9df954101aa57bc72db751503cf;hpb=931b01b091932a1f796c23379ea32abb68bd5895;p=platform%2Fupstream%2Fm4.git
diff --git a/tests/setenv.c b/tests/setenv.c
index 995a0f2..78c7aaa 100644
--- a/tests/setenv.c
+++ b/tests/setenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995-2003, 2005-2013 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995-2003, 2005-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software: you can redistribute it and/or modify
@@ -12,7 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see . */
+ along with this program. If not, see . */
#if !_LIBC
/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc
@@ -72,7 +72,7 @@ __libc_lock_define_initialized (static, envlock)
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
typedef int (*compar_fn_t) (const void *, const void *);