forked from enlightenment/efl
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:
parent
67045ea28a
commit
f1d411db2f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue