aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-10-04 21:57:57 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-10-04 21:57:57 +0200
commit6735db9861e32576ece279f7e9e0ecaa314786a2 (patch)
treefb8ea13fc908095b0eeed12177afb0820642bcc9 /awk.h
parent953f97ddd184f3dfb1ce16ee2965012965b17fac (diff)
downloadegawk-6735db9861e32576ece279f7e9e0ecaa314786a2.tar.gz
egawk-6735db9861e32576ece279f7e9e0ecaa314786a2.tar.bz2
egawk-6735db9861e32576ece279f7e9e0ecaa314786a2.zip
Make gawk_mb_cur_max compile time constant if no mbs support.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/awk.h b/awk.h
index 2f3ccddc..0c954723 100644
--- a/awk.h
+++ b/awk.h
@@ -935,7 +935,7 @@ extern int do_lint_old;
#if MBS_SUPPORT
extern int gawk_mb_cur_max;
#else
-extern const int gawk_mb_cur_max;
+#define gawk_mb_cur_max (1)
#endif
#if defined (HAVE_GETGROUPS) && defined(NGROUPS_MAX) && NGROUPS_MAX > 0