From 880fea0671680fcbf80693e02548fda4bc69686f Mon Sep 17 00:00:00 2001 From: suresh Date: Thu, 28 May 1998 15:18:17 +0000 Subject: Added macro ti simply map 'TclpStat(...)' to 'stat(...)'. Added macro to simply map 'TclpAccess(...)' to 'access(...)'. --- unix/tclUnixPort.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 4613704..f99910f 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -300,6 +300,15 @@ EXTERN int gettimeofday _ANSI_ARGS_((struct timeval *tp, #endif /* + * On UNIX, there's no platform specific implementation of "TclpStat(...)" + * or "TclpAccess(...)". Simply call "stat(...)' and "access(...)" + * respectively. + */ + +#define TclpStat stat +#define TclpAccess access + +/* * On systems without symbolic links (i.e. S_IFLNK isn't defined) * define "lstat" to use "stat" instead. */ -- cgit v0.12