summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-27 12:06:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-27 12:06:38 (GMT)
commit82b83bb7a68b03927e9ac7f85cf15b29df8e5e6d (patch)
tree747347f78ae71362cedfbc77e146281df214e721 /unix
parent841855aced97c9d2954720c5d8cadc28d6627fd2 (diff)
parent5c2d281edc798baa53966b4b5a9eadcb6a2e9ac9 (diff)
downloadtcl-82b83bb7a68b03927e9ac7f85cf15b29df8e5e6d.zip
tcl-82b83bb7a68b03927e9ac7f85cf15b29df8e5e6d.tar.gz
tcl-82b83bb7a68b03927e9ac7f85cf15b29df8e5e6d.tar.bz2
Merge 8.6
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPort.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 211a849..c66415a 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
/*