# HG changeset patch # User romansh # Date 1050445777 0 # Node ID b894732030f9af263190e04ebdda7690a3b4a10f # Parent 60bd91a6e2183b5296840eeecd252c705b71cff0 Changes for SPARC/Solaris compatibility. Now it should be possible to build and test ffmpeg on SPARC/Solaris 8+ out of the box. diff -r 60bd91a6e218 -r b894732030f9 os_support.h --- 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 */