aboutsummaryrefslogtreecommitdiffstats
path: root/dfa.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-12-08 21:20:11 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-12-08 21:20:11 +0200
commitc5da922b0486462028584e4568d6e00d1a4f2783 (patch)
treede1d17b273449e5aa03dcbf79d53edbc0bc3b157 /dfa.h
parent69239a8fd65ad7f55cc2d567c933a800d5d10fac (diff)
parentd586094c7c4a9a412a7633a32d2b92a8e1cfea1c (diff)
downloadegawk-c5da922b0486462028584e4568d6e00d1a4f2783.tar.gz
egawk-c5da922b0486462028584e4568d6e00d1a4f2783.tar.bz2
egawk-c5da922b0486462028584e4568d6e00d1a4f2783.zip
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'dfa.h')
-rw-r--r--dfa.h7
1 files changed, 7 insertions, 0 deletions
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