summaryrefslogtreecommitdiffstats
path: root/base/location.cc
diff options
context:
space:
mode:
authorehsan.akhgari@gmail.com <ehsan.akhgari@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-09 14:48:36 +0000
committerehsan.akhgari@gmail.com <ehsan.akhgari@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-09 14:49:53 +0000
commit7aaa529f2b7dcb29f31268dc24f9b88be33de73d (patch)
tree2197d22367e8abf4fb7b70f420c5e07c7b0f0174 /base/location.cc
parenteefeb45c62242d13a8647977b1dd4347134f63bc (diff)
downloadchromium_src-7aaa529f2b7dcb29f31268dc24f9b88be33de73d.zip
chromium_src-7aaa529f2b7dcb29f31268dc24f9b88be33de73d.tar.gz
chromium_src-7aaa529f2b7dcb29f31268dc24f9b88be33de73d.tar.bz2
base: Include intrin.h to get _ReturnAddress from clang
This is similar to r228123, to fix another occurrence where _ReturnAddress is declared manually. BUG=395593 R=cpu@chromium.org Review URL: https://codereview.chromium.org/403103006 Cr-Commit-Position: refs/heads/master@{#288575} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/location.cc')
-rw-r--r--base/location.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/base/location.cc b/base/location.cc
index 08263ce..8b32b97 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"