comparison os_support.h @ 1134:27d225bd7176 libavcodec

* fixing cut&paste bug
author kabi
date Fri, 14 Mar 2003 07:24:25 +0000
parents 2575d16b62d7
children 8e29f644a6be
comparison
equal deleted inserted replaced
1133:47558360835e 1134:27d225bd7176
22 # endif 22 # endif
23 #endif 23 #endif
24 24
25 #if defined(CONFIG_OS2) 25 #if defined(CONFIG_OS2)
26 #include <stdlib.h> 26 #include <stdlib.h>
27 static inline usleep(unsigned int t) { return _sleep2((t) / 1000); } 27 static inline int usleep(unsigned int t) { return _sleep2(t / 1000); }
28 static inline float floatf(float x) { return floor(n); } 28 static inline float floatf(float f) { return floor(f); }
29 static inline int strcasecmp(const char* s1, const char* s2) { return stricmp(s1,s2); } 29 static inline int strcasecmp(const char* s1, const char* s2) { return stricmp(s1,s2); }
30 #endif 30 #endif
31 31
32 #endif /* _OS_SUPPORT_H */ 32 #endif /* _OS_SUPPORT_H */