diff options
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index f4a026b..9d3698a 100644 --- a/include/stdlib.h +++ b/include/stdlib.h | |||
| @@ -9,7 +9,9 @@ | |||
| 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 | #ifndef __cplusplus | 12 | #ifdef __cplusplus |
| 13 | extern "C" { | ||
| 14 | #endif | ||
| 13 | 15 | ||
| 14 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | 16 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) |
| 15 | #undef realpath | 17 | #undef realpath |
| @@ -33,6 +35,8 @@ char *realpath(const char *path, char *resolved) | |||
| 33 | } | 35 | } |
| 34 | #endif | 36 | #endif |
| 35 | 37 | ||
| 38 | #ifdef __cplusplus | ||
| 39 | } | ||
| 36 | #endif | 40 | #endif |
| 37 | 41 | ||
| 38 | #endif | 42 | #endif |
