summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index dac8435..f613429 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -6,7 +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#ifndef __cplusplus 9#ifdef __cplusplus
10extern "C" {
11#endif
12
10#undef fgetws 13#undef fgetws
11#undef mbsnrtowcs 14#undef mbsnrtowcs
12#undef mbsrtowcs 15#undef mbsrtowcs
@@ -246,6 +249,8 @@ wchar_t *wmemset(wchar_t *s, wchar_t c, size_t n)
246 return __wmemset_orig(s, c, n); 249 return __wmemset_orig(s, c, n);
247} 250}
248 251
252#ifdef __cplusplus
253}
249#endif 254#endif
250 255
251#endif 256#endif