# HG changeset patch # User ramiro # Date 1184104324 0 # Node ID 2ec2d6dca26ec48f4a116e5f6d40240c99b24bf7 # Parent 914aeda381e6622a7e401b05a920e678b321f75a Remove OS/2 support diff -r 914aeda381e6 -r 2ec2d6dca26e os_support.c --- 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 #include -#elif defined(CONFIG_OS2) -#include -#include #else #include #include diff -r 914aeda381e6 -r 2ec2d6dca26e os_support.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 -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