Commit 702650cf authored by al3x's avatar al3x

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1115 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2844c176
......@@ -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