summaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorsin2015-03-11 11:18:31 +0000
committersin2015-03-11 11:18:31 +0000
commit14af218559243c1e16cf871e1823f1a5d8cece9f (patch)
tree86c5e51f27b6ba5b65d33429135ea5893445102e /include/stdio.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/stdio.h')
-rw-r--r--include/stdio.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/stdio.h b/include/stdio.h
index ab9b00f..0c32728 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -5,9 +5,7 @@
5 5
6#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 6#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
7 7
8#ifdef __cplusplus 8#ifndef __cplusplus
9extern "C" {
10#endif
11 9
12static inline __attribute__ ((always_inline)) 10static inline __attribute__ ((always_inline))
13char * 11char *
@@ -108,8 +106,6 @@ __fortify_vsnprintf(char *s, size_t n, const char *fmt, __builtin_va_list ap)
108 r; \ 106 r; \
109}) 107})
110 108
111#ifdef __cplusplus
112}
113#endif 109#endif
114 110
115#endif 111#endif