summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-17 01:55:53 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-17 01:55:53 +0000
commitabc21757345eb8de2779a32bd88b0a8fa62bb0ee (patch)
tree71ef69470eeb19537090b62c08a095eb2e31acbb /include/dirent.h
parent929f718b237bbc9193ad9be1d18457ac12c23905 (diff)
Dop not restrict the IFTODT() and DTTOIF() macros when
_DIRENT_HAVE_D_TYPE is not defined. -Erik
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/dirent.h b/include/dirent.h
index f3299c719..8079d7097 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -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.