<fix>(project): support static build.

This commit is contained in:
Saturneric 2022-01-15 00:34:10 +08:00
parent 3fa4a0fe57
commit 39d6f35ca7
No known key found for this signature in database
GPG Key ID: 3A503919AFFA485F

View File

@ -3,8 +3,10 @@
#ifdef SMTP_BUILD #ifdef SMTP_BUILD
#define SMTP_EXPORT Q_DECL_EXPORT #define SMTP_EXPORT Q_DECL_EXPORT
#else #elseif SMTP_USE
#define SMTP_EXPORT Q_DECL_IMPORT #define SMTP_EXPORT Q_DECL_IMPORT
#else
#define SMTP_EXPORT
#endif #endif
#endif // SMTPEXPORTS_H #endif // SMTPEXPORTS_H