summaryrefslogtreecommitdiffstats
path: root/chrome/common/plugin_carbon_interpose_constants_mac.h
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 21:04:35 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 21:04:35 +0000
commit47b4af6eb34b58b497bbbafe031a0831e2bb2f1d (patch)
treefc127c4e7f10add8ed49f73ae5b152d5a36d93f3 /chrome/common/plugin_carbon_interpose_constants_mac.h
parentcc4c974335ecf328de5a22e9e75254397f18702e (diff)
downloadchromium_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/common/plugin_carbon_interpose_constants_mac.h')
-rw-r--r--chrome/common/plugin_carbon_interpose_constants_mac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/plugin_carbon_interpose_constants_mac.h b/chrome/common/plugin_carbon_interpose_constants_mac.h
index f90085f..321dd84 100644
--- a/chrome/common/plugin_carbon_interpose_constants_mac.h
+++ b/chrome/common/plugin_carbon_interpose_constants_mac.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_PLUGIN_CARBON_INTERPOSE_CONSTANTS_MAC_H_
#define CHROME_COMMON_PLUGIN_CARBON_INTERPOSE_CONSTANTS_MAC_H_
+#if !defined(__LP64__)
+
// Strings used in setting up Carbon interposing for the plugin process.
namespace plugin_interpose_strings {
@@ -13,4 +15,6 @@ extern const char kInterposeLibraryPath[];
} // namespace plugin_interpose_strings
+#endif // !__LP64__
+
#endif // CHROME_BROWSER_PLUGIN_CARBON_INTERPOSE_CONSTANTS_MAC_H_