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