Added missing guards.
parent
56edbb4062
commit
60329e6a1e
|
@ -19,6 +19,9 @@
|
||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
*/
|
*/
|
||||||
#include "../../SDL_internal.h"
|
#include "../../SDL_internal.h"
|
||||||
|
|
||||||
|
#if SDL_AUDIO_DRIVER_COREAUDIO
|
||||||
|
|
||||||
#include "SDL_audio.h"
|
#include "SDL_audio.h"
|
||||||
#include "../SDL_audio_c.h"
|
#include "../SDL_audio_c.h"
|
||||||
#include "../SDL_sysaudio.h"
|
#include "../SDL_sysaudio.h"
|
||||||
|
@ -554,4 +557,6 @@ AudioBootStrap COREAUDIO_bootstrap = {
|
||||||
"coreaudio", "CoreAudio", COREAUDIO_Init, 0
|
"coreaudio", "CoreAudio", COREAUDIO_Init, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* SDL_AUDIO_DRIVER_COREAUDIO */
|
||||||
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../SDL_internal.h"
|
#include "../../SDL_internal.h"
|
||||||
|
|
||||||
|
#if SDL_AUDIO_DRIVER_NACL
|
||||||
|
|
||||||
#include "SDL_naclaudio.h"
|
#include "SDL_naclaudio.h"
|
||||||
|
|
||||||
#include "SDL_audio.h"
|
#include "SDL_audio.h"
|
||||||
|
@ -145,3 +148,7 @@ AudioBootStrap NACLAUD_bootstrap = {
|
||||||
NACLAUD_DRIVER_NAME, "SDL NaCl Audio Driver",
|
NACLAUD_DRIVER_NAME, "SDL NaCl Audio Driver",
|
||||||
NACLAUD_Init, 0
|
NACLAUD_Init, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* SDL_AUDIO_DRIVER_NACL */
|
||||||
|
|
||||||
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
*/
|
*/
|
||||||
#include "../../SDL_internal.h"
|
#include "../../SDL_internal.h"
|
||||||
|
|
||||||
|
#if SDL_VIDEO_DRIVER_NACL
|
||||||
|
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
#include "../../events/SDL_sysevents.h"
|
#include "../../events/SDL_sysevents.h"
|
||||||
#include "../../events/SDL_events_c.h"
|
#include "../../events/SDL_events_c.h"
|
||||||
|
@ -430,3 +432,7 @@ void NACL_PumpEvents(_THIS) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* SDL_VIDEO_DRIVER_NACL */
|
||||||
|
|
||||||
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|
Loading…
Reference in New Issue