Hi,

On Mon, Apr 11, 2011 at 8:57 AM, Diego Biurrun <[email protected]> wrote:
> 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...

It isn't one system that lacks all of them. Each system lacks one, or
two, or three, etc.

This kind of stuff doesn't increase binary size; it's fine.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to