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

Tom Tromey tromey@redhat.com
Wed Mar 20 17:40:00 GMT 2013


>>>>> "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



More information about the Gdb-patches mailing list