summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.h b/regcomp.h
index b8484d7103..e339feb235 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -180,10 +180,10 @@ EXT char regdummy;
* Utility definitions.
*/
#ifndef lint
-#ifndef CHARBITS
+#ifndef CHARMASK
#define UCHARAT(p) ((int)*(unsigned char *)(p))
#else
-#define UCHARAT(p) ((int)*(p)&CHARBITS)
+#define UCHARAT(p) ((int)*(p)&CHARMASK)
#endif
#else /* lint */
#define UCHARAT(p) regdummy