Patched to compile on various platforms.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 12 Apr 2016 18:11:36 -0400
changeset 10147ddbdc9c1b92f
parent 10146 471eb08040ce
child 10148 4ed1bd3724d6
Patched to compile on various platforms.
src/audio/pulseaudio/SDL_pulseaudio.c
src/haptic/windows/SDL_xinputhaptic.c
src/joystick/psp/SDL_sysjoystick.c
src/joystick/windows/SDL_windowsjoystick.c
src/main/haiku/SDL_BeApp.cc
src/video/cocoa/SDL_cocoamousetap.m
src/video/psp/SDL_pspevents.c
src/video/winrt/SDL_winrtevents.cpp
     1.1 --- a/src/audio/pulseaudio/SDL_pulseaudio.c	Tue Apr 12 16:45:10 2016 -0400
     1.2 +++ b/src/audio/pulseaudio/SDL_pulseaudio.c	Tue Apr 12 18:11:36 2016 -0400
     1.3 @@ -46,7 +46,7 @@
     1.4  #include "../SDL_audio_c.h"
     1.5  #include "SDL_pulseaudio.h"
     1.6  #include "SDL_loadso.h"
     1.7 -#include "../thread/SDL_systhread.h"
     1.8 +#include "../../thread/SDL_systhread.h"
     1.9  
    1.10  #if (PA_API_VERSION < 12)
    1.11  /** Return non-zero if the passed state is one of the connected states */
     2.1 --- a/src/haptic/windows/SDL_xinputhaptic.c	Tue Apr 12 16:45:10 2016 -0400
     2.2 +++ b/src/haptic/windows/SDL_xinputhaptic.c	Tue Apr 12 18:11:36 2016 -0400
     2.3 @@ -33,7 +33,7 @@
     2.4  #include "SDL_xinputhaptic_c.h"
     2.5  #include "../../core/windows/SDL_xinput.h"
     2.6  #include "../../joystick/windows/SDL_windowsjoystick_c.h"
     2.7 -#include "../thread/SDL_systhread.h"
     2.8 +#include "../../thread/SDL_systhread.h"
     2.9  
    2.10  /*
    2.11   * Internal stuff.
     3.1 --- a/src/joystick/psp/SDL_sysjoystick.c	Tue Apr 12 16:45:10 2016 -0400
     3.2 +++ b/src/joystick/psp/SDL_sysjoystick.c	Tue Apr 12 18:11:36 2016 -0400
     3.3 @@ -36,7 +36,7 @@
     3.4  #include "SDL_error.h"
     3.5  #include "SDL_mutex.h"
     3.6  #include "SDL_timer.h"
     3.7 -#include "../thread/SDL_systhread.h"
     3.8 +#include "../../thread/SDL_systhread.h"
     3.9  
    3.10  /* Current pad state */
    3.11  static SceCtrlData pad = { .Lx = 0, .Ly = 0, .Buttons = 0 };
     4.1 --- a/src/joystick/windows/SDL_windowsjoystick.c	Tue Apr 12 16:45:10 2016 -0400
     4.2 +++ b/src/joystick/windows/SDL_windowsjoystick.c	Tue Apr 12 18:11:36 2016 -0400
     4.3 @@ -41,7 +41,7 @@
     4.4  #include "SDL_hints.h"
     4.5  #include "SDL_joystick.h"
     4.6  #include "../SDL_sysjoystick.h"
     4.7 -#include "../thread/SDL_systhread.h"
     4.8 +#include "../../thread/SDL_systhread.h"
     4.9  #if !SDL_EVENTS_DISABLED
    4.10  #include "../../events/SDL_events_c.h"
    4.11  #endif
     5.1 --- a/src/main/haiku/SDL_BeApp.cc	Tue Apr 12 16:45:10 2016 -0400
     5.2 +++ b/src/main/haiku/SDL_BeApp.cc	Tue Apr 12 18:11:36 2016 -0400
     5.3 @@ -33,7 +33,7 @@
     5.4  #include "SDL_BeApp.h"
     5.5  #include "SDL_timer.h"
     5.6  #include "SDL_error.h"
     5.7 -#include "../thread/SDL_systhread.h"
     5.8 +#include "../../thread/SDL_systhread.h"
     5.9  
    5.10  #include "../../video/haiku/SDL_BWin.h"
    5.11  
     6.1 --- a/src/video/cocoa/SDL_cocoamousetap.m	Tue Apr 12 16:45:10 2016 -0400
     6.2 +++ b/src/video/cocoa/SDL_cocoamousetap.m	Tue Apr 12 18:11:36 2016 -0400
     6.3 @@ -33,7 +33,7 @@
     6.4  
     6.5  #include "SDL_keyboard.h"
     6.6  #include "SDL_cocoavideo.h"
     6.7 -#include "../thread/SDL_systhread.h"
     6.8 +#include "../../thread/SDL_systhread.h"
     6.9  
    6.10  #include "../../events/SDL_mouse_c.h"
    6.11  
     7.1 --- a/src/video/psp/SDL_pspevents.c	Tue Apr 12 16:45:10 2016 -0400
     7.2 +++ b/src/video/psp/SDL_pspevents.c	Tue Apr 12 18:11:36 2016 -0400
     7.3 @@ -32,7 +32,7 @@
     7.4  #include "SDL_pspvideo.h"
     7.5  #include "SDL_pspevents_c.h"
     7.6  #include "SDL_keyboard.h"
     7.7 -#include "../thread/SDL_systhread.h"
     7.8 +#include "../../thread/SDL_systhread.h"
     7.9  #include <psphprm.h>
    7.10  
    7.11  #ifdef PSPIRKEYB
     8.1 --- a/src/video/winrt/SDL_winrtevents.cpp	Tue Apr 12 16:45:10 2016 -0400
     8.2 +++ b/src/video/winrt/SDL_winrtevents.cpp	Tue Apr 12 18:11:36 2016 -0400
     8.3 @@ -38,7 +38,7 @@
     8.4  #include "../../core/winrt/SDL_winrtapp_xaml.h"
     8.5  #include "SDL_assert.h"
     8.6  #include "SDL_system.h"
     8.7 -#include "../thread/SDL_systhread.h"
     8.8 +#include "../../thread/SDL_systhread.h"
     8.9  
    8.10  extern "C" {
    8.11  #include "../SDL_sysvideo.h"