skAIware
-
2012-10-20
build failed on cygwin because it does not include Microsoft <crtdbg.h>
In il_alloc.c :
change
// Memory leak detection
#ifdef _WIN32
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#ifndef _WIN32_WCE // Does not have this header.
#include <crtdbg.h>
#endif
#endif
#endif//_WIN32
to
// Memory leak detection
#ifdef _WIN32
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#if !defined(_WIN32_WCE) && !defined(__CYGWIN__) // Does not have this header.
#include <crtdbg.h>
#endif
#endif
#endif//_WIN32