aboutsummaryrefslogtreecommitdiffstats
path: root/mbsupport.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-09-21 21:15:08 +0300
committerArnold D. Robbins <arnold@skeeve.com>2011-09-21 21:15:08 +0300
commit588de030bf792d8fb174d154e7b3a342dc636206 (patch)
tree00ceddbe3db3589ed17f6b771bfad9df3d560ec4 /mbsupport.h
parentdbce70b09d1a8a34c91d968aea196fdc1a979dbf (diff)
downloadegawk-588de030bf792d8fb174d154e7b3a342dc636206.tar.gz
egawk-588de030bf792d8fb174d154e7b3a342dc636206.tar.bz2
egawk-588de030bf792d8fb174d154e7b3a342dc636206.zip
Sync with gnu grep, remove many ifdefs.
Diffstat (limited to 'mbsupport.h')
-rw-r--r--mbsupport.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/mbsupport.h b/mbsupport.h
index c3a6b333..4b71019d 100644
--- a/mbsupport.h
+++ b/mbsupport.h
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2004, 2005 the Free Software Foundation, Inc.
+ * Copyright (C) 2004, 2005, 2011 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -55,5 +55,12 @@
/* We can handle multibyte strings. */
# define MBS_SUPPORT 1
#else
+# define MBS_SUPPORT 0
+#endif
# undef MBS_SUPPORT
+# define MBS_SUPPORT 0
+
+#if ! MBS_SUPPORT
+# undef MB_CUR_MAX
+# define MB_CUR_MAX 1
#endif