Debian Codegraph @

contrib/depends/patches/polyseed/force-static-mingw.patch

raw
1 --- a/include/polyseed.h
2 +++ b/include/polyseed.h
3 @@ -93,13 +93,13 @@ Shared/static library definitions
4 - define POLYSEED_STATIC when linking to the static library
5 */
6 #if defined(_WIN32) || defined(__CYGWIN__)
7 - #ifdef POLYSEED_SHARED
8 - #define POLYSEED_API __declspec(dllexport)
9 - #elif !defined(POLYSEED_STATIC)
10 - #define POLYSEED_API __declspec(dllimport)
11 - #else
12 - #define POLYSEED_API
13 - #endif
14 +// #ifdef POLYSEED_SHARED
15 +// #define POLYSEED_API __declspec(dllexport)
16 +// #elif !defined(POLYSEED_STATIC)
17 +// #define POLYSEED_API __declspec(dllimport)
18 +// #else
19 + #define POLYSEED_API
20 +// #endif
21 #define POLYSEED_PRIVATE
22 #else
23 #ifdef POLYSEED_SHARED