summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorsin2015-03-11 11:18:31 +0000
committersin2015-03-11 11:18:31 +0000
commit14af218559243c1e16cf871e1823f1a5d8cece9f (patch)
tree86c5e51f27b6ba5b65d33429135ea5893445102e /include/stdlib.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/stdlib.h')
-rw-r--r--include/stdlib.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 312555c..4422f5e 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -9,9 +9,7 @@
9 9
10#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 10#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
11 11
12#ifdef __cplusplus 12#ifndef __cplusplus
13extern "C" {
14#endif
15 13
16#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 14#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
17static inline __attribute__ ((always_inline)) 15static inline __attribute__ ((always_inline))
@@ -36,8 +34,6 @@ __fortify_realpath(const char *path, char *resolved)
36#define realpath(path, resolved) __fortify_realpath(path, resolved) 34#define realpath(path, resolved) __fortify_realpath(path, resolved)
37#endif 35#endif
38 36
39#ifdef __cplusplus
40}
41#endif 37#endif
42 38
43#endif 39#endif