diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-27 12:05:39 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-27 12:05:39 (GMT) |
| commit | 5c2d281edc798baa53966b4b5a9eadcb6a2e9ac9 (patch) | |
| tree | c2e2580e09ac0cc50a7301e71c9770bd2d139421 /unix/tclUnixPort.h | |
| parent | 4005a8776ea0d4f3ac50fc59861673e2e1985466 (diff) | |
| download | tcl-5c2d281edc798baa53966b4b5a9eadcb6a2e9ac9.zip tcl-5c2d281edc798baa53966b4b5a9eadcb6a2e9ac9.tar.gz tcl-5c2d281edc798baa53966b4b5a9eadcb6a2e9ac9.tar.bz2 | |
Fix harmless gcc warning, when compiling on Linux
Diffstat (limited to 'unix/tclUnixPort.h')
| -rw-r--r-- | unix/tclUnixPort.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 9961613..20e1ddc 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -118,11 +118,11 @@ typedef off_t Tcl_SeekOffset; extern int TclOSstat(const char *name, void *statBuf); extern int TclOSlstat(const char *name, void *statBuf); #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 /* |
