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

Unified Diff: base/tracked.cc

Issue 7071015: Fix the VS2005 build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tracked.cc
===================================================================
--- base/tracked.cc (revision 86714)
+++ base/tracked.cc (working copy)
@@ -5,7 +5,10 @@
#include "build/build_config.h"
#if defined(COMPILER_MSVC)
-#include <intrin.h>
+// MSDN says to #include <intrin.h>, but that breaks the VS2005 build.
+extern "C" {
+void* _ReturnAddress();
+}
#endif
#include "base/tracked.h"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698