mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
Force NO_MALLOC_OVERRIDE on for linux due to recent tier0 changes. (bug 5521).
This commit is contained in:
parent
0905e8a48f
commit
3a36e4b850
@ -14,6 +14,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_LINUX)
|
||||||
|
#define NO_MALLOC_OVERRIDE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Define this in release to get memory tracking even in release builds
|
// Define this in release to get memory tracking even in release builds
|
||||||
//#define USE_MEM_DEBUG 1
|
//#define USE_MEM_DEBUG 1
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,10 @@
|
|||||||
// to include this potentially multiple times (since we can deactivate debugging
|
// to include this potentially multiple times (since we can deactivate debugging
|
||||||
// by including memdbgoff.h)
|
// by including memdbgoff.h)
|
||||||
|
|
||||||
|
#if defined(_LINUX)
|
||||||
|
#define NO_MALLOC_OVERRIDE
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(STEAM) && !defined(NO_MALLOC_OVERRIDE)
|
#if !defined(STEAM) && !defined(NO_MALLOC_OVERRIDE)
|
||||||
|
|
||||||
// SPECIAL NOTE #2: This must be the final include in a .cpp or .h file!!!
|
// SPECIAL NOTE #2: This must be the final include in a .cpp or .h file!!!
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user