summaryrefslogtreecommitdiff
path: root/regex/utils.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-11-12 20:27:52 +0000
committerSascha Schumann <sas@php.net>1999-11-12 20:27:52 +0000
commit6f572248907b8489b360ed2f030c10a2f5bb2e67 (patch)
treee5ff355bae61dce747aa699b24bdaabc025e8c45 /regex/utils.h
parente20e9786b3a1de2f209df560c43e36eb74af046a (diff)
downloadphp-git-6f572248907b8489b360ed2f030c10a2f5bb2e67.tar.gz
upgrade regex library to alpha3.8
@- Upgraded regex library to alpha3.8 (Sascha)
Diffstat (limited to 'regex/utils.h')
-rw-r--r--regex/utils.h8
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;