#209 Build failed on cygwin

open
nobody
None
6
2012-10-20
2012-10-20
skAIware
No

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

Discussion

  • skAIware

    skAIware - 2012-10-20
     
  • skAIware

    skAIware - 2012-10-20
    • priority: 5 --> 6
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks