Update of /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-Constants
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7767/Win32-GUI-Constants
Modified Files:
ppport.h
Log Message:
Update ppport.h to latest version (silence some build warnings)
Index: ppport.h
===================================================================
RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-Constants/ppport.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ppport.h 13 May 2006 15:39:30 -0000 1.1
--- ppport.h 31 Jan 2008 00:23:11 -0000 1.2
***************
*** 5,3327 ****
----------------------------------------------------------------------
! ppport.h -- Perl/Pollution/Portability Version 3.06
!
! Automatically created by Devel::PPPort running under
! perl 5.008007 on Fri Mar 17 15:01:07 2006.
!
! Do NOT edit this file directly! -- Edit PPPort_pm.PL and the
! includes in parts/inc/ instead.
!
[...7494 lines suppressed...]
! extern Size_t DPPP_(my_my_strlcpy)(char * dst, const char * src, Size_t size);
! #endif
! #define my_strlcpy DPPP_(my_my_strlcpy)
! #define Perl_my_strlcpy DPPP_(my_my_strlcpy)
! #if defined(NEED_my_strlcpy) || defined(NEED_my_strlcpy_GLOBAL)
! Size_t
! DPPP_(my_my_strlcpy)(char *dst, const char *src, Size_t size)
! {
! Size_t length, copy;
! length = strlen(src);
! if (size > 0) {
! copy = (length >= size) ? size - 1 : length;
! memcpy(dst, src, copy);
! dst[copy] = '\0';
! }
! return length;
! }
! #endif
! #endif
#endif
|