This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]