summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/llaudio/lllistener_openal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llaudio/lllistener_openal.h b/indra/llaudio/lllistener_openal.h
index e4d7e67422..12d9aa6611 100644
--- a/indra/llaudio/lllistener_openal.h
+++ b/indra/llaudio/lllistener_openal.h
@@ -31,9 +31,11 @@
#include "lllistener.h"
#include "AL/al.h"
-#ifdef __APPLE__
+#ifdef LL_DARWIN
#undef __APPLE__
+#endif
#include "AL/alut.h"
+#ifdef LL_DARWIN
#define __APPLE__
#endif
#include "AL/alext.h"