From adae76af26e498af6c3004a52a4b1de2c6fd91c3 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/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h index 1b1cd46..5102d24 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -16,7 +16,7 @@ #ifndef _FORTIFY_STDIO_H #define _FORTIFY_STDIO_H -#ifndef __cplusplus +#if !defined(__cplusplus) && !defined(__clang__) __extension__ #endif #include_next -- cgit v1.3