summaryrefslogtreecommitdiff
path: root/custom.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-05-14 22:11:34 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-05-14 22:11:34 +0300
commita2a25b2e5841a2aac5e8b78b97dec88feb1e7144 (patch)
tree7faafdb9137ba6430f0b6da6392849f98ab72354 /custom.h
parentcd78eac2bc3b182ddca47b97f7f460c3358c7b09 (diff)
downloadgawk-a2a25b2e5841a2aac5e8b78b97dec88feb1e7144.tar.gz
Sync with GNU grep.
Diffstat (limited to 'custom.h')
-rw-r--r--custom.h8
1 files changed, 8 insertions, 0 deletions
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