Removed outdated OS/2 support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403810
This commit is contained in:
Sam Lantinga 2009-09-19 06:43:45 +00:00
parent 303667b4b7
commit 76d2bc3e7f
33 changed files with 8 additions and 6358 deletions

View file

@ -84,29 +84,11 @@ SDL_Unlock_EventThread(void)
}
}
#ifdef __OS2__
/*
* We'll increase the priority of GobbleEvents thread, so it will process
* events in time for sure! For this, we need the DosSetPriority() API
* from the os2.h include file.
*/
#define INCL_DOSPROCESS
#include <os2.h>
#include <time.h>
#endif
static int SDLCALL
SDL_GobbleEvents(void *unused)
{
event_thread = SDL_ThreadID();
#ifdef __OS2__
#ifdef USE_DOSSETPRIORITY
/* Increase thread priority, so it will process events in time for sure! */
DosSetPriority(PRTYS_THREAD, PRTYC_REGULAR, +16, 0);
#endif
#endif
while (SDL_EventQ.active) {
SDL_VideoDevice *_this = SDL_GetVideoDevice();