diff --git a/webrtc/system_wrappers/interface/trace.h b/webrtc/system_wrappers/interface/trace.h index a1358fab0..92bacf312 100644 --- a/webrtc/system_wrappers/interface/trace.h +++ b/webrtc/system_wrappers/interface/trace.h @@ -19,7 +19,11 @@ #include "webrtc/common_types.h" #include "webrtc/typedefs.h" +#if !defined(WEBRTC_LOGGING) +#define WEBRTC_TRACE (true) ? (void)0 : Trace::Add +#else #define WEBRTC_TRACE Trace::Add +#endif namespace webrtc {