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
This commit is contained in:
parent
4c828e145e
commit
bff9620116
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user