On 26/08/14 16:18, Paul Smith wrote:
> Can't we just #define stat(_p,_b) _stat(_p,_b)?  Not sure if that's
> sufficient: I'm not overly familiar with the limitations on the POSIX
> emulation functions in Windows.

That's effectively what MinGW does anyway, (although it does it through
an import library mapping from the undecorated POSIX name, to the
decorated name exported by MSVCRT.DLL).  The upshot is that, when you
call stat() in a Windows program compiled by MinGW's GCC, you actually
call the function provided by Microsoft themselves, with whatever
limitations that imposes.

-- 
Regards,
Keith.

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to