Mercurial > hg > svcore
diff base/Debug.h @ 690:1424aa29ae95
Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 15:26:52 +0100 |
parents | 99222d4bfc78 |
children | e802e550a1f2 |
line wrap: on
line diff
--- a/base/Debug.h Tue Jun 14 14:47:59 2011 +0100 +++ b/base/Debug.h Tue Jun 14 15:26:52 2011 +0100 @@ -32,7 +32,7 @@ extern QDebug &getSVDebug(); -#define DEBUG getSVDebug() +#define SVDEBUG getSVDebug() template <typename T> inline QDebug &operator<<(QDebug &d, const T &t) { @@ -57,7 +57,7 @@ inline NoDebug &operator<<(QTextStreamFunction) { return *this; } }; -#define DEBUG NoDebug() +#define SVDEBUG NoDebug() #endif /* !NDEBUG */