mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Ensure that 'ztk' will build a working DLL when built with MSVC
This commit is contained in:
parent
df5f8d48c9
commit
c813ba2b03
1 changed files with 5 additions and 1 deletions
|
|
@ -11,4 +11,8 @@
|
|||
#define VERSION "2.14.0"
|
||||
|
||||
/* 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue