summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-05-02 12:26:24 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-05-02 12:26:24 -0400
commitf1d411db2f2b907084c25806e38feed81f26ca0e (patch)
treeef58d7138b504881550e8935584e1d4e889fb818 /src/lib/eio/eio_model.c
parent67045ea28ad09701641b8be7cc96577df62b630d (diff)
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
Diffstat (limited to 'src/lib/eio/eio_model.c')
-rw-r--r--src/lib/eio/eio_model.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c
index e04db78..721539a 100644
--- a/src/lib/eio/eio_model.c
+++ b/src/lib/eio/eio_model.c
@@ -264,8 +264,10 @@ _eio_model_info_type_get(const Eina_File_Direct_Info *info, const Eina_Stat *st)
264 return EINA_FILE_FIFO; 264 return EINA_FILE_FIFO;
265 else if (S_ISLNK(st->mode)) 265 else if (S_ISLNK(st->mode))
266 return EINA_FILE_LNK; 266 return EINA_FILE_LNK;
267#ifdef S_ISSOCK
267 else if (S_ISSOCK(st->mode)) 268 else if (S_ISSOCK(st->mode))
268 return EINA_FILE_SOCK; 269 return EINA_FILE_SOCK;
270#endif
269 } 271 }
270 return EINA_FILE_UNKNOWN; 272 return EINA_FILE_UNKNOWN;
271} 273}