[Scummvm-devel] [GitHub] COMMON: add isDirectory wrapper [scummvm/scummvm-tools 0ccf174]
Gregory Montoir
cyx at scummvm.org
Wed Feb 23 19:22:59 CET 2011
On 02/23/2011 07:16 PM, bluegr wrote:
> Why has a POSIX-only extension been pushed into common code?
> There was also a comment that this breaks under MSVC, which has been removed.
>
> At least please add some sort of fallback for people who aren't using POSIX compilers.
> Also, will S_ISDIR work under all platforms?
>
> https://github.com/scummvm/scummvm-tools/commit/0ccf1741ced3c114bb8244773ef503cfdd93ab41#commitcomment-280987
>
Hi,
I am surprised stat() doesn't compile with MSVC (this is used by
encode_dxa). What is the output ?
Anyway, would it be possible to #ifdef an equivalent ?
Gregory
More information about the Scummvm-devel
mailing list