Re: [MinGW-w64]Build gdb/ctf.c failed

Kai Tietz
2013-03-25T08:28:50Z

2013/3/25 Yao Qi <yao@codesourcery.com>:
> On 03/25/2013 04:06 PM, Kai Tietz wrote:
>> The function 'mkdir' (please note it is without leading underscore),
>> is declared in io.h header, which is of course include within unistd.h
>> header.
>
> Right, 'mkdir' is declared io.h, which is included in unistd.h. Looks
> like we should use "mkdir" instead of "_mkdir". How about the patch
> below? It unbreaks the build of using mingw-w64 toolchain, while
> mingw32 toolchain doesn't complain about it.

I can't approve it, but it looks fine to me.

Thanks,
Kai