Mercurial > libavformat.hg
changeset 2242:2ec2d6dca26e libavformat
Remove OS/2 support
author | ramiro |
---|---|
date | Tue, 10 Jul 2007 21:52:04 +0000 |
parents | 914aeda381e6 |
children | 639597604897 |
files | os_support.c os_support.h |
diffstat | 2 files changed, 1 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/os_support.c Mon Jul 09 22:15:11 2007 +0000 +++ b/os_support.c Tue Jul 10 21:52:04 2007 +0000 @@ -24,9 +24,6 @@ #if defined(__MINGW32__) #include <sys/types.h> #include <sys/timeb.h> -#elif defined(CONFIG_OS2) -#include <string.h> -#include <sys/time.h> #else #include <unistd.h> #include <fcntl.h>
--- a/os_support.h Mon Jul 09 22:15:11 2007 +0000 +++ b/os_support.h Tue Jul 10 21:52:04 2007 +0000 @@ -27,10 +27,8 @@ * miscellaneous OS support macros and functions. * * - socklen_t typedef (BeOS, Innotek libc) - * - usleep() (Win32, BeOS, OS/2) + * - usleep() (Win32, BeOS) * - lseek() (Win32) - * - floatf() (OS/2) - * - strcasecmp() (OS/2) * - closesocket() * - poll() (BeOS, MinGW) */ @@ -68,12 +66,6 @@ # endif #endif -#if defined(CONFIG_OS2) -#include <stdlib.h> -static inline int usleep(unsigned int t) { return _sleep2(t / 1000); } -static inline int strcasecmp(const char* s1, const char* s2) { return stricmp(s1,s2); } -#endif - /* most of the time closing a socket is just closing an fd */ #if HAVE_CLOSESOCKET != 1 #define closesocket close