Olaf Flebbe wrote :
> Hi,
>
> Sorry about the late comment:
>
> 1) I do not understand lines like that
>
> #ifdef HAVE_CONFIG_H
>  #  include <config.h>
>  #endif
>
> in Simgear (math/sg_geometry.h) since the config file from Simgear is
> simgear_config.h
>
> 2) The pthread-win32 library, needed for Windos do contain the same
> thre lines of code.
>
> #ifdef HAVE_CONFIG_H
> #  include <config.h>
> #endif
>
> Its ugly to work around the different config files in 3rdparty libraries.


That's why putting these lines in a header file is a very bad idea.

-Fred




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to