commit | bff96201166bb8d825618cea077ff1b6e2d352b1 | [log] [tgz] |
---|---|---|
author | henrikg@webrtc.org <henrikg@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Nov 08 10:37:27 2013 +0000 |
committer | henrikg@webrtc.org <henrikg@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Nov 08 10:37:27 2013 +0000 |
tree | 1844301392ec7f943ec8429c493316f88375e406 | |
parent | 4c828e145e70849bce792cb838824339d74c0b16 [diff] [blame] |
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
diff --git a/webrtc/system_wrappers/interface/logging.h b/webrtc/system_wrappers/interface/logging.h index ac4a11f..41c436b 100644 --- a/webrtc/system_wrappers/interface/logging.h +++ b/webrtc/system_wrappers/interface/logging.h
@@ -110,7 +110,7 @@ #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