Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
|
tfarina
2012/06/07 17:02:05
nit: s/2011/2012
| |
| 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 #pragma once | |
| 8 | |
| 9 // Defines LIBGTK2UI_EXPORT so that functionality implemented by the aura module | |
|
tfarina
2012/06/07 17:02:05
nit: s/aura/libgtk2ui
| |
| 10 // can be exported to consumers. | |
| 11 | |
| 12 #if defined(COMPONENT_BUILD) | |
| 13 #if defined(WIN32) | |
| 14 | |
| 15 #error "LIBGTK2UI does not build on Windows." | |
| 16 | |
| 17 #else // defined(WIN32) | |
| 18 #if defined(LIBGTK2UI_IMPLEMENTATION) | |
| 19 #define LIBGTK2UI_EXPORT __attribute__((visibility("default"))) | |
| 20 #else | |
| 21 #define LIBGTK2UI_EXPORT | |
| 22 #endif | |
| 23 #endif | |
| 24 | |
| 25 #else // defined(COMPONENT_BUILD) | |
| 26 #define LIBGTK2UI_EXPORT | |
| 27 #endif | |
| 28 | |
| 29 #endif // CHROME_BROWSER_UI_LIBGTK2UI_LIBGTK2UI_EXPORT_H_ | |
| OLD | NEW |