123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef CLANG_C_PLATFORM_H
- #define CLANG_C_PLATFORM_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifdef _MSC_VER
- #ifdef _CINDEX_LIB_
- #define CINDEX_LINKAGE __declspec(dllexport)
- #else
- #define CINDEX_LINKAGE __declspec(dllimport)
- #endif
- #else
- #define CINDEX_LINKAGE
- #endif
- #ifdef __GNUC__
- #define CINDEX_DEPRECATED __attribute__((deprecated))
- #else
- #ifdef _MSC_VER
- #define CINDEX_DEPRECATED __declspec(deprecated)
- #else
- #define CINDEX_DEPRECATED
- #endif
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|