From a2a25b2e5841a2aac5e8b78b97dec88feb1e7144 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 14 May 2014 22:11:34 +0300 Subject: Sync with GNU grep. --- custom.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'custom.h') diff --git a/custom.h b/custom.h index 36b4aa0b..e336cd3c 100644 --- a/custom.h +++ b/custom.h @@ -76,3 +76,11 @@ extern int setenv(const char *name, const char *value, int rewrite); extern int unsetenv(const char *name); #endif + +/* Junk for dfa.[ch] */ +/* The __pure__ attribute was added in gcc 2.96. */ +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) +# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) +#else +# define _GL_ATTRIBUTE_PURE /* empty */ +#endif -- cgit v1.2.3