Commit 84b54597 by Alan Mishchenko

Adding #ifdef to guard windows-specific debugging option.

parent 7235d740
......@@ -52,9 +52,11 @@
#endif
// catch memory leaks in Visual Studio
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#ifdef WIN32
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif
#endif
#if !defined(___unused)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment