fix UNKNOWN_ALLOCATOR O4

This commit is contained in:
cxgeorge
2001-11-16 23:52:45 +00:00
parent 1c158b6dd0
commit 3d43383564
3 changed files with 11 additions and 3 deletions

View File

@@ -104,8 +104,8 @@
// this indicates OLD_STYLE_ALLOCATOR is NOT used (defined as the empty string)
#define OLD_STYLE_ALLOCATOR
// this is reqd for msvc 7.0 to build (beta-only, havent tested final)
// #define UNKNOWN_ALLOCATOR 1
// this is reqd for msvc 7.0 to build (beta-only, havent tested final). Default on for Opt4, off otherwise
//#define USE_UNKNOWN_ALLOCATOR 1
// can Intel C++ build this directory successfully (if not, change CC to msvc)
#define NOT_INTEL_BUILDABLE false

View File

@@ -191,7 +191,11 @@ $[cdefine HAVE_RTTI]
$[cdefine GLOBAL_OPERATOR_NEW_EXCEPTIONS]
/* What style STL allocator should we declare? */
$[cdefine UNKNOWN_ALLOCATOR]
// Use this to force UNKNOWN_ALLOCATOR for non-Opt4 (it is already default for Opt4 using /DUNKNOWN_ALLOCATOR)
// see dtoolbase.h
$[cdefine USE_UNKNOWN_ALLOCATOR]
$[cdefine OLD_STYLE_ALLOCATOR]
$[cdefine GNU_STYLE_ALLOCATOR]

View File

@@ -58,6 +58,10 @@
#endif /* WIN32_VC */
#if defined(USE_UNKNOWN_ALLOCATOR) && !defined(UNKNOWN_ALLOCATOR)
#define UNKNOWN_ALLOCATOR 1
#endif
#include "dtoolsymbols.h"
#ifdef HAVE_MALLOC_H