Fix for cygwin and mingw32 compiles.

svn path=/trunk/boinc/; revision=12262
This commit is contained in:
Eric J. Korpela 2007-03-22 00:22:02 +00:00
parent 8c0d2c53e9
commit ee0a50636a
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ extern void boinc_info(const char *pszFormat, ...);
#define BOINCASSERT(expr) wxASSERT(expr)
#define BOINCTRACE wxLogDebug
#elif defined(_CONSOLE)
#elif defined(_CONSOLE) && !(defined(__MINGW32__) || defined(__CYGWIN32__))
// Microsoft CRT
//
@ -162,7 +162,7 @@ extern void boinc_info(const char *pszFormat, ...);
#else // _DEBUG
#if defined(__MINGW32__) || defined(__CYGWIN32__)
#define BOINCASSERT(expr)
#define BOINCASSERT(expr) assert(expr)
#define BOINCTRACE(...) boinc_trace
#else // __MINGW32__
#define BOINCASSERT(expr) __noop