mirror of https://github.com/YosysHQ/abc.git
Adding #ifdef to guard windows-specific debugging option.
This commit is contained in:
parent
7235d74010
commit
84b54597b4
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue