From: caro Date: Mon, 19 Mar 2012 19:31:29 +0000 (+0000) Subject: Eina: Fix a previous commit X-Git-Tag: submit/2.0alpha-wayland/20121127.222009~203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=779e037c16ddf05147b43bbbb4cdaa56fe8fc50b;p=profile%2Fivi%2Feina.git Eina: Fix a previous commit git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@69511 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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;