diff options
Diffstat (limited to 'lib/stdlib.in.h')
| -rw-r--r-- | lib/stdlib.in.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index ec5f124a366..59f9e6c71d1 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -101,10 +101,12 @@ struct random_data | |||
| 101 | 101 | ||
| 102 | /* The __attribute__ feature is available in gcc versions 2.5 and later. | 102 | /* The __attribute__ feature is available in gcc versions 2.5 and later. |
| 103 | The attribute __pure__ was added in gcc 2.96. */ | 103 | The attribute __pure__ was added in gcc 2.96. */ |
| 104 | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) | 104 | #ifndef _GL_ATTRIBUTE_PURE |
| 105 | # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) | 105 | # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) |
| 106 | #else | 106 | # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) |
| 107 | # define _GL_ATTRIBUTE_PURE /* empty */ | 107 | # else |
| 108 | # define _GL_ATTRIBUTE_PURE /* empty */ | ||
| 109 | # endif | ||
| 108 | #endif | 110 | #endif |
| 109 | 111 | ||
| 110 | /* The definition of _Noreturn is copied here. */ | 112 | /* The definition of _Noreturn is copied here. */ |