Mercurial > libavcodec.hg
diff os_support.h @ 1191:b894732030f9 libavcodec
Changes for SPARC/Solaris compatibility. Now it should be possible to
build and test ffmpeg on SPARC/Solaris 8+ out of the box.
| author | romansh |
|---|---|
| date | Tue, 15 Apr 2003 22:29:37 +0000 |
| parents | 7046e6c19a6d |
| children | 78e8c23729f4 |
line wrap: on
line diff
--- a/os_support.h Tue Apr 15 10:12:38 2003 +0000 +++ b/os_support.h Tue Apr 15 22:29:37 2003 +0000 @@ -30,4 +30,8 @@ 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 */
