blob: f307101a8f3931d89d237dfe12856dcca21f6616 [file] [log] [blame]
// Copyright 2013 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 COMPONENTS_SESSIONS_SESSIONS_EXPORT_H_
#define COMPONENTS_SESSIONS_SESSIONS_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(SESSIONS_IMPLEMENTATION)
#define SESSIONS_EXPORT __declspec(dllexport)
#define SESSIONS_EXPORT_PRIVATE __declspec(dllexport)
#else
#define SESSIONS_EXPORT __declspec(dllimport)
#define SESSIONS_EXPORT_PRIVATE __declspec(dllimport)
#endif // defined(SESSIONS_IMPLEMENTATION)
#else // defined(WIN32)
#if defined(SESSIONS_IMPLEMENTATION)
#define SESSIONS_EXPORT __attribute__((visibility("default")))
#define SESSIONS_EXPORT_PRIVATE __attribute__((visibility("default")))
#else
#define SESSIONS_EXPORT
#define SESSIONS_EXPORT_PRIVATE
#endif
#endif
#else // defined(COMPONENT_BUILD)
#define SESSIONS_EXPORT
#define SESSIONS_EXPORT_PRIVATE
#endif
#endif // COMPONENTS_SESSIONS_SESSIONS_EXPORT_H_