Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: webrtc/base/logging.cc

Issue 1412653006: Fix Visual Studio 2015 WebRtc x86 build. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added comments for VS2015 compiler bug. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/logging.cc
diff --git a/webrtc/base/logging.cc b/webrtc/base/logging.cc
index 686b9b2b02b482e104f7daab6eb5f4bde336821d..019a31623be1333f48383362ed9fe74c21619fb9 100644
--- a/webrtc/base/logging.cc
+++ b/webrtc/base/logging.cc
@@ -13,7 +13,9 @@
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
+#if _MSC_VER < 1900
#define snprintf _snprintf
+#endif
#undef ERROR // wingdi.h
#endif
« no previous file with comments | « AUTHORS ('k') | webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698