[Top][All Lists]
[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.
- Re: More patch 2.5.9 hacking, (continued)
- Re: [Mingw-users] More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/23
- Re: [Mingw-users] More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/24
- Re: More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/24
- Re: More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/24
- Re: More patch 2.5.9 hacking, Paul Eggert, 2003/10/24
- Re: More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking,
Paul Eggert <=
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/26
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/25