diff options
-rw-r--r-- | chrome/browser/plugin_carbon_interpose_mac.cc | 4 | ||||
-rw-r--r-- | chrome/common/plugin_carbon_interpose_constants_mac.cc | 4 | ||||
-rw-r--r-- | chrome/common/plugin_carbon_interpose_constants_mac.h | 4 |
3 files changed, 12 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__ diff --git a/chrome/common/plugin_carbon_interpose_constants_mac.cc b/chrome/common/plugin_carbon_interpose_constants_mac.cc index 68d0751..d7f6f91 100644 --- a/chrome/common/plugin_carbon_interpose_constants_mac.cc +++ b/chrome/common/plugin_carbon_interpose_constants_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 "chrome/common/plugin_carbon_interpose_constants_mac.h" namespace plugin_interpose_strings { @@ -11,3 +13,5 @@ const char kInterposeLibraryPath[] = "@executable_path/libplugin_carbon_interpose.dylib"; } // namespace plugin_interpose_strings + +#endif // !__LP64__ 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_ |