From 41aa9845c46a8eeaf8f1776b4586885d3271474a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 7 Nov 2018 18:26:33 -0800 Subject: Hide function pointer wrapper macros for IDE parsing --- Alc/backends/dsound.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/backends/dsound.cpp') 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) -- cgit v1.2.3