aboutsummaryrefslogtreecommitdiffstats
path: root/custom.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-05-14 22:22:08 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-05-14 22:22:08 +0300
commitc85701de44acc1cb67dcc8b220bd94b9191873ed (patch)
tree428cb06e626425e55c3a8ebd3e752dfcb8a69cf5 /custom.h
parent0fb3bc1f907fc707d3ffc662adf51021560a0ddc (diff)
parentb34ea22faeecc99f81f4d897d5c4cc815eab2ddb (diff)
downloadegawk-c85701de44acc1cb67dcc8b220bd94b9191873ed.tar.gz
egawk-c85701de44acc1cb67dcc8b220bd94b9191873ed.tar.bz2
egawk-c85701de44acc1cb67dcc8b220bd94b9191873ed.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'custom.h')
-rw-r--r--custom.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/custom.h b/custom.h
index 36b4aa0b..efaa0f27 100644
--- a/custom.h
+++ b/custom.h
@@ -47,12 +47,6 @@
#define HAVE_MKTIME 1
#endif
-/* For ULTRIX 4.3 */
-#ifdef ultrix
-#define HAVE_MKTIME 1
-#define GETGROUPS_NOT_STANDARD 1
-#endif
-
/* For whiny users */
#ifdef USE_INCLUDED_STRFTIME
#undef HAVE_STRFTIME
@@ -76,3 +70,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