diff options
Diffstat (limited to 'printing/printing_export.h')
-rw-r--r-- | printing/printing_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/printing/printing_export.h b/printing/printing_export.h index 2365c01..fa70141 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) |