aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gnu-regex.h')
-rw-r--r--gdb/gnu-regex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gnu-regex.h b/gdb/gnu-regex.h
index 57a4f14..9153ea1 100644
--- a/gdb/gnu-regex.h
+++ b/gdb/gnu-regex.h
@@ -36,6 +36,11 @@ extern "C" {
# include <stddef.h>
#endif
+/* GDB LOCAL: define _REGEX_RE_COMP to get BSD style re_comp and re_exec */
+#ifndef _REGEX_RE_COMP
+#define _REGEX_RE_COMP
+#endif
+
/* The following two types have to be signed and unsigned integer type
wide enough to hold a value of a pointer. For most ANSI compilers
ptrdiff_t and size_t should be likely OK. Still size of these two