diff options
author | Jim Meyering <jim@meyering.net> | 2001-05-24 20:06:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-05-24 20:06:21 +0000 |
commit | 38a7b45e0e491b7fa49ff03d58df207bd56f749d (patch) | |
tree | 1d87e494eed4113923bfee580955d36d8e22fff4 /src | |
parent | 2ccc189bd690a3ae0c429320f43d3978f1a989c1 (diff) | |
download | coreutils-38a7b45e0e491b7fa49ff03d58df207bd56f749d.tar.xz |
Use `#if D_TYPE_IN_DIRENT && defined DTTOIF' to
determine whether to enable the DT_INIT definition, not the less
portable `#if defined _DIRENT_HAVE_D_TYPE || defined DTTOIF'.
Reported by Eli Zaretskii.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ int rpl_lstat PARAMS((const char *, struct stat *)); # define lstat(Name, Stat_buf) rpl_lstat(Name, Stat_buf) #endif -#if defined _DIRENT_HAVE_D_TYPE || defined DTTOIF +#if D_TYPE_IN_DIRENT && defined DTTOIF # define HAVE_STRUCT_DIRENT_D_TYPE 1 # define DT_INIT(Val) = Val #else |