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