aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/dsound.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-07 18:26:33 -0800
committerChris Robinson <[email protected]>2018-11-07 18:26:33 -0800
commit41aa9845c46a8eeaf8f1776b4586885d3271474a (patch)
tree85a53aa373161d1f9a4c45259508ae6867fef7cc /Alc/backends/dsound.cpp
parent5e5e2f654e72adada54ed426152a5db8e4f8c59b (diff)
Hide function pointer wrapper macros for IDE parsing
Diffstat (limited to 'Alc/backends/dsound.cpp')
-rw-r--r--Alc/backends/dsound.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/dsound.cpp b/Alc/backends/dsound.cpp
index e5efe706..e760e9f5 100644
--- a/Alc/backends/dsound.cpp
+++ b/Alc/backends/dsound.cpp
@@ -85,11 +85,13 @@ static HRESULT (WINAPI *pDirectSoundEnumerateW)(LPDSENUMCALLBACKW pDSEnumCallbac
static HRESULT (WINAPI *pDirectSoundCaptureCreate)(const GUID *pcGuidDevice, IDirectSoundCapture **ppDSC, IUnknown *pUnkOuter);
static HRESULT (WINAPI *pDirectSoundCaptureEnumerateW)(LPDSENUMCALLBACKW pDSEnumCallback, void *pContext);
+#ifndef IN_IDE_PARSER
#define DirectSoundCreate pDirectSoundCreate
#define DirectSoundEnumerateW pDirectSoundEnumerateW
#define DirectSoundCaptureCreate pDirectSoundCaptureCreate
#define DirectSoundCaptureEnumerateW pDirectSoundCaptureEnumerateW
#endif
+#endif
static ALCboolean DSoundLoad(void)