aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2002-10-30 20:31:04 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2002-10-30 20:31:04 +0000
commit6234d753a9ba67291d41bd1f537d57032c9813b6 (patch)
treecb8bbf0f574a6a50e9583dc796fa1b64443614a3 /libavcodec
parentb2722d0a42d69bdb2461d37bad3b7ed6f7a6a51b (diff)
downloadffmpeg-6234d753a9ba67291d41bd1f537d57032c9813b6.tar.gz
NetBSD fix by Bernd Ernesti <mplayer@lists.veego.de>
Originally committed as revision 1115 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsputil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index f57d4aae36..4507753a87 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -269,9 +269,10 @@ void ff_mdct_calc(MDCTContext *s, FFTSample *out,
const FFTSample *input, FFTSample *tmp);
void ff_mdct_end(MDCTContext *s);
-#if defined(__FreeBSD__) || (__bsdi__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__)
/* XXX: add ISOC specific test to avoid specific BSD testing. */
/* better than nothing implementation. */
+/* btw, rintf() is existing on fbsd too -- alex */
static inline long int lrintf(float x)
{
return (int)(rint(x));