Merge pull request #764 from cxd4/undeclared-ASSERTE-macro
[Common] Have fallback to including nonstandard <crtdbg.h>.
This commit is contained in:
commit
839fda1e0e
|
@ -2,6 +2,12 @@
|
|||
|
||||
#include <TChar.H>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <crtdbg.h>
|
||||
#else
|
||||
#define _ASSERTE(expr) ((void)0)
|
||||
#endif
|
||||
|
||||
CFile::CFile() :
|
||||
m_hFile(INVALID_HANDLE_VALUE),
|
||||
m_bCloseOnDelete(false)
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
#if defined(_MSC_VER)
|
||||
#include <crtdbg.h>
|
||||
#else
|
||||
#define _ASSERTE(expr) ((void)0)
|
||||
#endif
|
||||
|
||||
#include "stdafx.h"
|
||||
#ifdef _DEBUG
|
||||
|
||||
|
|
Loading…
Reference in New Issue