diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-08 02:13:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-08 02:19:35 +0300 |
commit | 178f4811e8602ba7dacb1a0513baa546088d517d (patch) | |
tree | c23cf5dd5d752216e88473c51e7730700942d0fc /src/debug/debug_new.h | |
parent | da44888ee2de9ae1e5c006126e84b36fcc95d4e5 (diff) | |
download | plus-178f4811e8602ba7dacb1a0513baa546088d517d.tar.gz plus-178f4811e8602ba7dacb1a0513baa546088d517d.tar.bz2 plus-178f4811e8602ba7dacb1a0513baa546088d517d.tar.xz plus-178f4811e8602ba7dacb1a0513baa546088d517d.zip |
Fix compilation errors and more style.
Diffstat (limited to 'src/debug/debug_new.h')
-rw-r--r-- | src/debug/debug_new.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/debug/debug_new.h b/src/debug/debug_new.h index 0e99b96a7..157f2648a 100644 --- a/src/debug/debug_new.h +++ b/src/debug/debug_new.h @@ -61,7 +61,7 @@ #endif /** - * @def _DEBUG_NEW_REDEFINE_NEW + * @def M_DEBUG_NEW_REDEFINE_NEW * * Macro to indicate whether redefinition of \c new is wanted. If one * wants to define one's own <code>operator new</code>, to call @@ -84,8 +84,8 @@ * # endif * @endcode */ -#ifndef _DEBUG_NEW_REDEFINE_NEW -#define _DEBUG_NEW_REDEFINE_NEW 1 +#ifndef M_DEBUG_NEW_REDEFINE_NEW +#define M_DEBUG_NEW_REDEFINE_NEW 1 #endif /* Prototypes */ @@ -114,16 +114,16 @@ extern const char* new_progname; // default to NULL; should be assigned argv[0] * @def DEBUG_NEW * * Macro to catch file/line information on allocation. If - * #_DEBUG_NEW_REDEFINE_NEW is \c 0, one can use this macro directly; + * #M_DEBUG_NEW_REDEFINE_NEW is \c 0, one can use this macro directly; * otherwise \c new will be defined to it, and one must use \c new * instead. */ #define DEBUG_NEW __debug_new_recorder(__FILE__, __LINE__) ->* new -# if _DEBUG_NEW_REDEFINE_NEW +# if M_DEBUG_NEW_REDEFINE_NEW # define new DEBUG_NEW # endif -# ifdef _DEBUG_NEW_EMULATE_MALLOC +# ifdef M_DEBUG_NEW_EMULATE_MALLOC # include <stdlib.h> # ifdef new # define malloc(s) ((void*)(new char[s])) |