aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/regex.c')
-rw-r--r--posix/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex.c b/posix/regex.c
index 1435a80..bf85cbd 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -297,7 +297,7 @@ init_syntax_once ()
# endif /* emacs */
/* Integer type for pointers. */
-# if !defined _LIBC
+# if !defined _LIBC && !defined HAVE_UINTPTR_T
typedef unsigned long int uintptr_t;
# endif