Fixed some preprocessor mistakes introduced in iOS project cleanup.
authorRyan C. Gordon
Thu, 03 Nov 2011 11:51:47 -0400
changeset 60463b33b82cdbac
parent 6045 b8e995dab018
child 6051 cb1f941ce38e
Fixed some preprocessor mistakes introduced in iOS project cleanup.
src/audio/alsa/SDL_alsa_audio.c
src/audio/arts/SDL_artsaudio.c
src/audio/esd/SDL_esdaudio.c
src/audio/fusionsound/SDL_fsaudio.c
src/audio/nas/SDL_nasaudio.c
src/audio/pulseaudio/SDL_pulseaudio.c
     1.1 --- a/src/audio/alsa/SDL_alsa_audio.c	Mon Oct 31 23:37:57 2011 -0400
     1.2 +++ b/src/audio/alsa/SDL_alsa_audio.c	Thu Nov 03 11:51:47 2011 -0400
     1.3 @@ -35,7 +35,7 @@
     1.4  #include "../SDL_audio_c.h"
     1.5  #include "SDL_alsa_audio.h"
     1.6  
     1.7 -#if SDL_AUDIO_DRIVER_ALSA_DYNAMIC
     1.8 +#ifdef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
     1.9  #include "SDL_loadso.h"
    1.10  #endif
    1.11  
    1.12 @@ -86,7 +86,7 @@
    1.13  static int (*ALSA_snd_pcm_sw_params_set_avail_min)
    1.14    (snd_pcm_t *, snd_pcm_sw_params_t *, snd_pcm_uframes_t);
    1.15  
    1.16 -#if SDL_AUDIO_DRIVER_ALSA_DYNAMIC
    1.17 +#ifdef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
    1.18  #define snd_pcm_hw_params_sizeof ALSA_snd_pcm_hw_params_sizeof
    1.19  #define snd_pcm_sw_params_sizeof ALSA_snd_pcm_sw_params_sizeof
    1.20  
    1.21 @@ -149,7 +149,7 @@
    1.22  
    1.23  #undef SDL_ALSA_SYM
    1.24  
    1.25 -#if SDL_AUDIO_DRIVER_ALSA_DYNAMIC
    1.26 +#ifdef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
    1.27  
    1.28  static void
    1.29  UnloadALSALibrary(void)
     2.1 --- a/src/audio/arts/SDL_artsaudio.c	Mon Oct 31 23:37:57 2011 -0400
     2.2 +++ b/src/audio/arts/SDL_artsaudio.c	Thu Nov 03 11:51:47 2011 -0400
     2.3 @@ -36,14 +36,14 @@
     2.4  #include "../SDL_audio_c.h"
     2.5  #include "SDL_artsaudio.h"
     2.6  
     2.7 -#if SDL_AUDIO_DRIVER_ARTS_DYNAMIC
     2.8 +#ifdef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
     2.9  #include "SDL_name.h"
    2.10  #include "SDL_loadso.h"
    2.11  #else
    2.12  #define SDL_NAME(X)	X
    2.13  #endif
    2.14  
    2.15 -#if SDL_AUDIO_DRIVER_ARTS_DYNAMIC
    2.16 +#ifdef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
    2.17  
    2.18  static const char *arts_library = SDL_AUDIO_DRIVER_ARTS_DYNAMIC;
    2.19  static void *arts_handle = NULL;
     3.1 --- a/src/audio/esd/SDL_esdaudio.c	Mon Oct 31 23:37:57 2011 -0400
     3.2 +++ b/src/audio/esd/SDL_esdaudio.c	Thu Nov 03 11:51:47 2011 -0400
     3.3 @@ -36,14 +36,14 @@
     3.4  #include "../SDL_audio_c.h"
     3.5  #include "SDL_esdaudio.h"
     3.6  
     3.7 -#if SDL_AUDIO_DRIVER_ESD_DYNAMIC
     3.8 +#ifdef SDL_AUDIO_DRIVER_ESD_DYNAMIC
     3.9  #include "SDL_name.h"
    3.10  #include "SDL_loadso.h"
    3.11  #else
    3.12  #define SDL_NAME(X)	X
    3.13  #endif
    3.14  
    3.15 -#if SDL_AUDIO_DRIVER_ESD_DYNAMIC
    3.16 +#ifdef SDL_AUDIO_DRIVER_ESD_DYNAMIC
    3.17  
    3.18  static const char *esd_library = SDL_AUDIO_DRIVER_ESD_DYNAMIC;
    3.19  static void *esd_handle = NULL;
     4.1 --- a/src/audio/fusionsound/SDL_fsaudio.c	Mon Oct 31 23:37:57 2011 -0400
     4.2 +++ b/src/audio/fusionsound/SDL_fsaudio.c	Thu Nov 03 11:51:47 2011 -0400
     4.3 @@ -39,7 +39,7 @@
     4.4  
     4.5  //#define SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC "libfusionsound.so"
     4.6  
     4.7 -#if SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
     4.8 +#ifdef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
     4.9  #include "SDL_name.h"
    4.10  #include "SDL_loadso.h"
    4.11  #else
    4.12 @@ -53,7 +53,7 @@
    4.13  /* Buffers to use - more than 2 gives a lot of latency */
    4.14  #define FUSION_BUFFERS				(2)
    4.15  
    4.16 -#if SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
    4.17 +#ifdef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
    4.18  
    4.19  static const char *fs_library = SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC;
    4.20  static void *fs_handle = NULL;
     5.1 --- a/src/audio/nas/SDL_nasaudio.c	Mon Oct 31 23:37:57 2011 -0400
     5.2 +++ b/src/audio/nas/SDL_nasaudio.c	Thu Nov 03 11:51:47 2011 -0400
     5.3 @@ -52,7 +52,7 @@
     5.4    (AuServer *, AuMask, int, AuID, AuEventHandlerCallback, AuPointer);
     5.5  
     5.6  
     5.7 -#if SDL_AUDIO_DRIVER_NAS_DYNAMIC
     5.8 +#ifdef SDL_AUDIO_DRIVER_NAS_DYNAMIC
     5.9  
    5.10  static const char *nas_library = SDL_AUDIO_DRIVER_NAS_DYNAMIC;
    5.11  static void *nas_handle = NULL;
    5.12 @@ -91,7 +91,7 @@
    5.13  
    5.14  #undef SDL_NAS_SYM
    5.15  
    5.16 -#if SDL_AUDIO_DRIVER_NAS_DYNAMIC
    5.17 +#ifdef SDL_AUDIO_DRIVER_NAS_DYNAMIC
    5.18  
    5.19  static void
    5.20  UnloadNASLibrary(void)
     6.1 --- a/src/audio/pulseaudio/SDL_pulseaudio.c	Mon Oct 31 23:37:57 2011 -0400
     6.2 +++ b/src/audio/pulseaudio/SDL_pulseaudio.c	Thu Nov 03 11:51:47 2011 -0400
     6.3 @@ -106,7 +106,7 @@
     6.4  static int load_pulseaudio_syms(void);
     6.5  
     6.6  
     6.7 -#if SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC
     6.8 +#ifdef SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC
     6.9  
    6.10  static const char *pulseaudio_library = SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC;
    6.11  static void *pulseaudio_handle = NULL;