svn commit: trunk/uClibc/libc/misc/regex
vapier at uclibc.org
vapier at uclibc.org
Tue Feb 7 05:10:25 UTC 2006
Author: vapier
Date: 2006-02-06 21:10:21 -0800 (Mon, 06 Feb 2006)
New Revision: 13869
Log:
include stdint.h and check __intptr_t_defined to see if we need to setup uintptr_t
Modified:
trunk/uClibc/libc/misc/regex/regex_old.c
Changeset:
Modified: trunk/uClibc/libc/misc/regex/regex_old.c
===================================================================
--- trunk/uClibc/libc/misc/regex/regex_old.c 2006-02-07 05:00:57 UTC (rev 13868)
+++ trunk/uClibc/libc/misc/regex/regex_old.c 2006-02-07 05:10:21 UTC (rev 13869)
@@ -31,6 +31,7 @@
# define RE_TRANSLATE_TYPE char *
#endif
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <stdio.h>
@@ -331,7 +332,7 @@
# endif /* emacs */
/* Integer type for pointers. */
-# if !defined _LIBC
+# if !defined _LIBC && !defined __intptr_t_defined
typedef unsigned long int uintptr_t;
# endif
More information about the uClibc-cvs
mailing list