diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2003-04-15 22:29:37 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2003-04-15 22:29:37 +0000 |
commit | 6e023978cf10de75eb8cb20d79b91f721fb7662a (patch) | |
tree | ef2b00785b6ee508afb5f8e692b86a6292b08bca /libavcodec | |
parent | deabd4fdde195c65362f3e3bb27a5fef38fabc26 (diff) | |
download | ffmpeg-6e023978cf10de75eb8cb20d79b91f721fb7662a.tar.gz |
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')
-rw-r--r-- | libavcodec/os_support.h | 4 |
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 */ |