diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-01 11:53:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-01 11:53:18 (GMT) |
commit | fabaafee56263f618a25e27e842a2412a8a61bb3 (patch) | |
tree | b2c075f659ee8256668789ec39d5c223abb782a4 /generic | |
parent | 3df7fe883ed9238895ce61465294b40360d5b9df (diff) | |
parent | 57b2b2606fc89ed19367b2421c0f41327e96c033 (diff) | |
download | tcl-fabaafee56263f618a25e27e842a2412a8a61bb3.zip tcl-fabaafee56263f618a25e27e842a2412a8a61bb3.tar.gz tcl-fabaafee56263f618a25e27e842a2412a8a61bb3.tar.bz2 |
Merge 9.0. Fix MacOSX build
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclIntPlatDecls.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h index 3eb7baa..1ec9259 100644 --- a/generic/tclIntPlatDecls.h +++ b/generic/tclIntPlatDecls.h @@ -753,7 +753,24 @@ extern const TclIntPlatStubs *tclIntPlatStubsPtr; #undef TclpCreateTempFile_ #undef TclUnixWaitForFile_ -#ifndef MAC_OSX_TCL /* not accessable on Win32/UNIX */ +#ifdef MAC_OSX_TCL /* not accessable on Win32/UNIX */ +MODULE_SCOPE int TclMacOSXGetFileAttribute(Tcl_Interp *interp, + int objIndex, Tcl_Obj *fileName, + Tcl_Obj **attributePtrPtr); +/* 16 */ +MODULE_SCOPE int TclMacOSXSetFileAttribute(Tcl_Interp *interp, + int objIndex, Tcl_Obj *fileName, + Tcl_Obj *attributePtr); +/* 17 */ +MODULE_SCOPE int TclMacOSXCopyFileAttributes(const char *src, + const char *dst, + const Tcl_StatBuf *statBufPtr); +/* 18 */ +MODULE_SCOPE int TclMacOSXMatchType(Tcl_Interp *interp, + const char *pathName, const char *fileName, + Tcl_StatBuf *statBufPtr, + Tcl_GlobTypeData *types); +#else #undef TclMacOSXGetFileAttribute /* 15 */ #undef TclMacOSXSetFileAttribute /* 16 */ #undef TclMacOSXCopyFileAttributes /* 17 */ |