From 77620464b7805e03fcfc5de21a6e46b32426c6f0 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 6 Dec 2011 21:37:17 +0200 Subject: Also need this change for dfa.h for dfa.c sync. --- dfa.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dfa.h') diff --git a/dfa.h b/dfa.h index 4d65ee34..d45f3139 100644 --- a/dfa.h +++ b/dfa.h @@ -22,6 +22,13 @@ # define __attribute__(x) #endif +/* 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 + /* Element of a list of strings, at least one of which is known to appear in any R.E. matching the DFA. */ struct dfamust -- cgit v1.2.3