generatorrunnermacros.h | generatorrunnermacros.h | |||
---|---|---|---|---|
skipping to change at line 28 | skipping to change at line 28 | |||
* along with this program; if not, write to the Free Software | * along with this program; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |||
* 02110-1301 USA | * 02110-1301 USA | |||
* | * | |||
*/ | */ | |||
#ifndef GENERATORRUNNERMACROS_H | #ifndef GENERATORRUNNERMACROS_H | |||
#define GENERATORRUNNERMACROS_H | #define GENERATORRUNNERMACROS_H | |||
// GENRUNNER_API is used for the public API symbols. | // GENRUNNER_API is used for the public API symbols. | |||
#if defined _WIN32 || defined __CYGWIN__ | #if defined _WIN32 | |||
#define GENRUNNER_EXPORT __declspec(dllexport) | #define GENRUNNER_EXPORT __declspec(dllexport) | |||
#if GENRUNNER_EXPORTS | #if GENRUNNER_EXPORTS | |||
#define GENRUNNER_API GENRUNNER_EXPORT | #define GENRUNNER_API GENRUNNER_EXPORT | |||
#endif | #endif | |||
#elif __GNUC__ >= 4 | #elif __GNUC__ >= 4 | |||
#define GENRUNNER_EXPORT __attribute__ ((visibility("default"))) | #define GENRUNNER_EXPORT __attribute__ ((visibility("default"))) | |||
#define GENRUNNER_API GENRUNNER_EXPORT | #define GENRUNNER_API GENRUNNER_EXPORT | |||
#endif | #endif | |||
#ifndef GENRUNNER_API | #ifndef GENRUNNER_API | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||