changeset 802:99db75050d38 libavcodec

NetBSD fix by Bernd Ernesti <mplayer@lists.veego.de>
author al3x
date Wed, 30 Oct 2002 20:31:04 +0000
parents f720b01c0fd5
children 08423289ec57
files dsputil.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.h	Wed Oct 30 09:09:34 2002 +0000
+++ b/dsputil.h	Wed Oct 30 20:31:04 2002 +0000
@@ -269,9 +269,10 @@
                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));