1
0
forked from 0ad/0ad

config: make HAVE_MKDIR 0 on vc7 (fixes autobuilder problem)

wsnd: fix typo

This was SVN commit r5091.
This commit is contained in:
janwas 2007-05-26 15:45:34 +00:00
parent 452d67f0b7
commit 4d94b4f4aa
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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);