summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-05-09 10:29:33 (GMT)
committersebres <sebres@users.sourceforge.net>2018-05-09 10:29:33 (GMT)
commitf5e87513071af9794d48e1b5c1b106343f4bca1f (patch)
tree5edaaf34fde5ff260c8884e3f238f064205619c4 /unix/tclUnixPort.h
parent78ee8c697e423a5b4718fabb53eef1c5f6a2a2b1 (diff)
downloadtcl-f5e87513071af9794d48e1b5c1b106343f4bca1f.zip
tcl-f5e87513071af9794d48e1b5c1b106343f4bca1f.tar.gz
tcl-f5e87513071af9794d48e1b5c1b106343f4bca1f.tar.bz2
amend to [85bcf84100]: replaces DIR with Tcl_Dir (DIR/DIR64 regarding HAVE_STRUCT_DIRENT64)
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index cc31bf9..58509b0 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -58,12 +58,14 @@
*/
#ifdef HAVE_STRUCT_DIRENT64
+typedef DIR64 Tcl_Dir;
typedef struct dirent64 Tcl_DirEntry;
# define TclOSreaddir readdir64
# define TclOSopendir opendir64
# define TclOSrewinddir rewinddir64
# define TclOSclosedir closedir64
#else
+typedef DIR Tcl_Dir;
typedef struct dirent Tcl_DirEntry;
# define TclOSreaddir readdir
# define TclOSopendir opendir