summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index ca9840a..8a72e35 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -6,6 +6,10 @@
6 6
7#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 7#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
8 8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
9static inline __attribute__ ((always_inline)) 13static inline __attribute__ ((always_inline))
10wchar_t * 14wchar_t *
11__fortify_fgetws(wchar_t *s, int n, FILE *fp) 15__fortify_fgetws(wchar_t *s, int n, FILE *fp)
@@ -249,6 +253,10 @@ __fortify_wmemset(wchar_t *s, wchar_t c, size_t n)
249#undef wmemset 253#undef wmemset
250#define wmemset(s, c, n) __fortify_wmemset(s, c, n) 254#define wmemset(s, c, n) __fortify_wmemset(s, c, n)
251 255
256#ifdef __cplusplus
257}
258#endif
259
252#endif 260#endif
253 261
254#endif 262#endif