1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00

absolute-header: Add support for clang.

* modules/absolute-header (Makefile.am): Include '__clang__' in the
HAVE_INCLUDE_NEXT expression.
This commit is contained in:
Bruno Haible
2020-08-16 18:54:44 +02:00
parent 5297992f06
commit 1e643a6237
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
2020-08-16 Bruno Haible <bruno@clisp.org>
absolute-header: Add support for clang.
* modules/absolute-header (Makefile.am): Include '__clang__' in the
HAVE_INCLUDE_NEXT expression.
2020-08-16 Bruno Haible <bruno@clisp.org>
Fix "warning: implicitly declaring library function 'strcasecmp'".
+1 -1
View File
@@ -12,7 +12,7 @@ Makefile.am:
# Use this preprocessor expression to decide whether #include_next works.
# Do not rely on a 'configure'-time test for this, since the expression
# might appear in an installed header, which is used by some other compiler.
HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
Include: