dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnet/support regex.c,1.2,1.3


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/support regex.c,1.2,1.3
Date: Tue, 02 Dec 2003 23:11:19 +0000

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv6362/support

Modified Files:
        regex.c 
Log Message:


Add <inttypes.h> to configure.in so that regex routines get the correct
definition of "uintptr_t" (thanks to Miroslaw Dobrzanski-Neumann for
identifying the issue).


Index: regex.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/regex.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** regex.c     15 May 2003 02:46:28 -0000      1.2
--- regex.c     2 Dec 2003 23:11:17 -0000       1.3
***************
*** 51,54 ****
--- 51,57 ----
  #  include <sys/types.h>
  # endif
+ # if defined HAVE_INTTYPES_H
+ #  include <inttypes.h>
+ # endif
  
  # define WIDE_CHAR_SUPPORT (HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC)
***************
*** 300,304 ****
  
  /* Integer type for pointers.  */
! # if !defined _LIBC && !defined HAVE_UINTPTR_T
  typedef unsigned long int uintptr_t;
  # endif
--- 303,307 ----
  
  /* Integer type for pointers.  */
! # if !defined _LIBC && !defined HAVE_UINTPTR_T && !defined HAVE_INTTYPES_H
  typedef unsigned long int uintptr_t;
  # endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]