ecore-file: fix ecore_file_can_exec() on Windows
authorVincent Torri <vincent.torri@gmail.com>
Mon, 31 Aug 2020 11:55:09 +0000 (11:55 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 31 Aug 2020 21:28:34 +0000 (06:28 +0900)
commitbdef3081ec45166b6682aa75c490112b844df589
treeded15299fa085df49ba0394eff572d2a6dafa633
parentd739bfcf7f3e3412f88f30b98e1384c35a7ea84a
ecore-file: fix ecore_file_can_exec() on Windows

on Windows access() has no support of X_OK (see https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess?view=vs-2019), use SHGetFileInfo() instead

Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12118
src/lib/ecore_file/ecore_file.c