config: make HAVE_MKDIR 0 on vc7 (fixes autobuilder problem)
wsnd: fix typo This was SVN commit r5091.
This commit is contained in:
parent
452d67f0b7
commit
4d94b4f4aa
@ -325,8 +325,9 @@
|
||||
# define HAVE_WCSDUP 1
|
||||
#endif
|
||||
|
||||
// emulation needed on VC8 because this function is "deprecated"
|
||||
#if MSC_VERSION >= 1400
|
||||
// emulation needed on VC8 because this function is "deprecated".
|
||||
// not present on VC7, either.
|
||||
#if MSC_VERSION
|
||||
# define HAVE_MKDIR 0
|
||||
#else
|
||||
# define HAVE_MKDIR 1
|
||||
|
@ -126,7 +126,7 @@ static const char* GetDirectSoundDriverPath()
|
||||
*(void**)&pDirectSoundEnumerateA = GetProcAddress(hDsoundDll, "DirectSoundEnumerateA");
|
||||
if(pDirectSoundEnumerateA)
|
||||
{
|
||||
if(DirectSoundEnumerateA(DirectSoundCallback, (void*)0) != DS_OK)
|
||||
if(pDirectSoundEnumerateA(DirectSoundCallback, (void*)0) != DS_OK)
|
||||
debug_warn("DirectSoundEnumerate failed");
|
||||
}
|
||||
FreeLibrary(hDsoundDll);
|
||||
|
Loading…
Reference in New Issue
Block a user