summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorDaniel Kolesa2022-11-01 20:14:54 +0100
committerjvoisin2025-10-31 22:16:21 +0100
commit8915dc13de44fed3a076a9fd51eb1ab2b5502d7b (patch)
treec56a13e358ada44ed8048c0b78d8c2837ea9c27e /include/wchar.h
parent8dedaf5cadf154d2ab9abfccb3b80347b5e78e18 (diff)
avoid __extension__ with clang
It seems useless and triggers 'error: expected external declaration'
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h8
1 files changed, 4 insertions, 4 deletions
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 @@
16#ifndef _FORTIFY_WCHAR_H 16#ifndef _FORTIFY_WCHAR_H
17#define _FORTIFY_WCHAR_H 17#define _FORTIFY_WCHAR_H
18 18
19#ifndef __cplusplus 19#if !defined(__cplusplus) && !defined(__clang__)
20__extension__ 20__extension__
21#endif 21#endif
22#include_next <limits.h> 22#include_next <limits.h>
23#ifndef __cplusplus 23#if !defined(__cplusplus) && !defined(__clang__)
24__extension__ 24__extension__
25#endif 25#endif
26#include_next <stdlib.h> 26#include_next <stdlib.h>
27#ifndef __cplusplus 27#if !defined(__cplusplus) && !defined(__clang__)
28__extension__ 28__extension__
29#endif 29#endif
30#include_next <string.h> 30#include_next <string.h>
31#ifndef __cplusplus 31#if !defined(__cplusplus) && !defined(__clang__)
32__extension__ 32__extension__
33#endif 33#endif
34#include_next <wchar.h> 34#include_next <wchar.h>