aboutsummaryrefslogtreecommitdiffstats
path: root/eval.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 /eval.c
parentbc5591ac396525b1cf2a2e43f4396b4b854edd9b (diff)
downloadegawk-997dbc7f520c811e4c5325b9536f72cb454560cc.tar.gz
egawk-997dbc7f520c811e4c5325b9536f72cb454560cc.tar.bz2
egawk-997dbc7f520c811e4c5325b9536f72cb454560cc.zip
Make no mbs support work everywhere. Sheesh.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 0a4a7386..513245f8 100644
--- a/eval.c
+++ b/eval.c
@@ -543,7 +543,7 @@ posix_compare(NODE *s1, NODE *s2)
* In either case, ret will be the right thing to return.
*/
}
-#ifdef MBS_SUPPORT
+#if MBS_SUPPORT
else {
/* Similar logic, using wide characters */
(void) force_wstring(s1);
@@ -626,7 +626,7 @@ cmp_nodes(NODE *t1, NODE *t2)
const unsigned char *cp1 = (const unsigned char *) t1->stptr;
const unsigned char *cp2 = (const unsigned char *) t2->stptr;
-#ifdef MBS_SUPPORT
+#if MBS_SUPPORT
if (gawk_mb_cur_max > 1) {
ret = strncasecmpmbs((const unsigned char *) cp1,
(const unsigned char *) cp2, l);