Fix for VC7 DEBUG build failure
parent
07b856b7a4
commit
96869c0de4
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue