diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-10-15 09:28:21 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-10-15 09:28:21 (GMT) |
commit | 3f1f0210cefaa3523c8d2cd5ead4bdbd5d92a68a (patch) | |
tree | 07559f1a1018b1f12a009d38518bafcf6c7493b3 /src/3rdparty/phonon/mmf/utils.h | |
parent | 1c4b7e282b54bc39f5e3af96363973f0ec9c8cb9 (diff) | |
download | Qt-3f1f0210cefaa3523c8d2cd5ead4bdbd5d92a68a.zip Qt-3f1f0210cefaa3523c8d2cd5ead4bdbd5d92a68a.tar.gz Qt-3f1f0210cefaa3523c8d2cd5ead4bdbd5d92a68a.tar.bz2 |
Use QT_NO_DEBUG, not _DEBUG.
Diffstat (limited to 'src/3rdparty/phonon/mmf/utils.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/mmf/utils.h b/src/3rdparty/phonon/mmf/utils.h index 38964d0..727abb0 100644 --- a/src/3rdparty/phonon/mmf/utils.h +++ b/src/3rdparty/phonon/mmf/utils.h @@ -54,7 +54,7 @@ void panic(PanicCode code); */ MediaType mimeTypeToMediaType(const TDesC& mimeType); -#ifdef _DEBUG +#ifndef QT_NO_DEBUG /** * Retrieve color of specified pixel from the screen. */ @@ -138,7 +138,7 @@ public: #define _TRACE_MODULE Phonon::MMF // Macros available for use by implementation code -#ifdef _DEBUG +#ifndef QT_NO_DEBUG #define TRACE_CONTEXT(_fn, _cat) const ::Phonon::MMF::TTraceContext _tc((TText*)L ## #_fn, (TUint)this, _cat); #define TRACE_ENTRY_0() { if(_tc.Enabled()) _TRACE_PRINT(_TRACE_TEXT(L ## "+ Phonon::MMF::%s [0x%08x]"), _tc.iFunction, _tc.iAddr); } #define TRACE_ENTRY(string, args...) { if(_tc.Enabled()) _TRACE_PRINT(_TRACE_TEXT(L ## "+ Phonon::MMF::%s [0x%08x] " L ## string), _tc.iFunction, _tc.iAddr, args); } |