diff options
Diffstat (limited to 'include/strings.h')
| -rw-r--r-- | include/strings.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/strings.h b/include/strings.h index 1adbf51..4c1a591 100644 --- a/include/strings.h +++ b/include/strings.h | |||
| @@ -5,7 +5,9 @@ | |||
| 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 | #ifndef __cplusplus | 8 | #ifdef __cplusplus |
| 9 | extern "C" { | ||
| 10 | #endif | ||
| 9 | 11 | ||
| 10 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_POSIX_SOURCE) \ | 12 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_POSIX_SOURCE) \ |
| 11 | || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE+0 < 200809L) \ | 13 | || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE+0 < 200809L) \ |
| @@ -37,6 +39,8 @@ void bzero(void *src, size_t n) | |||
| 37 | } | 39 | } |
| 38 | #endif | 40 | #endif |
| 39 | 41 | ||
| 42 | #ifdef __cplusplus | ||
| 43 | } | ||
| 40 | #endif | 44 | #endif |
| 41 | 45 | ||
| 42 | #endif | 46 | #endif |
