summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-02-16 01:17:36 (GMT)
committerhobbs <hobbs>2002-02-16 01:17:36 (GMT)
commit53ca72af4923928c8ab2fa18841fe7449cae0f3b (patch)
treeb7a8808fc7e592019848615993d3af973cdac40d /unix/tclUnixPort.h
parentf6f633062717623bc482679f9082c4236df642b0 (diff)
downloadtcl-53ca72af4923928c8ab2fa18841fe7449cae0f3b.zip
tcl-53ca72af4923928c8ab2fa18841fe7449cae0f3b.tar.gz
tcl-53ca72af4923928c8ab2fa18841fe7449cae0f3b.tar.bz2
* unix/tclUnixPort.h: add strtoll/strtoull declarations for
platforms that do not define them.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h9
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>