Hi Csaba,

I commited a modified version of your patch.

Csaba Halász a écrit :
> Hi!
>
> Here are some fixes for the mingw platform that I had to make for a
> successful build.
> Note, in 2 places I have changed a #include <windows.h> to a #include
> <Winsock2.h>, but that should be ok. For safety, somebody using msvc
> build please check.
>   

No, it broke MSVC build. For some reason, Winsock2.h is already
included. Moreover, I am pretty sure the simple substitution of _MSC_VER
by WIN32 would have broken an hypothetical Cygwin build.

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/   Photo gallery
http://fgsd.sourceforge.net/    FlightGear Scenery Designer


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to