diff options
author | Roland McGrath <roland@redhat.com> | 1992-06-25 01:05:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1992-06-25 01:05:20 +0000 |
commit | e293b9661072f17342850b1a7ebeff1e6d11f043 (patch) | |
tree | 1855ae816d07b4d05615aa4f16a8187b97e2e933 /dir.c | |
parent | f2c51355ed80aa64119c83508b96881a8d798c66 (diff) | |
download | make-e293b9661072f17342850b1a7ebeff1e6d11f043.tar.gz |
Formerly dir.c.~3~
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,13 +27,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #if defined (POSIX) || defined (DIRENT) || defined (__GNU_LIBRARY__) #include <dirent.h> -#define direct dirent #ifndef __GNU_LIBRARY__ #define D_NAMLEN(d) strlen((d)->d_name) #else #define D_NAMLEN(d) ((d)->d_namlen) #endif #else /* not POSIX or DIRENT */ +#define direct dirent #define D_NAMLEN(d) ((d)->d_namlen) #if defined (USG) && !defined (sgi) #if defined (SYSNDIR) @@ -154,7 +154,7 @@ dir_file_exists_p (dirname, filename) register char *p; register struct directory *dir; register struct dirfile *df; - register struct direct *d; + register struct dirent *d; dir = find_directory (dirname); if (dir->files == 0) |