From e2fc1f640fdf473fdf8f1de6fd1212731b8ffa13 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 6 Apr 2012 16:58:39 +0300 Subject: build: remove OS/2 support --- stream/cache2.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'stream/cache2.c') diff --git a/stream/cache2.c b/stream/cache2.c index 4aed786cb6..47bc76a4f9 100644 --- a/stream/cache2.c +++ b/stream/cache2.c @@ -45,10 +45,6 @@ #if defined(__MINGW32__) #include static void ThreadProc( void *s ); -#elif defined(__OS2__) -#define INCL_DOS -#include -static void ThreadProc( void *s ); #elif defined(PTHREAD_CACHE) #include static void *ThreadProc(void *s); @@ -453,8 +449,6 @@ int stream_enable_cache(stream_t *stream,int size,int min,int seek_limit){ s->stream=stream2; #if defined(__MINGW32__) stream->cache_pid = _beginthread( ThreadProc, 0, s ); -#elif defined(__OS2__) - stream->cache_pid = _beginthread( ThreadProc, NULL, 256 * 1024, s ); #else { pthread_t tid; @@ -499,7 +493,7 @@ err_out: } #if !FORKED_CACHE -#if defined(__MINGW32__) || defined(__OS2__) +#if defined(__MINGW32__) static void ThreadProc( void *s ){ cache_mainloop(s); _endthread(); -- cgit v1.2.3