* eina: remove dirent so apps don't rely on non portable code.

SVN revision: 54103
This commit is contained in:
Cedric BAIL 2010-11-02 15:11:05 +00:00
parent c4cf3f9be4
commit edd9068f2b
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ _ephoto_eina_file_direct_info_image_useful(const Eina_File_Direct_Info *info)
bname = info->path + info->name_start;
if (bname[0] == '.') return EINA_FALSE;
if ((info->dirent->d_type != DT_REG) && (info->dirent->d_type != DT_UNKNOWN))
if ((info->type != EINA_FILE_REG) && (info->type != EINA_FILE_UNKNOWN))
return EINA_FALSE;
ext = info->path + info->path_length - 1;