diff options
| author | Elijah Newren <newren@gmail.com> | 2023-04-22 20:17:18 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-04-24 12:47:32 -0700 |
| commit | 592fc5b3495bf4ff17252d31109f1d9c0134684b (patch) | |
| tree | ec4751e67b760838ea5b5e5237dd9998c9f7e720 /cache.h | |
| parent | 3467663d47a56f9debd86cae75963eee023b3b89 (diff) | |
| download | git-592fc5b3495bf4ff17252d31109f1d9c0134684b.tar.xz | |
dir.h: move DTYPE defines from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
| -rw-r--r-- | cache.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -10,20 +10,6 @@ #include "object.h" #include "statinfo.h" -#if defined(DT_UNKNOWN) && !defined(NO_D_TYPE_IN_DIRENT) -#define DTYPE(de) ((de)->d_type) -#else -#undef DT_UNKNOWN -#undef DT_DIR -#undef DT_REG -#undef DT_LNK -#define DT_UNKNOWN 0 -#define DT_DIR 1 -#define DT_REG 2 -#define DT_LNK 3 -#define DTYPE(de) DT_UNKNOWN -#endif - /* * Some mode bits are also used internally for computations. * |
