16 lines
437 B
Plaintext
16 lines
437 B
Plaintext
$NetBSD: patch-ab,v 1.6 2011/11/14 04:19:30 sbd Exp $
|
|
|
|
don't let it roll its own uintptr_t, because it gets it wrong.
|
|
|
|
--- src/regex.c.orig 2002-04-08 08:19:50.000000000 +0000
|
|
+++ src/regex.c
|
|
@@ -298,7 +298,7 @@ init_syntax_once ()
|
|
|
|
/* Integer type for pointers. */
|
|
# if !defined _LIBC
|
|
-typedef unsigned long int uintptr_t;
|
|
+# include <stdint.h>
|
|
# endif
|
|
|
|
/* Should we use malloc or alloca? If REG2EX2_MALLOC is not defined, we
|