mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-09 03:24:59 -06:00
.Core: Fixed duplicate ASSERT issue
git-svn-id: svn://ultimatepp.org/upp/trunk@3328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fe8d5db392
commit
3cdacb0043
2 changed files with 6 additions and 8 deletions
|
|
@ -34,8 +34,12 @@ void PanicMessageBox(const char *title, const char *text);
|
|||
|
||||
#else
|
||||
|
||||
#define ASSERT_(x, msg)
|
||||
#define ASSERT(x)
|
||||
inline void LOGNOP__() {}
|
||||
|
||||
#define LOG_NOP Upp::LOGNOP__()
|
||||
|
||||
#define ASSERT_(x, msg) LOG_NOP
|
||||
#define ASSERT(x) LOG_NOP
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -129,18 +129,12 @@ inline void UnlockLog() {}
|
|||
|
||||
#else
|
||||
|
||||
inline void LOGNOP__() {}
|
||||
|
||||
#define LOG_NOP Upp::LOGNOP__()
|
||||
|
||||
#define DLOG(x) @ // To clean logs after debugging, this produces error in release mode
|
||||
#define DDUMP(x) @
|
||||
#define DDUMPC(x) @
|
||||
#define DDUMPM(x) @
|
||||
#define DTIMING(x) @
|
||||
|
||||
#define ASSERT(x) LOG_NOP
|
||||
|
||||
#define DEBUGCODE(x) LOG_NOP
|
||||
|
||||
inline void LOGF(const char *format, ...) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue