| Index: components/policy/policy_export.h
|
| diff --git a/components/policy/policy_export.h b/components/policy/policy_export.h
|
| index 47376acaa855769d8e8c02412f6e927627931518..b6030aa17874707e343f8eab06e27beaa273db51 100644
|
| --- a/components/policy/policy_export.h
|
| +++ b/components/policy/policy_export.h
|
| @@ -6,24 +6,29 @@
|
| #define COMPONENTS_POLICY_POLICY_EXPORT_H_
|
|
|
| #if defined(COMPONENT_BUILD)
|
| +
|
| #if defined(WIN32)
|
|
|
| #if defined(POLICY_COMPONENT_IMPLEMENTATION)
|
| #define POLICY_EXPORT __declspec(dllexport)
|
| #else
|
| #define POLICY_EXPORT __declspec(dllimport)
|
| -#endif // defined(BASE_PREFS_IMPLEMENTATION)
|
| +#endif // defined(POLICY_COMPONENT_IMPLEMENTATION)
|
|
|
| #else // defined(WIN32)
|
| +
|
| #if defined(POLICY_COMPONENT_IMPLEMENTATION)
|
| #define POLICY_EXPORT __attribute__((visibility("default")))
|
| #else
|
| #define POLICY_EXPORT
|
| -#endif
|
| -#endif
|
| +#endif // defined(POLICY_COMPONENT_IMPLEMENTATION)
|
| +
|
| +#endif // defined(WIN32)
|
|
|
| #else // defined(COMPONENT_BUILD)
|
| +
|
| #define POLICY_EXPORT
|
| -#endif
|
| +
|
| +#endif // defined(COMPONENT_BUILD)
|
|
|
| #endif // COMPONENTS_POLICY_POLICY_EXPORT_H_
|
|
|