mirror of https://github.com/BOINC/boinc.git
Fix for cygwin and mingw32 compiles.
svn path=/trunk/boinc/; revision=12262
This commit is contained in:
parent
8c0d2c53e9
commit
ee0a50636a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue