changeset 838:b78812db886f libavcodec

lrintf detection (based upon a patch by Franois Revol <revol at free dot fr>)
author michaelni
date Tue, 05 Nov 2002 00:07:05 +0000
parents ee8bb36d2e60
children b7e2b8129211
files dsputil.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 */