projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-08-23 22:10:43 by sof]
[ghc-base.git]
/
cbits
/
regex
/
utils.h
diff --git
a/cbits/regex/utils.h
b/cbits/regex/utils.h
index
d804d8d
..
4c3b316
100644
(file)
--- a/
cbits/regex/utils.h
+++ b/
cbits/regex/utils.h
@@
-37,6
+37,11
@@
* @(#)utils.h 8.3 (Berkeley) 3/20/94
*/
* @(#)utils.h 8.3 (Berkeley) 3/20/94
*/
+/* Added by SDM 15/2/2002: apparently mingw doesn't define this constant */
+#ifndef _POSIX2_RE_DUP_MAX
+#define _POSIX2_RE_DUP_MAX 255
+#endif
+
/* utility definitions */
#define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */
#define INFINITY (DUPMAX + 1)
/* utility definitions */
#define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */
#define INFINITY (DUPMAX + 1)