mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
c: Add support for TAGLIB_STATIC to the C bindings
Otherwise, we'll fail with dllimport/dllexport linking errors on Windows.
This commit is contained in:
parent
8329d6ac1a
commit
d52e97dfcd
@ -29,7 +29,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#if defined(TAGLIB_STATIC)
|
||||
#define TAGLIB_C_EXPORT
|
||||
#elif defined(_WIN32) || defined(_WIN64)
|
||||
#ifdef MAKE_TAGLIB_C_LIB
|
||||
#define TAGLIB_C_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user