mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
Only define NO_MALLOC_OVERRIDE (on posix) if not already defined.
This commit is contained in:
parent
a25667237b
commit
816909b216
@ -14,7 +14,7 @@
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#if defined(_LINUX) || defined(__APPLE__)
|
||||
#if !defined(NO_MALLOC_OVERRIDE) && defined(_POSIX)
|
||||
#define NO_MALLOC_OVERRIDE
|
||||
#endif
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
// to include this potentially multiple times (since we can deactivate debugging
|
||||
// by including memdbgoff.h)
|
||||
|
||||
#if defined(_LINUX) || defined(__APPLE__)
|
||||
#if !defined(NO_MALLOC_OVERRIDE) && defined(_POSIX)
|
||||
#define NO_MALLOC_OVERRIDE
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user