From e186765f7eddb2638608bfe4826103f86278944a Mon Sep 17 00:00:00 2001 From: caro Date: Mon, 19 Mar 2012 19:31:29 +0000 Subject: [PATCH] Eina: Fix a previous commit git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@69511 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_file_win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eina_file_win32.c b/src/lib/eina_file_win32.c index c7fac00..5c20fdd 100644 --- a/src/lib/eina_file_win32.c +++ b/src/lib/eina_file_win32.c @@ -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_IFREG(buf.st_mode)) + if (S_ISREG(buf.st_mode)) info->type = EINA_FILE_REG; - else if (_S_IFDIR(buf.st_mode)) + else if (S_ISDIR(buf.st_mode)) info->type = EINA_FILE_DIR; else info->type = EINA_FILE_UNKNOWN; -- 2.7.4