| 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_LIBGTK2UI_LIBGTK2UI_EXPORT_H_ | |
| 6 #define CHROME_BROWSER_UI_LIBGTK2UI_LIBGTK2UI_EXPORT_H_ | |
| 7 | |
| 8 // Defines LIBGTK2UI_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 "LIBGTK2UI does not build on Windows." | |
| 15 | |
| 16 #else // defined(WIN32) | |
| 17 #if defined(LIBGTK2UI_IMPLEMENTATION) | |
| 18 #define LIBGTK2UI_EXPORT __attribute__((visibility("default"))) | |
| 19 #else | |
| 20 #define LIBGTK2UI_EXPORT | |
| 21 #endif | |
| 22 #endif | |
| 23 | |
| 24 #else // defined(COMPONENT_BUILD) | |
| 25 #define LIBGTK2UI_EXPORT | |
| 26 #endif | |
| 27 | |
| 28 #endif // CHROME_BROWSER_UI_LIBGTK2UI_LIBGTK2UI_EXPORT_H_ | |
| OLD | NEW |