blob: 78e71e229b4c1486fa7cf32a9bdbfca8ded69bce (
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
25
26
27
28
|
// Copyright (c) 2012 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 CHROME_BROWSER_UI_LIBGTK2UI_LIBGTK2UI_EXPORT_H_
#define CHROME_BROWSER_UI_LIBGTK2UI_LIBGTK2UI_EXPORT_H_
// Defines LIBGTK2UI_EXPORT so that functionality implemented by our limited
// gtk2 module can be exported to consumers.
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#error "LIBGTK2UI does not build on Windows."
#else // defined(WIN32)
#if defined(LIBGTK2UI_IMPLEMENTATION)
#define LIBGTK2UI_EXPORT __attribute__((visibility("default")))
#else
#define LIBGTK2UI_EXPORT
#endif
#endif
#else // defined(COMPONENT_BUILD)
#define LIBGTK2UI_EXPORT
#endif
#endif // CHROME_BROWSER_UI_LIBGTK2UI_LIBGTK2UI_EXPORT_H_
|