I have the following sample code in one of my header files:
#ifdef _DEBUG
#define _DEBUG_NEW_REDEFINE_NEW 0
#include "debug_new.h"
#else
#define DEBUG_NEW new
#endif
The application which includes this header file is compiled using gcc compiler with -DDEBUG
option.
Question:
Is _DEBUG
is defined because of the -DDEBUG
option?