Mercurial > hg > octave-nkf
changeset 1347:d1e6997f0788
[project @ 1995-09-05 06:56:29 by jwe]
author | jwe |
---|---|
date | Tue, 05 Sep 1995 06:56:29 +0000 |
parents | 9e41dbb74bca |
children | 8a6bfe944eb3 |
files | src/utils.cc |
diffstat | 1 files changed, 1 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/src/utils.cc +++ b/src/utils.cc @@ -59,27 +59,9 @@ #include <readline/tilde.h> } -// This mess suggested by the autoconf manual. -// unistd.h defines _POSIX_VERSION on POSIX.1 systems. -#if defined (HAVE_DIRENT_H) || defined (_POSIX_VERSION) -#include <dirent.h> -#define NLENGTH(dirent) (strlen((dirent)->d_name)) -#else -#define dirent direct -#define NLENGTH(dirent) ((dirent)->d_namlen) -#if defined (HAVE_SYS_NDIR_H) -#include <sys/ndir.h> -#endif -#if defined (HAVE_SYS_DIR_H) -#include <sys/dir.h> -#endif -#if defined (HAVE_NDIR_H) -#include <ndir.h> -#endif -#endif - #include "SLStack.h" +#include "sysdir.h" #include "pathsearch.h" #include "procstream.h" #include "user-prefs.h"