Mercurial > emacs
diff src/sysdep.c @ 109585:4504e82595bb
Replace tests for SYSV_SYSTEM_DIR with HAVE_DIRENT_H, set via autoconf
* configure.in: Check for dirent.h
* dired.c, sysdep.c: test HAVE_DIRENT_H instead of SYSV_SYSTEM_DIR
* s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/gnu-linux.h,
s/msdos.h, s/usg5-4.h: don't define SYSV_SYSTEM_DIR
* sed2v2.inp (HAVE_DIRENT_H): Edit to 1
| author | Jan D <jan.h.d@swipnet.se> |
|---|---|
| date | Thu, 29 Jul 2010 22:01:08 +0200 |
| parents | 4e99d7aa7526 |
| children | b7ff82b433d8 |
line wrap: on
line diff
--- a/src/sysdep.c Thu Jul 29 11:34:39 2010 -0700 +++ b/src/sysdep.c Thu Jul 29 22:01:08 2010 +0200 @@ -2447,7 +2447,7 @@ /* Directory routines for systems that don't have them. */ -#ifdef SYSV_SYSTEM_DIR +#ifdef HAVE_DIRENT_H #include <dirent.h> @@ -2464,7 +2464,7 @@ return rtnval; } #endif /* not HAVE_CLOSEDIR */ -#endif /* SYSV_SYSTEM_DIR */ +#endif /* HAVE_DIRENT_H */ int
