summaryrefslogtreecommitdiff
path: root/libavcodec/os_support.h
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2003-04-15 22:29:37 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2003-04-15 22:29:37 +0000
commit6e023978cf10de75eb8cb20d79b91f721fb7662a (patch)
treeef2b00785b6ee508afb5f8e692b86a6292b08bca /libavcodec/os_support.h
parentdeabd4fdde195c65362f3e3bb27a5fef38fabc26 (diff)
Changes for SPARC/Solaris compatibility. Now it should be possible to
build and test ffmpeg on SPARC/Solaris 8+ out of the box. Originally committed as revision 1778 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/os_support.h')
-rw-r--r--libavcodec/os_support.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/os_support.h b/libavcodec/os_support.h
index c3b3482b69..93930f03ba 100644
--- a/libavcodec/os_support.h
+++ b/libavcodec/os_support.h
@@ -30,4 +30,8 @@ static inline float floorf(float f) { return floor(f); }
static inline int strcasecmp(const char* s1, const char* s2) { return stricmp(s1,s2); }
#endif
+#if defined(CONFIG_SUNOS)
+static inline float floorf(float f) { return floor(f); }
+#endif
+
#endif /* _OS_SUPPORT_H */