diff dsputil.h @ 838:b78812db886f libavcodec

lrintf detection (based upon a patch by Fran?ois Revol <revol at free dot fr>)
author michaelni
date Tue, 05 Nov 2002 00:07:05 +0000
parents 99db75050d38
children eacc2dd8fd9d
line wrap: on
line diff
--- a/dsputil.h	Mon Nov 04 22:45:34 2002 +0000
+++ b/dsputil.h	Tue Nov 05 00:07:05 2002 +0000
@@ -269,7 +269,7 @@
                const FFTSample *input, FFTSample *tmp);
 void ff_mdct_end(MDCTContext *s);
 
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__)
+#ifndef HAVE_LRINTF
 /* XXX: add ISOC specific test to avoid specific BSD testing. */
 /* better than nothing implementation. */
 /* btw, rintf() is existing on fbsd too -- alex */