diff options
Diffstat (limited to 'sql/sql_export.h')
-rw-r--r-- | sql/sql_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_export.h b/sql/sql_export.h index 92a01cb..f0b1ead 100644 --- a/sql/sql_export.h +++ b/sql/sql_export.h @@ -16,7 +16,11 @@ #endif // defined(SQL_IMPLEMENTATION) #else // defined(WIN32) +#if defined(SQL_IMPLEMENTATION) #define SQL_EXPORT __attribute__((visibility("default"))) +#else +#define SQL_EXPORT +#endif #endif #else // defined(COMPONENT_BUILD) |