summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-02-25 16:46:40 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-02-25 16:46:40 (GMT)
commit9eab669dcad29058d8581e85692326a2c0beed04 (patch)
tree78dd9fb44a0b5886cfc2541bf34fb0c94966f202
parent52c8d2ba56231a4a61be28a46b198b28ed89a3b5 (diff)
downloadtcl-9eab669dcad29058d8581e85692326a2c0beed04.zip
tcl-9eab669dcad29058d8581e85692326a2c0beed04.tar.gz
tcl-9eab669dcad29058d8581e85692326a2c0beed04.tar.bz2
* unix/tclUnixPort.h: corrected strtoll prototype mismatch on Tru64.
-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,