Commit 6234d753 authored by Alex Beregszaszi's avatar Alex Beregszaszi

NetBSD fix by Bernd Ernesti <mplayer@lists.veego.de>

Originally committed as revision 1115 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b2722d0a
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment