On Mon, Apr 11, 2011 at 09:40:32AM +0400, Konstantin Pavlov wrote: > > --- a/libavutil/libm.h > +++ b/libavutil/libm.h > @@ -38,6 +38,14 @@ > > +#if !HAVE_ISNAN > +#undef isnan > +#define isnan(x) \ > + (sizeof (x) == sizeof (long double) ? __builtin_isnanl ((long double)(x)) > : \ > + sizeof (x) == sizeof (double) ? __builtin_isnan ((double)(x)) : \ > +__builtin_isnanf ((float)(x))) > +#endif /* HAVE_ISNAN */
OK, I know my opinion is not going to be very popular, but when is this going to end? I'd rather delete all those platform-specific workarounds, if somebody needs them they can create a libposix or so that contains them and fix more than just one application at a time... Diego _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel