From bff96201166bb8d825618cea077ff1b6e2d352b1 Mon Sep 17 00:00:00 2001 From: "henrikg@webrtc.org" Date: Fri, 8 Nov 2013 10:37:27 +0000 Subject: [PATCH] Fix log build error for Chromium builds. This only happens when building in Chromium. Can't roll due to this. ../../third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc: In function 'Window {anonymous}::GetTopLevelWindow(Display*, Window)': ../../third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc:39:7: error: 'LS_INFO' was not declared in this scope ../../third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc:39:7: note: suggested alternative: ../../third_party/webrtc/system_wrappers/interface/logging.h:71:29: note: 'webrtc::LS_INFO' See for example http://build.chromium.org/p/chromium.webrtc.fyi/builders/Linux%20%5Blatest%20WebRTC%2Blibjingle%5D/builds/3039/steps/compile/logs/stdio R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/3619004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5100 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/system_wrappers/interface/logging.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/system_wrappers/interface/logging.h b/webrtc/system_wrappers/interface/logging.h index ac4a11f6f5..41c436b1f3 100644 --- a/webrtc/system_wrappers/interface/logging.h +++ b/webrtc/system_wrappers/interface/logging.h @@ -110,7 +110,7 @@ class LogMessageVoidify { #if defined(WEBRTC_RESTRICT_LOGGING) // This should compile away logs matching the following condition. #define RESTRICT_LOGGING_PRECONDITION(sev) \ - sev < LS_INFO ? (void) 0 : + sev < webrtc::LS_INFO ? (void) 0 : #else #define RESTRICT_LOGGING_PRECONDITION(sev) #endif