diff options
Diffstat (limited to 'lib/string.in.h')
| -rw-r--r-- | lib/string.in.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/string.in.h b/lib/string.in.h index 596c99bf2e2..96e132f37d7 100644 --- a/lib/string.in.h +++ b/lib/string.in.h | |||
| @@ -54,10 +54,12 @@ | |||
| 54 | 54 | ||
| 55 | /* The __attribute__ feature is available in gcc versions 2.5 and later. | 55 | /* The __attribute__ feature is available in gcc versions 2.5 and later. |
| 56 | The attribute __pure__ was added in gcc 2.96. */ | 56 | The attribute __pure__ was added in gcc 2.96. */ |
| 57 | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) | 57 | #ifndef _GL_ATTRIBUTE_PURE |
| 58 | # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) | 58 | # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) |
| 59 | #else | 59 | # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) |
| 60 | # define _GL_ATTRIBUTE_PURE /* empty */ | 60 | # else |
| 61 | # define _GL_ATTRIBUTE_PURE /* empty */ | ||
| 62 | # endif | ||
| 61 | #endif | 63 | #endif |
| 62 | 64 | ||
| 63 | /* NetBSD 5.0 declares strsignal in <unistd.h>, not in <string.h>. */ | 65 | /* NetBSD 5.0 declares strsignal in <unistd.h>, not in <string.h>. */ |