[wx-os2pm] Re: [wx-os2] Trunk and wx-2.9.0

Dave Parsons dwparsons at t-online.de
Tue Apr 1 00:23:31 PDT 2008


On Mon, 31 Mar 2008 09:12:18 +0100, Stefan.Neis at t-online.de wrote:

> > > For Watcom there's an additional problem with using select on sockets (IIRC in
> > > selectdispatcher.cpp) - probably some missing define or include, based on the
> > > observation that gsocket.c(pp) used to compile, didn't it?
> 
> That one is still open since I don't find time to install OpenWatcom and look at
> the problem ...

Try this or similar, it gets us a bit further

#if defined(HAVE_SYS_SELECT_H)
    #include <sys/time.h>
    #include <sys/select.h>
#endif
#if defined(__WATCOMC__)
    #include <sys/time.h>
    #include <sys/select.h>
    #include <tcpustd.h>
#endif


Cheers,
Dave




More information about the wx-os2pm mailing list