diff options
Diffstat (limited to 'regex/utils.h')
-rw-r--r-- | regex/utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regex/utils.h b/regex/utils.h index f271f759b1..1a997ac8fc 100644 --- a/regex/utils.h +++ b/regex/utils.h @@ -1,9 +1,9 @@ /* utility definitions */ -#ifndef _POSIX2_RE_DUP_MAX -#define _POSIX2_RE_DUP_MAX 255 +#ifdef _POSIX2_RE_DUP_MAX +#define DUPMAX _POSIX2_RE_DUP_MAX +#else +#define DUPMAX 255 #endif - -#define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */ #define INFINITY (DUPMAX + 1) #define NC (CHAR_MAX - CHAR_MIN + 1) typedef unsigned char uch; |