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: [PATCH 3/3] Don't use unportable macros


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


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