Curtis L. Olson wrote:

> Roy Vegard Ovesen wrote:
> > On Fri, 27 Feb 2004 10:40:39 +0100 (CET), Frederic BOUVIER 
> > wrote:
> > 
> >>
> >> A correct solution would be to find out why HAVE_WINDOWS_H is not defined
> > 
> > 
> > Thanks for the tip!
> > 
> > I added "-DHAVE_WINDOWS_H" to my CXXFLAGS environment variable, defining 
> > HAVE_WINDOWS_H. I think this is a better solution that changing the 
> > source code.
> 
> The configure script *should* define this flag for you automatically, but 
> you may need to add:
> 
> #ifdef HAVE_CONFIG_H
> #include <config.h>
> #endif
> 
> to the top of the affected file.

That's what I thought first. But the file has already :

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

and HAVE_WINDOW_H is not present in that file, nor in configure.ac, so no reason
it appears in simgear_config.h

It is defined in simgear_config.h.vc5 that is used to bootstrap MSVC projects

-Fred

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to