forked from enlightenment/efl
eina: Use INVALID_FILE_ATTRIBUTES instead of magic number
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D12106
This commit is contained in:
parent
b4e7f6de3b
commit
de982276b7
|
@ -104,7 +104,7 @@ _eina_file_win32_is_dir(const char *dir)
|
|||
attr = GetFileAttributes(dir);
|
||||
#endif
|
||||
|
||||
if (attr == 0xFFFFFFFF)
|
||||
if (attr == INVALID_FILE_ATTRIBUTES)
|
||||
return EINA_FALSE;
|
||||
|
||||
if (!(attr & FILE_ATTRIBUTE_DIRECTORY))
|
||||
|
|
Loading…
Reference in New Issue