summaryrefslogtreecommitdiff
path: root/libguile/filesys.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-06-17 00:20:56 +0200
committerAndy Wingo <wingo@pobox.com>2011-06-17 00:20:56 +0200
commit95643853d75f2dfe6209a2702ebb58248d606049 (patch)
treec00619b9e78fc317c548ee366918891bc29b8dbb /libguile/filesys.c
parent284019a2a5cfd7c7734701671f6a1776f11211eb (diff)
downloadguile-95643853d75f2dfe6209a2702ebb58248d606049.tar.gz
remove win32-dirent.[ch]
* libguile/win32-dirent.c: * libguile/win32-dirent.h: Remove these files. MinGW has opendir and readdir support, I hear. * configure.ac: * libguile/filesys.c: * libguile/Makefile.am: Adapt.
Diffstat (limited to 'libguile/filesys.c')
-rw-r--r--libguile/filesys.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libguile/filesys.c b/libguile/filesys.c
index 2429e80a6..86287a170 100644
--- a/libguile/filesys.c
+++ b/libguile/filesys.c
@@ -97,11 +97,7 @@
#endif
-#if defined (__MINGW32__) || defined (_MSC_VER) || defined (__BORLANDC__)
-# include "win32-dirent.h"
-# define NAMLEN(dirent) strlen((dirent)->d_name)
-/* The following bits are per AC_HEADER_DIRENT doco in the autoconf manual */
-#elif HAVE_DIRENT_H
+#if HAVE_DIRENT_H
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)
#else