Commit aa546b46 by Alan Mishchenko

Fix to the #include <stdlib.h> problem for Debug version on Window.

parent 0145b0ca
......@@ -53,14 +53,6 @@
#define ABC_DLL ABC_DLLIMPORT
#endif
// catch memory leaks in Visual Studio
#ifdef WIN32
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif
#endif
#if !defined(___unused)
#if defined(__GNUC__)
#define ___unused __attribute__ ((__unused__))
......@@ -84,6 +76,14 @@
#include <stdio.h>
#include <string.h>
// catch memory leaks in Visual Studio
#ifdef WIN32
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif
#endif
////////////////////////////////////////////////////////////////////////
/// NAMESPACES ///
////////////////////////////////////////////////////////////////////////
......
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