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 From b3e02a657547d3ebaccdd9e6853979ee8d1e3b67 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 14 May 2014 22:14:01 +0300 Subject: Remove Ultrix 4.3 support in custom.h. --- custom.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'custom.h') diff --git a/custom.h b/custom.h index e336cd3c..efaa0f27 100644 --- a/custom.h +++ b/custom.h @@ -47,12 +47,6 @@ #define HAVE_MKTIME 1 #endif -/* For ULTRIX 4.3 */ -#ifdef ultrix -#define HAVE_MKTIME 1 -#define GETGROUPS_NOT_STANDARD 1 -#endif - /* For whiny users */ #ifdef USE_INCLUDED_STRFTIME #undef HAVE_STRFTIME -- cgit v1.2.3