From 35d95932256d615da0599bad8acdbf91777962b0 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Fri, 13 Feb 2009 00:49:30 -0700 Subject: Added in mac build support, contributed to us by allenmoatallen> from Legends of Mazzeroth. Signed-off-by: Ira Rice --- src/resources/music.h | 5 ++++- src/resources/soundeffect.h | 4 ++++ src/sound.h | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/resources/music.h b/src/resources/music.h index 36da6a61..32b25edf 100644 --- a/src/resources/music.h +++ b/src/resources/music.h @@ -23,8 +23,11 @@ #ifndef MUSIC_H #define MUSIC_H +#ifdef __APPLE__ +#include +#elif #include - +#endif #include "resource.h" /** diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h index e2181767..070a13de 100644 --- a/src/resources/soundeffect.h +++ b/src/resources/soundeffect.h @@ -23,7 +23,11 @@ #ifndef SOUND_EFFECT_H #define SOUND_EFFECT_H +#ifdef __APPLE__ +#include +#elif #include +#endif #include "resource.h" diff --git a/src/sound.h b/src/sound.h index 53fde14e..14a319c1 100644 --- a/src/sound.h +++ b/src/sound.h @@ -23,7 +23,11 @@ #ifndef SOUND_H #define SOUND_H +#ifdef __APPLE__ +#include +#elif #include +#endif #include /** Sound engine -- cgit v1.2.3-70-g09d2