eio: fix windows build

Summary: S_ISSOCK does not exist because sockets do not exist

Reviewers: vtorri, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D6035
This commit is contained in:
Mike Blumenkrantz 2018-05-02 12:26:24 -04:00
parent 67045ea28a
commit f1d411db2f
1 changed files with 2 additions and 0 deletions

View File

@ -264,8 +264,10 @@ _eio_model_info_type_get(const Eina_File_Direct_Info *info, const Eina_Stat *st)
return EINA_FILE_FIFO;
else if (S_ISLNK(st->mode))
return EINA_FILE_LNK;
#ifdef S_ISSOCK
else if (S_ISSOCK(st->mode))
return EINA_FILE_SOCK;
#endif
}
return EINA_FILE_UNKNOWN;
}