Hi Paul,

----- "Paul Deppe" wrote :
>
> > Try commenting out lines 39 => 41:
> > 
> > #ifdef HAVE_WINDOWS_H
> > #include <windows.h>
> > #endif
> 
> I didn't see that code anywhere in fgmetar.cxx so I checked the CVS
> version.
> The file that came in FlightGear-1.0.0.tar.gz is:

Maybe it is just the opposite. Try to add 

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif

At the begining of file, just like CVS HEAD. The PLIB branch doesn't have this 
fix, and CVS HEAD is likely to fail to compile as Vivian explained.

-Fred


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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to