diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-09-21 22:45:28 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-09-21 22:45:28 +0300 |
commit | 997dbc7f520c811e4c5325b9536f72cb454560cc (patch) | |
tree | 14dcc0a02d36df67d0016145a4a34c2d4243be77 /main.c | |
parent | bc5591ac396525b1cf2a2e43f4396b4b854edd9b (diff) | |
download | egawk-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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'")); |