diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | unix/tclUnixPort.h | 9 |
2 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2002-02-15 Jeff Hobbs <jeffh@ActiveState.com> + * unix/tclUnixPort.h: add strtoll/strtoull declarations for + platforms that do not define them. + * generic/tclIndexObj.c (STRING_AT): removed ptrdiff_t cast and use of VOID* in default case (GNU-ism). diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 5b3b160..0b994f2 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -19,7 +19,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPort.h,v 1.21 2002/02/15 14:28:50 dkf Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.22 2002/02/16 01:17:36 hobbs Exp $ */ #ifndef _TCLUNIXPORT @@ -85,6 +85,13 @@ typedef off_t Tcl_SeekOffset; # define Tcl_PlatformLStat lstat #endif +#if !HAVE_STRTOLL && defined(TCL_WIDE_INT_TYPE) +EXTERN Tcl_WideInt strtoll _ANSI_ARGS_((char *string, char **endPtr, + int base)); +EXTERN Tcl_WideUInt strtoull _ANSI_ARGS_((char *string, char **endPtr, + int base)); +#endif + #include <sys/file.h> #ifdef HAVE_SYS_SELECT_H # include <sys/select.h> |