summaryrefslogtreecommitdiffstats
path: root/ui/accelerated_widget_mac/accelerated_widget_mac_export.h
blob: e16df3dd04d2f2a2dc2582006b5c59d6f2be4167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2014 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 UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_
#define UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_

#if defined(WIN32)
#error Not for use on Windows.
#endif

#if defined(COMPONENT_BUILD)

#if defined(ACCELERATED_WIDGET_MAC_IMPLEMENTATION)
#define ACCELERATED_WIDGET_MAC_EXPORT __attribute__((visibility("default")))
#else
#define ACCELERATED_WIDGET_MAC_EXPORT
#endif

#else  // defined(COMPONENT_BUILD)
#define ACCELERATED_WIDGET_MAC_EXPORT
#endif

#endif  // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_