Commit 84b54597 by Alan Mishchenko

Adding #ifdef to guard windows-specific debugging option.

parent 7235d740
...@@ -52,9 +52,11 @@ ...@@ -52,9 +52,11 @@
#endif #endif
// catch memory leaks in Visual Studio // catch memory leaks in Visual Studio
#ifdef _DEBUG #ifdef WIN32
#define _CRTDBG_MAP_ALLOC #ifdef _DEBUG
#include <crtdbg.h> #define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif
#endif #endif
#if !defined(___unused) #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