Ensure that 'ztk' will build a working DLL when built with MSVC
This commit is contained in:
@@ -11,4 +11,8 @@
|
|||||||
#define VERSION "2.14.0"
|
#define VERSION "2.14.0"
|
||||||
|
|
||||||
/* defines how to decorate public symbols while building */
|
/* defines how to decorate public symbols while building */
|
||||||
/* #undef _ATK_EXTERN */
|
#ifdef _MSC_VER
|
||||||
|
#define _ATK_EXTERN __declspec (dllexport) extern
|
||||||
|
#else
|
||||||
|
#define _ATK_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user