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

Unified Diff: base/location.cc

Issue 403103006: base: Include intrin.h to get _ReturnAddress from clang (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added the bug number to the commit message. Created 6 years, 5 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/location.cc
diff --git a/base/location.cc b/base/location.cc
index d87ed3581fb5de9499e731fcd7ed0183dd946447..f8c8110aedd5b2356c686c65dc12850318f1e80d 100644
--- a/base/location.cc
+++ b/base/location.cc
@@ -5,10 +5,7 @@
#include "build/build_config.h"
#if defined(COMPILER_MSVC)
-// MSDN says to #include <intrin.h>, but that breaks the VS2005 build.
-extern "C" {
- void* _ReturnAddress();
-}
+#include <intrin.h>
#endif
#include "base/location.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