From 832b4cfc8e206404daaa8a0c1e817273784db157 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Fri, 10 Oct 2008 21:57:36 +0000 Subject: [PATCH] In 8.6a3 the Tcl_FSFileAttrStringsProc had additional const added to it and a CONST86 macro was added for compatability. Make use of it. --- ChangeLog | 4 ++++ generic/vfs.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fb19aaa..47109cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-10-10 Pat Thoyts + + * generic/vfs.c: Make use of CONST86 for 8.6a3 support. + 2008-08-11 Pat Thoyts * http2.6/http.tcl: Merged zlib crc fix from Tcl. diff --git a/generic/vfs.c b/generic/vfs.c index e785e56..ed189fd 100644 --- a/generic/vfs.c +++ b/generic/vfs.c @@ -39,6 +39,10 @@ #define TCL_GLOB_TYPE_MOUNT (1<<7) #endif +#ifndef CONST86 +#define CONST86 +#endif + /* * Only the _Init function is exported. */ @@ -1656,7 +1660,7 @@ VfsRemoveDirectory( return returnVal; } -static CONST char** +static CONST char * CONST86 * VfsFileAttrStrings(pathPtr, objPtrRef) Tcl_Obj* pathPtr; Tcl_Obj** objPtrRef; -- 2.23.0