From 6fb46f07bca1a074c66c6b370c313113d5adb09f 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(...)'. FossilOrigin-Name: 90c953146c93b5870cfefe454805861cd073dc30 --- 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