| 1 | |
| 2 | #ifndef XCBIMDKIT_EXPORT_H |
| 3 | #define XCBIMDKIT_EXPORT_H |
| 4 | |
| 5 | #ifdef XCBIMDKIT_STATIC_DEFINE |
| 6 | # define XCBIMDKIT_EXPORT |
| 7 | # define XCBIMDKIT_NO_EXPORT |
| 8 | #else |
| 9 | # ifndef XCBIMDKIT_EXPORT |
| 10 | # ifdef xcb_imdkit_EXPORTS |
| 11 | |
| 12 | # define XCBIMDKIT_EXPORT __attribute__((visibility("default"))) |
| 13 | # else |
| 14 | |
| 15 | # define XCBIMDKIT_EXPORT __attribute__((visibility("default"))) |
| 16 | # endif |
| 17 | # endif |
| 18 | |
| 19 | # ifndef XCBIMDKIT_NO_EXPORT |
| 20 | # define XCBIMDKIT_NO_EXPORT __attribute__((visibility("hidden"))) |
| 21 | # endif |
| 22 | #endif |
| 23 | |
| 24 | #ifndef XCBIMDKIT_DEPRECATED |
| 25 | # define XCBIMDKIT_DEPRECATED __attribute__ ((__deprecated__)) |
| 26 | #endif |
| 27 | |
| 28 | #ifndef XCBIMDKIT_DEPRECATED_EXPORT |
| 29 | # define XCBIMDKIT_DEPRECATED_EXPORT XCBIMDKIT_EXPORT XCBIMDKIT_DEPRECATED |
| 30 | #endif |
| 31 | |
| 32 | #ifndef XCBIMDKIT_DEPRECATED_NO_EXPORT |
| 33 | # define XCBIMDKIT_DEPRECATED_NO_EXPORT XCBIMDKIT_NO_EXPORT XCBIMDKIT_DEPRECATED |
| 34 | #endif |
| 35 | |
| 36 | |
| 37 | #if 0 |
| 38 | # ifndef XCBIMDKIT_NO_DEPRECATED |
| 39 | # define XCBIMDKIT_NO_DEPRECATED |
| 40 | # endif |
| 41 | #endif |
| 42 | |
| 43 | #endif |