mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:07:55 +08:00
16 lines
313 B
Diff
16 lines
313 B
Diff
|
diff --git a/src/cairoint.h b/src/cairoint.h
|
||
|
index 4fedf86..dfa149e 100644
|
||
|
--- a/src/cairoint.h
|
||
|
+++ b/src/cairoint.h
|
||
|
@@ -50,7 +50,9 @@
|
||
|
#include "config.h"
|
||
|
#endif
|
||
|
|
||
|
-#ifdef _MSC_VER
|
||
|
+#if defined _MSC_VER && defined cairo_EXPORTS
|
||
|
#define cairo_public __declspec(dllexport)
|
||
|
+#else
|
||
|
+#define cairo_public
|
||
|
#endif
|
||
|
|