Skip to content

Commit

Permalink
Added missing guards.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Feb 3, 2015
1 parent 56edbb4 commit 60329e6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/audio/coreaudio/SDL_coreaudio.c
Expand Up @@ -19,6 +19,9 @@
3. This notice may not be removed or altered from any source distribution.
*/
#include "../../SDL_internal.h"

#if SDL_AUDIO_DRIVER_COREAUDIO

#include "SDL_audio.h"
#include "../SDL_audio_c.h"
#include "../SDL_sysaudio.h"
Expand Down Expand Up @@ -554,4 +557,6 @@ AudioBootStrap COREAUDIO_bootstrap = {
"coreaudio", "CoreAudio", COREAUDIO_Init, 0
};

#endif /* SDL_AUDIO_DRIVER_COREAUDIO */

/* vi: set ts=4 sw=4 expandtab: */
7 changes: 7 additions & 0 deletions src/audio/nacl/SDL_naclaudio.c
Expand Up @@ -20,6 +20,9 @@
*/

#include "../../SDL_internal.h"

#if SDL_AUDIO_DRIVER_NACL

#include "SDL_naclaudio.h"

#include "SDL_audio.h"
Expand Down Expand Up @@ -145,3 +148,7 @@ AudioBootStrap NACLAUD_bootstrap = {
NACLAUD_DRIVER_NAME, "SDL NaCl Audio Driver",
NACLAUD_Init, 0
};

#endif /* SDL_AUDIO_DRIVER_NACL */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 6 additions & 0 deletions src/video/nacl/SDL_naclevents.c
Expand Up @@ -20,6 +20,8 @@
*/
#include "../../SDL_internal.h"

#if SDL_VIDEO_DRIVER_NACL

#include "SDL.h"
#include "../../events/SDL_sysevents.h"
#include "../../events/SDL_events_c.h"
Expand Down Expand Up @@ -430,3 +432,7 @@ void NACL_PumpEvents(_THIS) {
}
}
}

#endif /* SDL_VIDEO_DRIVER_NACL */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 60329e6

Please sign in to comment.