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

Eli Zaretskii
2013-03-20T17:24:28Z

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