diff src/events/SDL_events.c @ 3269:a67a961e2171

Removed outdated OS/2 support
author Sam Lantinga <slouken@libsdl.org>
date Sat, 19 Sep 2009 06:43:45 +0000
parents 82ce350be859
children 0d1b16ee0bca
line wrap: on
line diff
--- a/src/events/SDL_events.c	Sat Sep 19 06:24:07 2009 +0000
+++ b/src/events/SDL_events.c	Sat Sep 19 06:43:45 2009 +0000
@@ -84,29 +84,11 @@
     }
 }
 
-#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();