aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-07-10 21:52:04 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-07-10 21:52:04 +0000
commit7c37e504f0aaeca15fa4fcfda3ac1932cd158d57 (patch)
tree00af08d5c3284789aaee244422663e21c3c55c07 /libavformat/os_support.h
parent059eeabf35f866415d91ff2b5829d8ab2e7f43f9 (diff)
downloadandroid_external_ffmpeg-7c37e504f0aaeca15fa4fcfda3ac1932cd158d57.tar.gz
android_external_ffmpeg-7c37e504f0aaeca15fa4fcfda3ac1932cd158d57.tar.bz2
android_external_ffmpeg-7c37e504f0aaeca15fa4fcfda3ac1932cd158d57.zip
Remove OS/2 support
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r--libavformat/os_support.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 05acaa152a..13615eec9e 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -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 @@ __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
# 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