summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-27 06:42:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-27 06:42:06 (GMT)
commit04d66a25716cb7738dad3170cca4d0a4683db08a (patch)
treebb32d0fe416032980724cd7a6bb8cb94f9b53fb5 /unix/tclUnixPort.h
parent1b53ef3bbd2bd4139a0fbbeaa493a2d4562b9825 (diff)
downloadtcl-04d66a25716cb7738dad3170cca4d0a4683db08a.zip
tcl-04d66a25716cb7738dad3170cca4d0a4683db08a.tar.gz
tcl-04d66a25716cb7738dad3170cca4d0a4683db08a.tar.bz2
Remove compat/dirent*.h and some other compat/*.c files: Modern C-compilers all have those now
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 8ac5060..8f13ecd 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -7,7 +7,7 @@
* file that contains #ifdefs to handle different flavors of UNIX. This
* file sets up the union of all UNIX-related things needed by any of the
* Tcl core files. This file depends on configuration #defines such as
- * NO_DIRENT_H that are set up by the "configure" script.
+ * HAVE_SYS_PARAM_H that are set up by the "configure" script.
*
* Much of the material in this file was originally contributed by Karl
* Lehenbauer, Mark Diekhans and Peter da Silva.
@@ -40,15 +40,7 @@
# include <sys/param.h>
#endif
#include <sys/types.h>
-#ifdef USE_DIRENT2_H
-# include "../compat/dirent2.h"
-#else
-#ifdef NO_DIRENT_H
-# include "../compat/dirent.h"
-#else
-# include <dirent.h>
-#endif
-#endif
+#include <dirent.h>
/*
*---------------------------------------------------------------------------