changeset 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 60bd91a6e218
children f1054743bc56
files os_support.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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 */