On Mon, Sep 5, 2011 at 3:24 PM, Michael Goffioul
<michael.goffi...@gmail.com> wrote:
> On Mon, Sep 5, 2011 at 2:40 PM, Nit Nit <nit...@gmail.com> wrote:
>> This post is for Andy Adler the author of sockets pkg and for Michael
>> Goffioul who has recently contributed some changes in order to support win32
>> api.
>> Michael has excluded the definition of MSG_DONTWAIT as socket constant for
>> win32 systems (not defined by winsock2), but left MSG_WAITALL which is also
>> not defined by winsock2.
>> Current source still can not be compiled by mingw because MSG_WAITALL is not
>> defined !
>
> This seems to be a bug in the mingw headers as MSG_WAITALL is supported
> by winsock2, see for instance
> http://msdn.microsoft.com/en-us/library/ms740121%28v=VS.85%29.aspx
> And I can compile the sockets package perfectly fine with MSVC.
>
>> I have read some reports that claim that some defines work on windows
>> systems but I am not sure (see for example the
>> following http://sourceforge.net/tracker/?func=detail&aid=3384551&group_id=2888&atid=102888)
>> Michael, can you please exclude the definition of MSG_WAITALL as socket
>> constant in the svn so sockets can be compiled by mingw ?
>
> I'll try to fix that asap (today or tomorrow).

I've committed a fix. Could you give it a try when you've some time?
Instead of testing __WIN32__, I now test for the presence of the macros
MSG_DONTWAIT/MSG_WAITALL. This should work on all platforms.

Michael.

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to