OSDN Git Service

Dop not restrict the IFTODT() and DTTOIF() macros when
authorEric Andersen <andersen@codepoet.org>
Tue, 17 Dec 2002 01:55:53 +0000 (01:55 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 17 Dec 2002 01:55:53 +0000 (01:55 -0000)
_DIRENT_HAVE_D_TYPE is not defined.
 -Erik

include/dirent.h

index f3299c7..8079d70 100644 (file)
@@ -117,12 +117,10 @@ enum
 # define DT_WHT                DT_WHT
   };
 
-#ifdef _DIRENT_HAVE_D_TYPE
 /* Convert between stat structure types and directory types.  */
 # define IFTODT(mode)  (((mode) & 0170000) >> 12)
 # define DTTOIF(dirtype)       ((dirtype) << 12)
 #endif
-#endif
 
 
 /* This is the data type of directory stream objects.