Skip to content
Snippets Groups Projects
Commit 96869c0d authored by Steven Bennetts's avatar Steven Bennetts
Browse files

Fix for VC7 DEBUG build failure

parent 07b856b7
No related branches found
No related tags found
No related merge requests found
...@@ -33,9 +33,11 @@ ...@@ -33,9 +33,11 @@
#define LL_LINDEN_COMMON_H #define LL_LINDEN_COMMON_H
#if defined(LL_WINDOWS) && defined(_DEBUG) #if defined(LL_WINDOWS) && defined(_DEBUG)
# define _CRTDBG_MAP_ALLOC # if _MSC_VER >= 1400 // Visual C++ 2005 or later
# include <stdlib.h> # define _CRTDBG_MAP_ALLOC
# include <crtdbg.h> # include <stdlib.h>
# include <crtdbg.h>
# endif
#endif #endif
#include "llpreprocessor.h" #include "llpreprocessor.h"
......
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
#include "llviewerprecompiledheaders.h" #include "llviewerprecompiledheaders.h"
#if defined(_DEBUG) #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 #endif
#include "llappviewerwin32.h" #include "llappviewerwin32.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment