| Index: public/common/WebCommonExport.h
|
| diff --git a/Source/weborigin/WebOriginExport.h b/public/common/WebCommonExport.h
|
| similarity index 79%
|
| copy from Source/weborigin/WebOriginExport.h
|
| copy to public/common/WebCommonExport.h
|
| index 528489c543281c69fa9c232c55c646fbceae8006..75a58188243f71a55fded25f3ce687d700315267 100644
|
| --- a/Source/weborigin/WebOriginExport.h
|
| +++ b/public/common/WebCommonExport.h
|
| @@ -28,26 +28,25 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| +#ifndef WebCommonExport_h
|
| +#define WebCommonExport_h
|
|
|
| -#ifndef WebOriginExport_h
|
| -#define WebOriginExport_h
|
| -
|
| -#if !defined(WEBORIGIN_IMPLEMENTATION)
|
| -#define WEBORIGIN_IMPLEMENTATION 0
|
| +#if !defined(BLINK_COMMON_IMPLEMENTATION)
|
| +#define BLINK_COMMON_IMPLEMENTATION 0
|
| #endif
|
|
|
| #if defined(COMPONENT_BUILD)
|
| #if defined(WIN32)
|
| -#if WEBORIGIN_IMPLEMENTATION
|
| -#define WEBORIGIN_EXPORT __declspec(dllexport)
|
| -#else
|
| -#define WEBORIGIN_EXPORT __declspec(dllimport)
|
| +#if BLINK_COMMON_IMPLEMENTATION
|
| +#define BLINK_COMMON_EXPORT __declspec(dllexport)
|
| +#else // defined(BLINK_COMMON_IMPLEMENTATION)
|
| +#define BLINK_COMMON_EXPORT __declspec(dllimport)
|
| #endif
|
| #else // defined(WIN32)
|
| -#define WEBORIGIN_EXPORT __attribute__((visibility("default")))
|
| +#define BLINK_COMMON_EXPORT __attribute__((visibility("default")))
|
| #endif
|
| #else // defined(COMPONENT_BUILD)
|
| -#define WEBORIGIN_EXPORT
|
| +#define BLINK_COMMON_EXPORT
|
| #endif
|
|
|
| -#endif // WebOriginExport_h
|
| +#endif // WebCommonExport_h
|
|
|