summaryrefslogtreecommitdiff
path: root/lib/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/regex.c')
-rw-r--r--lib/regex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/regex.c b/lib/regex.c
index 9167cbc88..7d7a9793e 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -113,10 +113,10 @@
# endif
/* Support for bounded pointers. */
-# ifndef __BOUNDED_POINTERS__
-# define __bounded /* nothing */
-# define __unbounded /* nothing */
-# define __ptrvalue /* nothing */
+# if !defined _LIBC && !defined __BOUNDED_POINTERS__
+# define __bounded /* nothing */
+# define __unbounded /* nothing */
+# define __ptrvalue /* nothing */
# endif
/* The `emacs' switch turns on certain matching commands