From 8915dc13de44fed3a076a9fd51eb1ab2b5502d7b Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Tue, 1 Nov 2022 20:14:54 +0100 Subject: avoid __extension__ with clang It seems useless and triggers 'error: expected external declaration' --- include/wchar.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/wchar.h') diff --git a/include/wchar.h b/include/wchar.h index 0fba370..4f25b0c 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -16,19 +16,19 @@ #ifndef _FORTIFY_WCHAR_H #define _FORTIFY_WCHAR_H -#ifndef __cplusplus +#if !defined(__cplusplus) && !defined(__clang__) __extension__ #endif #include_next -#ifndef __cplusplus +#if !defined(__cplusplus) && !defined(__clang__) __extension__ #endif #include_next -#ifndef __cplusplus +#if !defined(__cplusplus) && !defined(__clang__) __extension__ #endif #include_next -#ifndef __cplusplus +#if !defined(__cplusplus) && !defined(__clang__) __extension__ #endif #include_next -- cgit v1.3