summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--unix/tclUnixPort.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 126235c..063edc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2002-02-25 Don Porter <dgp@users.sourceforge.net>
+ * unix/tclUnixPort.h: corrected strtoll prototype mismatch on Tru64.
* compat/strtod.c (strtod): simplified #includes
* compat/strtol.c (strtol): gather result in a long before returning
as a long: necessary on platforms where sizeof(int) != sizeof(long).
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 57d23f2..d3d7a09 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.23 2002/02/22 09:04:48 dkf Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.24 2002/02/25 16:46:40 dgp Exp $
*/
#ifndef _TCLUNIXPORT
@@ -85,7 +85,7 @@ typedef off_t Tcl_SeekOffset;
# define Tcl_PlatformLStat lstat
#endif
-#if !HAVE_STRTOLL && defined(TCL_WIDE_INT_TYPE)
+#if !HAVE_STRTOLL && defined(TCL_WIDE_INT_TYPE) && !TCL_WIDE_INT_IS_LONG
EXTERN Tcl_WideInt strtoll _ANSI_ARGS_((CONST char *string,
char **endPtr, int base));
EXTERN Tcl_WideUInt strtoull _ANSI_ARGS_((CONST char *string,