From 3a36e4b850eb6c82f3f2cbce7756d76dca64cb08 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Fri, 26 Oct 2012 14:44:39 -0400 Subject: [PATCH] Force NO_MALLOC_OVERRIDE on for linux due to recent tier0 changes. (bug 5521). --- public/tier0/memalloc.h | 4 ++++ public/tier0/memdbgon.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/public/tier0/memalloc.h b/public/tier0/memalloc.h index eb001b68..9de95fcf 100644 --- a/public/tier0/memalloc.h +++ b/public/tier0/memalloc.h @@ -14,6 +14,10 @@ #pragma once #endif +#if defined(_LINUX) +#define NO_MALLOC_OVERRIDE +#endif + // Define this in release to get memory tracking even in release builds //#define USE_MEM_DEBUG 1 diff --git a/public/tier0/memdbgon.h b/public/tier0/memdbgon.h index 9282efb7..054f21d8 100644 --- a/public/tier0/memdbgon.h +++ b/public/tier0/memdbgon.h @@ -11,6 +11,10 @@ // to include this potentially multiple times (since we can deactivate debugging // by including memdbgoff.h) +#if defined(_LINUX) +#define NO_MALLOC_OVERRIDE +#endif + #if !defined(STEAM) && !defined(NO_MALLOC_OVERRIDE) // SPECIAL NOTE #2: This must be the final include in a .cpp or .h file!!!