summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-06-05 09:04:08 (GMT)
committersebres <sebres@users.sourceforge.net>2018-06-05 09:04:08 (GMT)
commita3fdad2b4f76fd14aeede8051f80695a07fce3af (patch)
treeba7499f0c36de32195da201515ddca5688057e0e /unix/tclUnixPort.h
parentddd37fb237f275386ac83a0f5c31ce8a47d36405 (diff)
parentb89a3efc56e40f756b4e5944f38a187b574d2480 (diff)
downloadtcl-a3fdad2b4f76fd14aeede8051f80695a07fce3af.zip
tcl-a3fdad2b4f76fd14aeede8051f80695a07fce3af.tar.gz
tcl-a3fdad2b4f76fd14aeede8051f80695a07fce3af.tar.bz2
merge 8.6
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 e4277a3..a90b471 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