summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorsin2015-03-11 11:18:31 +0000
committersin2015-03-11 11:18:31 +0000
commit14af218559243c1e16cf871e1823f1a5d8cece9f (patch)
tree86c5e51f27b6ba5b65d33429135ea5893445102e /include/wchar.h
parent8604f138c55ab4904a2fd9b7edce2b688c70e6c0 (diff)
Ignore C++ for now
It is not legal to override standard functions using macros in C++. We may have to revisit this in the future.
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 8a72e35..9180603 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -6,9 +6,7 @@
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 9#ifndef __cplusplus
10extern "C" {
11#endif
12 10
13static inline __attribute__ ((always_inline)) 11static inline __attribute__ ((always_inline))
14wchar_t * 12wchar_t *
@@ -253,8 +251,6 @@ __fortify_wmemset(wchar_t *s, wchar_t c, size_t n)
253#undef wmemset 251#undef wmemset
254#define wmemset(s, c, n) __fortify_wmemset(s, c, n) 252#define wmemset(s, c, n) __fortify_wmemset(s, c, n)
255 253
256#ifdef __cplusplus
257}
258#endif 254#endif
259 255
260#endif 256#endif