Fix for VC7 DEBUG build failure

master
Steven Bennetts 2008-09-15 19:45:18 +00:00
parent 07b856b7a4
commit 96869c0de4
2 changed files with 8 additions and 4 deletions

View File

@ -33,9 +33,11 @@
#define LL_LINDEN_COMMON_H
#if defined(LL_WINDOWS) && defined(_DEBUG)
# define _CRTDBG_MAP_ALLOC
# include <stdlib.h>
# include <crtdbg.h>
# if _MSC_VER >= 1400 // Visual C++ 2005 or later
# define _CRTDBG_MAP_ALLOC
# include <stdlib.h>
# include <crtdbg.h>
# endif
#endif
#include "llpreprocessor.h"

View File

@ -32,7 +32,9 @@
#include "llviewerprecompiledheaders.h"
#if defined(_DEBUG)
# define WINDOWS_CRT_MEM_CHECKS 1
# if _MSC_VER >= 1400 // Visual C++ 2005 or later
# define WINDOWS_CRT_MEM_CHECKS 1
# endif
#endif
#include "llappviewerwin32.h"