1 | #ifndef THRIFT_EXPORT_H |
---|---|
2 | #define THRIFT_EXPORT_H |
3 | |
4 | #ifdef THRIFT_STATIC_DEFINE |
5 | # define THRIFT_EXPORT |
6 | #elif defined(_MSC_VER ) |
7 | # ifndef THRIFT_EXPORT |
8 | # ifdef thrift_EXPORTS |
9 | /* We are building this library */ |
10 | # define THRIFT_EXPORT __declspec(dllexport) |
11 | # else |
12 | /* We are using this library */ |
13 | # define THRIFT_EXPORT __declspec(dllimport) |
14 | # endif |
15 | # endif |
16 | #else |
17 | # define THRIFT_EXPORT |
18 | #endif |
19 | |
20 | #endif /* THRIFT_EXPORT_H */ |
21 |