Eina: use Windows macros

SVN revision: 69069
This commit is contained in:
Vincent Torri 2012-03-08 20:32:15 +00:00
parent 4c244a82fc
commit 394e8af271
1 changed files with 2 additions and 2 deletions

View File

@ -1185,9 +1185,9 @@ eina_file_statat(void *container __UNUSED__, Eina_File_Direct_Info *info, Eina_S
if (info->type == EINA_FILE_UNKNOWN)
{
if (S_ISREG(buf.st_mode))
if (_S_IFREG(buf.st_mode))
info->type = EINA_FILE_REG;
else if (S_ISDIR(buf.st_mode))
else if (_S_IFDIR(buf.st_mode))
info->type = EINA_FILE_DIR;
else
info->type = EINA_FILE_UNKNOWN;