summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-09-15 19:45:18 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-09-15 19:45:18 +0000
commit96869c0de45c20949ede6deeb4e8f954b7b209ca (patch)
tree0ddd6f005976aa9340b079f75b88a517d4eddfa7 /indra/llcommon
parent07b856b7a492e3cc9d29203b1395d3ed283394fc (diff)
Fix for VC7 DEBUG build failure
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/linden_common.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/llcommon/linden_common.h b/indra/llcommon/linden_common.h
index 1581522a2e..a48c3fbb8c 100644
--- a/indra/llcommon/linden_common.h
+++ b/indra/llcommon/linden_common.h
@@ -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"