* Check wether WZ_CC_MSVC is defined, not wether WC_CC_MSVC is defined
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3446 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
4aba4facca
commit
592155a788
|
@ -6865,7 +6865,7 @@ BOOL writeDroidFile(char *pFileName, DROID **ppsCurrentDroidLists)
|
|||
{
|
||||
void* dangling_ptr;
|
||||
|
||||
# ifdef WC_CC_MSVC
|
||||
# ifdef WZ_CC_MSVC
|
||||
// Fill the memory with 0xcd, which MSVC initialises freshly
|
||||
// allocated memory with.
|
||||
memset(&dangling_ptr, 0xcd, sizeof(dangling_ptr));
|
||||
|
|
Loading…
Reference in New Issue