summaryrefslogtreecommitdiff
path: root/indra/llaudio
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-12-23 19:18:10 +0800
committerErik Kundiman <erik@megapahit.org>2024-12-23 19:18:10 +0800
commitd81e18868659eac9db9e8ba254467496cc48ba43 (patch)
treeef3f58d4dd74c0f6dfd6fb26a4da7a5a6f97eeaf /indra/llaudio
parent7db9bc28a9cbcda72be1f7a3436e7f04b67b6bbe (diff)
Make the undef & redefining not affect non-macOSHEADmain
Diffstat (limited to 'indra/llaudio')
-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"