blob: 842f3f5da11f88a50450d26ad1fe746184cdf0f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ae,v 1.1 2006/03/22 21:22:09 joerg Exp $
--- object/Regex.h.orig 2006-03-22 19:30:38.000000000 +0000
+++ object/Regex.h
@@ -171,6 +171,7 @@
#warning REGEX_POSIX defined but REG_EXTENDED not found.
#endif
+#if !defined(__DragonFly__)
/* These are named posix_re_comp and then #defined to the original names
because MacOS X is nice enough to typedef re_comp and re_exec differently
in unistd.h. Eww. */
@@ -179,6 +180,7 @@ char *posix_re_comp(char *regex);
int posix_re_exec(char *string);
#define re_comp(a) (posix_re_comp(a))
#define re_exec(a) (posix_re_exec(a))
+#endif
#else
/* ********** Try to figure out what else they have. */
|