aboutsummaryrefslogtreecommitdiffstats
path: root/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'version.c')
-rw-r--r--version.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/version.c b/version.c
index 57a9abdf..ded3f0cd 100644
--- a/version.c
+++ b/version.c
@@ -1,4 +1,7 @@
-char *version_string = "@(#)GNU Awk 3.1";
+#if ! defined(__STDC__) || __STDC__ < 1
+#define const
+#endif
+const char *version_string = "@(#)GNU Awk 3.1";
/* 1.02 fixed /= += *= etc to return the new Left Hand Side instead
of the Right Hand Side */