Re: [PATCH 3/3] Don't use unportable macros

Tom Tromey
2013-03-20T17:37:51Z

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Wed, 20 Mar 2013 10:35:35 +0800
>> From: Yao Qi <yao@codesourcery.com>
>> CC: gdb-patches <gdb-patches@sourceware.org>, Eli Zaretskii <eliz@gnu.org>
>>
>> Also define a macro 'mkdir' in this patch, as Eli suggested before. Is
>> it OK?

Eli> The macro is OK, but please make sure unistd.h is included by this
Eli> file, because that's where MinGW defines the prototype of _mkdir.

defs.h includes unistd.h.

Tom