summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-09-08 21:05:43 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-09-08 21:05:43 +0000
commit742d87d633d20f2b1dcd7f0d2427f15cb6ac40c6 (patch)
treedcb22c2a9289e3be517adc119c43507a15af92ef /libavcodec/dsputil.h
parentca4a77c5b3b07de08069c6c9f9f320267f08d90e (diff)
removed os_support.h
Originally committed as revision 2227 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 0a2935bbff..402b99091a 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -492,4 +492,10 @@ static inline long int lrintf(float x)
}
#endif
+#if defined(CONFIG_OS2) || defined(CONFIG_SUNOS)
+static inline float floorf(float f) {
+ return floor(f);
+}
+#endif
+
#endif