diff options
Diffstat (limited to 'lib/base/eerror.h')
| -rw-r--r-- | lib/base/eerror.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/base/eerror.h b/lib/base/eerror.h index e7c33a0b..2d4e9790 100644 --- a/lib/base/eerror.h +++ b/lib/base/eerror.h @@ -135,13 +135,17 @@ enum { lvlDebug=1, lvlWarning=2, lvlFatal=4 }; inline void eWarning(const char* fmt, ...) { } - #define ASSERT(x) do { } while (0) + #define ASSERT(x) do { x; } while (0) #endif //DEBUG void eWriteCrashdump(); #endif // SWIG -void ePythonOutput(const char *); +#ifndef DEBUG +inline void ePythonOutput(const char *) +{ +} +#endif #endif // __E_ERROR__ |
