This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] Don't use unportable macros
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: dje at google dot com, gdb-patches at sourceware dot org
- Date: Wed, 20 Mar 2013 19:23:55 +0200
- Subject: Re: [PATCH 3/3] Don't use unportable macros
- References: <83ip4s4ixc dot fsf at gnu dot org> <1363407692-18959-1-git-send-email-yao at codesourcery dot com> <1363407692-18959-4-git-send-email-yao at codesourcery dot com> <CADPb22RwSq0iv_gQu5PSGezQoUy0ve16M2hmL51HvM19v0M5Ow at mail dot gmail dot com> <51492077 dot 30307 at codesourcery dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?
The macro is OK, but please make sure unistd.h is included by this
file, because that's where MinGW defines the prototype of _mkdir.