aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/streq.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/streq.h')
-rw-r--r--gnulib/import/streq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnulib/import/streq.h b/gnulib/import/streq.h
index d06c272..9b63e81 100644
--- a/gnulib/import/streq.h
+++ b/gnulib/import/streq.h
@@ -1,5 +1,5 @@
/* Optimized string comparison.
- Copyright (C) 2001-2002, 2007, 2009-2020 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)