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:
@@ -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'".
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user