We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f7d26 commit be6a1eaCopy full SHA for be6a1ea
source/plutosvg.h
@@ -25,7 +25,10 @@
25
26
#include <plutovg.h>
27
28
-#if !defined(PLUTOSVG_BUILD_STATIC) && (defined(_WIN32) || defined(__CYGWIN__))
+#if defined(PLUTOSVG_BUILD_STATIC)
29
+#define PLUTOSVG_EXPORT
30
+#define PLUTOSVG_IMPORT
31
+#elif (defined(_WIN32) || defined(__CYGWIN__))
32
#define PLUTOSVG_EXPORT __declspec(dllexport)
33
#define PLUTOSVG_IMPORT __declspec(dllimport)
34
#elif defined(__GNUC__) && (__GNUC__ >= 4)
0 commit comments