diff options
Diffstat (limited to 'webkit/extensions/webkit_extensions_export.h')
-rw-r--r-- | webkit/extensions/webkit_extensions_export.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/webkit/extensions/webkit_extensions_export.h b/webkit/extensions/webkit_extensions_export.h new file mode 100644 index 0000000..d48c4ef --- /dev/null +++ b/webkit/extensions/webkit_extensions_export.h @@ -0,0 +1,26 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef WEBKIT_EXTENSIONS_WEBKIT_EXTENSIONS_EXPORT_H_ +#define WEBKIT_EXTENSIONS_WEBKIT_EXTENSIONS_EXPORT_H_ +#pragma once + +#if 0 // defined(COMPONENT_BUILD) +#if defined(WIN32) + +#if defined(WEBKIT_EXTENSIONS_IMPLEMENTATION) +#define WEBKIT_EXTENSIONS_EXPORT __declspec(dllexport) +#else +#define WEBKIT_EXTENSIONS_EXPORT __declspec(dllimport) +#endif // defined(WEBKIT_EXTENSIONS_IMPLEMENTATION) + +#else // defined(WIN32) +#define WEBKIT_EXTENSIONS_EXPORT __attribute__((visibility("default"))) +#endif + +#else // defined(COMPONENT_BUILD) +#define WEBKIT_EXTENSIONS_EXPORT +#endif + +#endif // WEBKIT_EXTENSIONS_WEBKIT_EXTENSIONS_EXPORT_H_ |