diff --git a/Source/Common/File Class.cpp b/Source/Common/File Class.cpp index cc73de345..2dc7a73b3 100644 --- a/Source/Common/File Class.cpp +++ b/Source/Common/File Class.cpp @@ -2,6 +2,12 @@ #include +#if defined(_MSC_VER) +#include +#else +#define _ASSERTE(expr) ((void)0) +#endif + CFile::CFile() : m_hFile(INVALID_HANDLE_VALUE), m_bCloseOnDelete(false) diff --git a/Source/Common/MemTest.cpp b/Source/Common/MemTest.cpp index 8b70840bf..99f5d08b5 100644 --- a/Source/Common/MemTest.cpp +++ b/Source/Common/MemTest.cpp @@ -1,4 +1,9 @@ +#if defined(_MSC_VER) #include +#else +#define _ASSERTE(expr) ((void)0) +#endif + #include "stdafx.h" #ifdef _DEBUG