Only define NO_MALLOC_OVERRIDE (on posix) if not already defined.

This commit is contained in:
Nicholas Hastings 2013-10-06 10:54:40 -04:00
parent a25667237b
commit 816909b216
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
#pragma once
#endif
#if defined(_LINUX) || defined(__APPLE__)
#if !defined(NO_MALLOC_OVERRIDE) && defined(_POSIX)
#define NO_MALLOC_OVERRIDE
#endif

View File

@ -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