feather/contrib/depends/patches/polyseed/force-static-mingw.patch
2022-12-21 16:20:39 +01:00

23 lines
740 B
Diff

--- a/include/polyseed.h
+++ b/include/polyseed.h
@@ -93,13 +93,13 @@ Shared/static library definitions
- define POLYSEED_STATIC when linking to the static library
*/
#if defined(_WIN32) || defined(__CYGWIN__)
- #ifdef POLYSEED_SHARED
- #define POLYSEED_API __declspec(dllexport)
- #elif !defined(POLYSEED_STATIC)
- #define POLYSEED_API __declspec(dllimport)
- #else
- #define POLYSEED_API
- #endif
+// #ifdef POLYSEED_SHARED
+// #define POLYSEED_API __declspec(dllexport)
+// #elif !defined(POLYSEED_STATIC)
+// #define POLYSEED_API __declspec(dllimport)
+// #else
+ #define POLYSEED_API
+// #endif
#define POLYSEED_PRIVATE
#else
#ifdef POLYSEED_SHARED