.Core: Fixed duplicate ASSERT issue

git-svn-id: svn://ultimatepp.org/upp/trunk@3328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-04-07 08:30:02 +00:00
parent fe8d5db392
commit 3cdacb0043
2 changed files with 6 additions and 8 deletions

View file

@ -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

View file

@ -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, ...) {}