wxWindows: it's official!

Dimitrie O. Paun dpaun at rogers.com
Tue Jan 7 12:24:55 CST 2003


On January 7, 2003 02:09 pm, Francois Gouget wrote:
> On Tue, 7 Jan 2003, Dimitrie O. Paun wrote:
> [...]
>
> >   2. Francois' patch that fixes winsock.h
>
> I'll try to complete it shortly.
>
> >   3. My patch that adds io.h
>
> I'm not sure this one is a good idea. We already have an io.h in the
> msvcrt directory as we need it for compatibility with msvcrt. So with
> your patch we would have:
>
> include/io.h
> include/msvcrt/io.h
>
> That seems like an include order nightmare. Furthermore your header only
> contains:
> int access(const char *__path, int __amode);
>
> If you use that function you will have to link with the msvcrt.
> Ortherwise your Winelib application is going to call the glibc access
> function which will choke on the Windows paths 'c:\Temp\xxx.tmp'. So it
> seems like you might as well use the msvcrt headers...

-- 
Dimi.




More information about the wine-devel mailing list