aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/regex.c')
-rw-r--r--posix/regex.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/posix/regex.c b/posix/regex.c
index 567c7d0b97..f17a4fed70 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -112,6 +112,13 @@
# define gettext_noop(String) String
# endif
+/* Support for bounded pointers. */
+# if !defined _LIBC && !defined __BOUNDED_POINTERS__
+# define __bounded /* nothing */
+# define __unbounded /* nothing */
+# define __ptrvalue /* nothing */
+# endif
+
/* The `emacs' switch turns on certain matching commands
that make sense only in Emacs. */
# ifdef emacs