diff os_support.h @ 2242:2ec2d6dca26e libavformat

Remove OS/2 support
author ramiro
date Tue, 10 Jul 2007 21:52:04 +0000
parents d2d62fa7e7c9
children fb72d949bae3
line wrap: on
line diff
--- 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