diff options
author | suresh <suresh> | 1998-05-28 15:18:17 (GMT) |
---|---|---|
committer | suresh <suresh> | 1998-05-28 15:18:17 (GMT) |
commit | 880fea0671680fcbf80693e02548fda4bc69686f (patch) | |
tree | 9457f3e09794b7c76f669d30679b4342cdeed86d | |
parent | 5110e5f588c6e0872c3ce98fd50302f3cd2304bc (diff) | |
download | tcl-880fea0671680fcbf80693e02548fda4bc69686f.zip tcl-880fea0671680fcbf80693e02548fda4bc69686f.tar.gz tcl-880fea0671680fcbf80693e02548fda4bc69686f.tar.bz2 |
Added macro ti simply map 'TclpStat(...)' to 'stat(...)'.
Added macro to simply map 'TclpAccess(...)' to 'access(...)'.
-rw-r--r-- | unix/tclUnixPort.h | 9 |
1 files changed, 9 insertions, 0 deletions
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. */ |