aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-11-05 00:07:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-05 00:07:05 +0000
commit95e2ce4aa05d0bd24c5620937b47e21125532df1 (patch)
tree4e85a98671e209a846e4bc07b32a12abfb21215d /libavcodec
parent70d4f2da7f2747423213a980ad6fff6ffd53211b (diff)
downloadffmpeg-95e2ce4aa05d0bd24c5620937b47e21125532df1.tar.gz
lrintf detection (based upon a patch by François Revol <revol at free dot fr>)
Originally committed as revision 1162 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsputil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 4507753a87..3f9b5893d8 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -269,7 +269,7 @@ void ff_mdct_calc(MDCTContext *s, FFTSample *out,
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 */