bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-users] Re: More patch 2.5.9 hacking


From: Paul Eggert
Subject: Re: [Mingw-users] Re: More patch 2.5.9 hacking
Date: 25 Oct 2003 14:11:26 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Eli Zaretskii" <address@hidden> writes:

> This seems to indicate that some header where you have a prototype of
> mkdir (which on your system takes 1 argument) was seen by the
> compiler _after_ config.h, and thus it was processed as the prototype
> of fixed_mkdir.

Yes; the header is <unistd.h>, which apparently includes <io.h>.

Perhaps we can work around the problem on mingw by defining our own
unistd.h, which looks like this:

#include "/path/to/mingw's/unistd.h"
#define mkdir(d, m) ((mkdir) (d))

That way, we wouldn't have to modify the existing source code or .m4
files at all.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]