summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-27 12:07:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-27 12:07:00 (GMT)
commit8c16a043c1f3eb3f4809ca9576b3a30472a44693 (patch)
treef59b963c0f9cb39933ae14b077590691d4f07e18 /unix/tclUnixPort.h
parent6eaa73e23c4c81f8280e361b6b4ce64c460e32ee (diff)
parent82b83bb7a68b03927e9ac7f85cf15b29df8e5e6d (diff)
downloadtcl-8c16a043c1f3eb3f4809ca9576b3a30472a44693.zip
tcl-8c16a043c1f3eb3f4809ca9576b3a30472a44693.tar.gz
tcl-8c16a043c1f3eb3f4809ca9576b3a30472a44693.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 4242542..8f92f41 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -131,11 +131,11 @@ extern "C" {
}
#endif
#elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__)
-# define TclOSstat stat64
-# define TclOSlstat lstat64
+# define TclOSstat(name, buf) stat64(name, (struct stat64 *)buf)
+# define TclOSlstat(name,buf) lstat64(name, (struct stat64 *)buf)
#else
-# define TclOSstat stat
-# define TclOSlstat lstat
+# define TclOSstat(name, buf) stat(name, (struct stat *)buf)
+# define TclOSlstat(name, buf) lstat(name, (struct stat *)buf)
#endif
/*