fix minimal build

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4408 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-06-26 03:36:30 +00:00
parent cebd0583a9
commit feb28c939d

View file

@ -541,11 +541,9 @@ static int DSOUND_InitCard_Internal (soundcardinfo_t *sc, int cardnum)
{ {
extern cvar_t snd_inactive; extern cvar_t snd_inactive;
#if _MSC_VER > 1200 //fixme err #if _MSC_VER > 1200 //fixme err
#ifndef MINIMAL
#ifdef _IKsPropertySet_ #ifdef _IKsPropertySet_
extern cvar_t snd_eax; extern cvar_t snd_eax;
#endif #endif
#endif
#endif #endif
DSBUFFERDESC dsbuf; DSBUFFERDESC dsbuf;
DSBCAPS dsbcaps; DSBCAPS dsbcaps;
@ -642,7 +640,6 @@ static int DSOUND_InitCard_Internal (soundcardinfo_t *sc, int cardnum)
dh = sc->handle; dh = sc->handle;
//EAX attempt //EAX attempt
#if _MSC_VER > 1200 #if _MSC_VER > 1200
#ifndef MINIMAL
#ifdef _IKsPropertySet_ #ifdef _IKsPropertySet_
dh->pDS = NULL; dh->pDS = NULL;
if (snd_eax.ival) if (snd_eax.ival)
@ -656,7 +653,6 @@ static int DSOUND_InitCard_Internal (soundcardinfo_t *sc, int cardnum)
if (!dh->pDS) if (!dh->pDS)
#endif #endif
#endif
#endif #endif
{ {
while ((hresult = iDirectSoundCreate(dsndguid, &dh->pDS, NULL)) != DS_OK) while ((hresult = iDirectSoundCreate(dsndguid, &dh->pDS, NULL)) != DS_OK)