diff options
Diffstat (limited to 'include/obstack.h')
-rw-r--r-- | include/obstack.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/obstack.h b/include/obstack.h index 0ff3309..0d13c72 100644 --- a/include/obstack.h +++ b/include/obstack.h @@ -142,7 +142,11 @@ P, A) #ifndef __attribute_pure__ -# define __attribute_pure__ _GL_ATTRIBUTE_PURE +# if defined __GNUC_MINOR__ && __GNUC__ * 1000 + __GNUC_MINOR__ >= 2096 +# define __attribute_pure__ __attribute__ ((__pure__)) +# else +# define __attribute_pure__ +# endif #endif #ifdef __cplusplus |