aboutsummaryrefslogtreecommitdiffstats
path: root/custom.h
diff options
context:
space:
mode:
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