OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_LIBGTKUI_EXPORT_H_ |
| 6 #define CHROME_BROWSER_UI_LIBGTKUI_LIBGTKUI_EXPORT_H_ |
| 7 |
| 8 // Defines LIBGTKUI_EXPORT so that functionality implemented by our limited |
| 9 // gtk2 module can be exported to consumers. |
| 10 |
| 11 #if defined(COMPONENT_BUILD) |
| 12 #if defined(WIN32) |
| 13 |
| 14 #error "LIBGTKUI does not build on Windows." |
| 15 |
| 16 #else // defined(WIN32) |
| 17 #if defined(LIBGTKUI_IMPLEMENTATION) |
| 18 #define LIBGTKUI_EXPORT __attribute__((visibility("default"))) |
| 19 #else |
| 20 #define LIBGTKUI_EXPORT |
| 21 #endif |
| 22 #endif |
| 23 |
| 24 #else // defined(COMPONENT_BUILD) |
| 25 #define LIBGTKUI_EXPORT |
| 26 #endif |
| 27 |
| 28 #endif // CHROME_BROWSER_UI_LIBGTKUI_LIBGTKUI_EXPORT_H_ |
OLD | NEW |