Bernie Bright wrote:
> this should really be tested for by the configure script -
> AC_CHECK_FUNCS(truncf) and panel.cxx should then contain:
>
> #ifndef HAVE_TRUNCF
> inline float truncf (float d) { ...
> #endif

Um, or you could just use floor() instead, which does the same thing
and works everywhere.  Autoconf hackery should always be the choice of
last resort.

Andy

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

Reply via email to