1 | |
2 | #ifndef GRANTLEE_GUI_EXPORT_H |
3 | #define GRANTLEE_GUI_EXPORT_H |
4 | |
5 | #ifdef GRANTLEE_GUI_STATIC_DEFINE |
6 | # define GRANTLEE_GUI_EXPORT |
7 | # define GRANTLEE_GUI_NO_EXPORT |
8 | #else |
9 | # ifndef GRANTLEE_GUI_EXPORT |
10 | # ifdef grantlee_gui_EXPORTS |
11 | /* We are building this library */ |
12 | # define GRANTLEE_GUI_EXPORT __attribute__((visibility("default"))) |
13 | # else |
14 | /* We are using this library */ |
15 | # define GRANTLEE_GUI_EXPORT __attribute__((visibility("default"))) |
16 | # endif |
17 | # endif |
18 | |
19 | # ifndef GRANTLEE_GUI_NO_EXPORT |
20 | # define GRANTLEE_GUI_NO_EXPORT __attribute__((visibility("hidden"))) |
21 | # endif |
22 | #endif |
23 | |
24 | #ifndef GRANTLEE_GUI_DEPRECATED |
25 | # define GRANTLEE_GUI_DEPRECATED __attribute__ ((__deprecated__)) |
26 | # define GRANTLEE_GUI_DEPRECATED_EXPORT GRANTLEE_GUI_EXPORT __attribute__ ((__deprecated__)) |
27 | # define GRANTLEE_GUI_DEPRECATED_NO_EXPORT GRANTLEE_GUI_NO_EXPORT __attribute__ ((__deprecated__)) |
28 | #endif |
29 | |
30 | #define DEFINE_NO_DEPRECATED 0 |
31 | #if DEFINE_NO_DEPRECATED |
32 | # define GRANTLEE_GUI_NO_DEPRECATED |
33 | #endif |
34 | |
35 | #endif |
36 | |