diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-12-06 21:37:17 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-12-06 21:37:17 +0200 |
commit | 77620464b7805e03fcfc5de21a6e46b32426c6f0 (patch) | |
tree | 22516f41f0af64170ed17e104d371dbed86d5109 | |
parent | c45c07f2825065fdeb701c5dff763b988f6d9653 (diff) | |
download | egawk-77620464b7805e03fcfc5de21a6e46b32426c6f0.tar.gz egawk-77620464b7805e03fcfc5de21a6e46b32426c6f0.tar.bz2 egawk-77620464b7805e03fcfc5de21a6e46b32426c6f0.zip |
Also need this change for dfa.h for dfa.c sync.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | dfa.h | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -1,6 +1,7 @@ 2011-11-27 Arnold D. Robbins <arnold@skeeve.com> * dfa.c: Sync with GNU grep. + * dfa.h: Add _GL_ATTRIBUTE_PURE macro. Bleah. 2011-11-14 John Haque <j.eh@mchsi.com> @@ -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 |