Index: printing/printing_export.h |
diff --git a/printing/printing_export.h b/printing/printing_export.h |
index 2365c0193744649ca0857f8d05efe106e60ede83..fa701416547c1cceffab7f371217a5e7f774e1de 100644 |
--- a/printing/printing_export.h |
+++ b/printing/printing_export.h |
@@ -16,7 +16,11 @@ |
#endif // defined(PRINTING_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(PRINTING_IMPLEMENTATION) |
#define PRINTING_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define PRINTING_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |