Commit 32c60a6
portability: allow building in systems without d_type
Since 09fb155 (diff --no-index: support limiting by pathspec,
2025-05-21) git fails to build on platforms that don't have a
d_type member on their struct dirent (ex: AIX, NonStop).
Use the DTYPE() macro instead of a direct reference to d_type.
Signed-off-by: Carlo Marcelo Arenas Belón <[email protected]>
Reviewed-by: Collin Funk <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 09fb155 commit 32c60a6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments