summaryrefslogtreecommitdiffstats
path: root/libavformat
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
parent059eeabf35f866415d91ff2b5829d8ab2e7f43f9 (diff)
downloadffmpeg-streaming-7c37e504f0aaeca15fa4fcfda3ac1932cd158d57.zip
ffmpeg-streaming-7c37e504f0aaeca15fa4fcfda3ac1932cd158d57.tar.gz
Remove OS/2 support
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/os_support.c3
-rw-r--r--libavformat/os_support.h10
2 files changed, 1 insertions, 12 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index e627367..947679a 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -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>
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 05acaa1..13615ee 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
OpenPOWER on IntegriCloud