summaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-15 18:11:24 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-15 18:11:24 +0000
commit7b190504bdf285383c0987485896525d09057470 (patch)
tree3ec44408c0caf6a35fc908c7b6a6e08021a49721 /libiberty/regex.c
parente9fb7b395e10a11f9f7cd40ef76d205ac36df823 (diff)
downloadgcc-7b190504bdf285383c0987485896525d09057470.tar.gz
* config.in (HAVE_UINTPTR_T): Provide autoconf stub.
* configure.in (HAVE_UINTPTR_T): Test for system defining uintptr_t and define HAVE_UINTPTR_T appropriately. * regex.c (uintptr_t): Do not provide a definition if the system provided one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c
index 48429d4d747..5ead8b642d6 100644
--- a/libiberty/regex.c
+++ b/libiberty/regex.c
@@ -301,7 +301,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