src/events/SDL_events.c
changeset 3269 a67a961e2171
parent 3268 82ce350be859
child 3578 0d1b16ee0bca
     1.1 --- a/src/events/SDL_events.c	Sat Sep 19 06:24:07 2009 +0000
     1.2 +++ b/src/events/SDL_events.c	Sat Sep 19 06:43:45 2009 +0000
     1.3 @@ -84,29 +84,11 @@
     1.4      }
     1.5  }
     1.6  
     1.7 -#ifdef __OS2__
     1.8 -/*
     1.9 - * We'll increase the priority of GobbleEvents thread, so it will process
    1.10 - *  events in time for sure! For this, we need the DosSetPriority() API
    1.11 - *  from the os2.h include file.
    1.12 - */
    1.13 -#define INCL_DOSPROCESS
    1.14 -#include <os2.h>
    1.15 -#include <time.h>
    1.16 -#endif
    1.17 -
    1.18  static int SDLCALL
    1.19  SDL_GobbleEvents(void *unused)
    1.20  {
    1.21      event_thread = SDL_ThreadID();
    1.22  
    1.23 -#ifdef __OS2__
    1.24 -#ifdef USE_DOSSETPRIORITY
    1.25 -    /* Increase thread priority, so it will process events in time for sure! */
    1.26 -    DosSetPriority(PRTYS_THREAD, PRTYC_REGULAR, +16, 0);
    1.27 -#endif
    1.28 -#endif
    1.29 -
    1.30      while (SDL_EventQ.active) {
    1.31          SDL_VideoDevice *_this = SDL_GetVideoDevice();
    1.32