summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudioengine_openal.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-12-23 17:50:20 +0800
committerErik Kundiman <erik@megapahit.org>2024-12-23 18:30:40 +0800
commitb1d3b65094ddd1df5d458149b0000c67d86100c0 (patch)
treee11a776c168076fcc42dd999e020231083ba0f03 /indra/llaudio/llaudioengine_openal.cpp
parentb26441798c26a7b0fc6b1eb3e88cecb19ecfbfe9 (diff)
MacPorts' openal-soft has been upgraded to 1.24.1
The __APPLE__ undef and redefining is for getting around the `expected ';' after top level declarator` error that would happen on /opt/local/include/AL/alext.h line 165: typedef ALCboolean (ALC_APIENTRY*PFNALCSETTHREADCONTEXTPROC)(ALCcontext *context) ALC_API_NOEXCEPT17; where ALCcontext wouldn't be recognised because of freealut's /opt/local/include/AL/alut.h that would include macOS' OpenAL framework alc.h instead of MacPorts openal-soft's own alc.h, if __APPLE__ is defined, hence the undefining just before including freealut's alut.h (and redefining afterwards, to avoid any problem).
Diffstat (limited to 'indra/llaudio/llaudioengine_openal.cpp')
0 files changed, 0 insertions, 0 deletions