src/SDL.c
changeset 3696 47d923feedb0
parent 3663 bc50cd16bb07
child 3697 f7b03b6838cb
     1.1 --- a/src/SDL.c	Sun Jan 24 20:21:51 2010 +0000
     1.2 +++ b/src/SDL.c	Sun Jan 24 20:47:20 2010 +0000
     1.3 @@ -31,10 +31,6 @@
     1.4  #include "video/SDL_leaks.h"
     1.5  #endif
     1.6  
     1.7 -#if SDL_THREAD_PTH
     1.8 -#include <pth.h>
     1.9 -#endif
    1.10 -
    1.11  /* Initialization/Cleanup routines */
    1.12  #if !SDL_JOYSTICK_DISABLED
    1.13  extern int SDL_JoystickInit(void);
    1.14 @@ -152,12 +148,6 @@
    1.15  int
    1.16  SDL_Init(Uint32 flags)
    1.17  {
    1.18 -#if !SDL_THREADS_DISABLED && SDL_THREAD_PTH
    1.19 -    if (!pth_init()) {
    1.20 -        return -1;
    1.21 -    }
    1.22 -#endif
    1.23 -
    1.24      if (SDL_AssertionsInit() < 0) {
    1.25          return -1;
    1.26      }
    1.27 @@ -266,9 +256,6 @@
    1.28  
    1.29      SDL_AssertionsQuit();
    1.30  
    1.31 -#if !SDL_THREADS_DISABLED && SDL_THREAD_PTH
    1.32 -    pth_kill();
    1.33 -#endif
    1.34  #ifdef DEBUG_BUILD
    1.35      printf("[SDL_Quit] : Returning!\n");
    1.36      fflush(stdout);