diff options
author | sebres <sebres@users.sourceforge.net> | 2018-06-04 13:52:19 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2018-06-04 13:52:19 (GMT) |
commit | b89a3efc56e40f756b4e5944f38a187b574d2480 (patch) | |
tree | 63b849fb5a5cf481133a295f9ad20bf4845b51c0 /unix/tclUnixPort.h | |
parent | a2ce3dab9b2939f21c06358081d0977ec937e106 (diff) | |
parent | 240e6b50d2dfd9d501eeb3e180be594f51f6f03c (diff) | |
download | tcl-b89a3efc56e40f756b4e5944f38a187b574d2480.zip tcl-b89a3efc56e40f756b4e5944f38a187b574d2480.tar.gz tcl-b89a3efc56e40f756b4e5944f38a187b574d2480.tar.bz2 |
merge 8.5
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index c4b7fd2..af0b4dc 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -57,16 +57,19 @@ */ #ifdef HAVE_STRUCT_DIRENT64 -typedef DIR64 TclDIR; -typedef struct dirent64 Tcl_DirEntry; +typedef struct dirent64 Tcl_DirEntry; # define TclOSreaddir readdir64 +#else +typedef struct dirent Tcl_DirEntry; +# define TclOSreaddir readdir +#endif +#ifdef HAVE_DIR64 +typedef DIR64 TclDIR; # define TclOSopendir opendir64 # define TclOSrewinddir rewinddir64 # define TclOSclosedir closedir64 #else -typedef DIR TclDIR; -typedef struct dirent Tcl_DirEntry; -# define TclOSreaddir readdir +typedef DIR TclDIR; # define TclOSopendir opendir # define TclOSrewinddir rewinddir # define TclOSclosedir closedir |