projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7dae72b
)
[project @ 2002-02-15 11:26:02 by simonpj]
author
simonpj
<unknown>
Fri, 15 Feb 2002 11:26:02 +0000
(11:26 +0000)
committer
simonpj
<unknown>
Fri, 15 Feb 2002 11:26:02 +0000
(11:26 +0000)
mingw32 doesn't define _POSIX2_RE_DUP_MAX, it seems
cbits/regex/utils.h
patch
|
blob
|
history
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
*/
+/* 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)