Date: | 2014-08-14 06:10:55 (9 years 7 months ago) |
---|---|
Author: | Maarten ter Huurne |
Commit: | 404b2a102912c67c165abfc0a059954f994ee9ef |
Message: | Use proper feature test macro for d_type support |
Files: |
src/filelister.cpp (1 diff) |
Change Details
src/filelister.cpp | ||
---|---|---|
94 | 94 | } |
95 | 95 | |
96 | 96 | bool isDir; |
97 | #ifdef DT_DIR | |
97 | #ifdef _DIRENT_HAVE_D_TYPE | |
98 | 98 | if (dptr->d_type != DT_UNKNOWN) { |
99 | 99 | isDir = dptr->d_type == DT_DIR; |
100 | 100 | } else |
Branches:
install_locations
master
opkrun
packages