summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-14 18:31:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-14 18:31:24 (GMT)
commit14994d8a856c6e59890aad6023793a6760c98e1a (patch)
tree1c5559c8ce5c44ad2f0275b5c0bc56d0c65cbab8 /unix/tclUnixPort.h
parent5e1789954df3a512ab8d71df2c60ffb6ea72b777 (diff)
parent919ec44584344d71c8ddad8d14d58adfdec28e8b (diff)
downloadtcl-14994d8a856c6e59890aad6023793a6760c98e1a.zip
tcl-14994d8a856c6e59890aad6023793a6760c98e1a.tar.gz
tcl-14994d8a856c6e59890aad6023793a6760c98e1a.tar.bz2
Merge trunk. Some more size_t additions in parameters/fields
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 64417e7..cd85e90 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