diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 21:04:35 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 21:04:35 +0000 |
commit | 47b4af6eb34b58b497bbbafe031a0831e2bb2f1d (patch) | |
tree | fc127c4e7f10add8ed49f73ae5b152d5a36d93f3 /chrome/browser/plugin_carbon_interpose_mac.cc | |
parent | cc4c974335ecf328de5a22e9e75254397f18702e (diff) | |
download | chromium_src-47b4af6eb34b58b497bbbafe031a0831e2bb2f1d.zip chromium_src-47b4af6eb34b58b497bbbafe031a0831e2bb2f1d.tar.gz chromium_src-47b4af6eb34b58b497bbbafe031a0831e2bb2f1d.tar.bz2 |
Add 64-bit guards to the Carbon plugin interpose code
We already don't compile the code to load the library for 64-bit, this makes it so we also don't try to build anything into it.
BUG=None
TEST=Eventually we should be able to compile for 64-bit on the Mac.
Review URL: http://codereview.chromium.org/2090007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_carbon_interpose_mac.cc')
-rw-r--r-- | chrome/browser/plugin_carbon_interpose_mac.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/plugin_carbon_interpose_mac.cc b/chrome/browser/plugin_carbon_interpose_mac.cc index 3d5918c..e0e304f 100644 --- a/chrome/browser/plugin_carbon_interpose_mac.cc +++ b/chrome/browser/plugin_carbon_interpose_mac.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#if !defined(__LP64__) + #include <Carbon/Carbon.h> #include "chrome/plugin/plugin_interpose_util_mac.h" @@ -187,3 +189,5 @@ __attribute__((used)) static const interpose_substitution substitutions[] INTERPOSE_FUNCTION(SetThemeCursor), INTERPOSE_FUNCTION(SetCursor), }; + +#endif // !__LP64__ |