aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-09-21 22:45:28 +0300
committerArnold D. Robbins <arnold@skeeve.com>2011-09-21 22:45:28 +0300
commit997dbc7f520c811e4c5325b9536f72cb454560cc (patch)
tree14dcc0a02d36df67d0016145a4a34c2d4243be77 /main.c
parentbc5591ac396525b1cf2a2e43f4396b4b854edd9b (diff)
downloadegawk-997dbc7f520c811e4c5325b9536f72cb454560cc.tar.gz
egawk-997dbc7f520c811e4c5325b9536f72cb454560cc.tar.bz2
egawk-997dbc7f520c811e4c5325b9536f72cb454560cc.zip
Make no mbs support work everywhere. Sheesh.
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 657de326..66d4b9b6 100644
--- a/main.c
+++ b/main.c
@@ -148,7 +148,7 @@ int do_binary = FALSE; /* hands off my data! */
int do_sandbox = FALSE; /* sandbox mode - disable 'system' function & redirections */
int use_lc_numeric = FALSE; /* obey locale for decimal point */
-#ifdef MBS_SUPPORT
+#if MBS_SUPPORT
int gawk_mb_cur_max; /* MB_CUR_MAX value, see comment in main() */
#else
const int gawk_mb_cur_max = 1;
@@ -267,7 +267,7 @@ main(int argc, char **argv)
setlocale(LC_TIME, "");
#endif
-#ifdef MBS_SUPPORT
+#if MBS_SUPPORT
/*
* In glibc, MB_CUR_MAX is actually a function. This value is
* tested *a lot* in many speed-critical places in gawk. Caching
@@ -556,7 +556,7 @@ out:
if (do_lint && os_is_setuid())
warning(_("running %s setuid root may be a security problem"), myname);
-#ifdef MBS_SUPPORT
+#if MBS_SUPPORT
if (do_binary) {
if (do_posix)
warning(_("`--posix' overrides `--binary'"));