apiextractormacros.h | apiextractormacros.h | |||
---|---|---|---|---|
#ifndef APIEXTRACTORMACROS_H | #ifndef APIEXTRACTORMACROS_H | |||
#define APIEXTRACTORMACROS_H | #define APIEXTRACTORMACROS_H | |||
// APIEXTRACTOR_API is used for the public API symbols. | // APIEXTRACTOR_API is used for the public API symbols. | |||
#if defined _WIN32 || defined __CYGWIN__ | #if defined _WIN32 | |||
#if APIEXTRACTOR_EXPORTS | #if APIEXTRACTOR_EXPORTS | |||
#define APIEXTRACTOR_API __declspec(dllexport) | #define APIEXTRACTOR_API __declspec(dllexport) | |||
#else | #else | |||
#define APIEXTRACTOR_API | #define APIEXTRACTOR_API | |||
#endif | #endif | |||
#define APIEXTRACTOR_DEPRECATED(func) __declspec(deprecated) func | #define APIEXTRACTOR_DEPRECATED(func) __declspec(deprecated) func | |||
#elif __GNUC__ >= 4 | #elif __GNUC__ >= 4 | |||
#define APIEXTRACTOR_API __attribute__ ((visibility("default"))) | #define APIEXTRACTOR_API __attribute__ ((visibility("default"))) | |||
#define APIEXTRACTOR_DEPRECATED(func) func __attribute__ ((deprecated)) | #define APIEXTRACTOR_DEPRECATED(func) func __attribute__ ((deprecated)) | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||