From e069be043c482e791acc6be803cc6bfb54548e17 Mon Sep 17 00:00:00 2001 From: caro Date: Thu, 8 Mar 2012 20:32:15 +0000 Subject: [PATCH] Eina: use Windows macros git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@69069 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 5c20fdd..c7fac00 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_ISREG(buf.st_mode)) + if (_S_IFREG(buf.st_mode)) info->type = EINA_FILE_REG; - else if (S_ISDIR(buf.st_mode)) + else if (_S_IFDIR(buf.st_mode)) info->type = EINA_FILE_DIR; else info->type = EINA_FILE_UNKNOWN; -- 2.7.4