diff options
| author | hobbs <hobbs> | 2002-02-16 01:17:36 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2002-02-16 01:17:36 (GMT) |
| commit | e35ae5f1518fbb80e239407b469eb028c7f4bb33 (patch) | |
| tree | b7a8808fc7e592019848615993d3af973cdac40d /unix | |
| parent | 3b04ab7677dd53d458e47067fa586d446d5718f0 (diff) | |
| download | tcl-e35ae5f1518fbb80e239407b469eb028c7f4bb33.zip tcl-e35ae5f1518fbb80e239407b469eb028c7f4bb33.tar.gz tcl-e35ae5f1518fbb80e239407b469eb028c7f4bb33.tar.bz2 | |
* unix/tclUnixPort.h: add strtoll/strtoull declarations for
platforms that do not define them.
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/tclUnixPort.h | 9 |
1 files changed, 8 insertions, 1 deletions
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> |
