summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/gnulib/lib/streq.h
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/gnulib/lib/streq.h')
-rw-r--r--macros/texinfo/texinfo/gnulib/lib/streq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/texinfo/texinfo/gnulib/lib/streq.h b/macros/texinfo/texinfo/gnulib/lib/streq.h
index 326537b6d0..9b63e81c2e 100644
--- a/macros/texinfo/texinfo/gnulib/lib/streq.h
+++ b/macros/texinfo/texinfo/gnulib/lib/streq.h
@@ -1,5 +1,5 @@
/* Optimized string comparison.
- Copyright (C) 2001-2002, 2007, 2009-2019 Free Software Foundation, Inc.
+ Copyright (C) 2001-2002, 2007, 2009-2021 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
@@ -29,7 +29,7 @@
/* Help GCC to generate good code for string comparisons with
immediate strings. */
-#if defined (__GNUC__) && defined (__OPTIMIZE__)
+#if (defined __GNUC__ || defined __clang__) && defined __OPTIMIZE__
static inline int
streq9 (const char *s1, const char *s2)