From 39d6f35ca78327ed2c109e30d630e2ea22363cd6 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Sat, 15 Jan 2022 00:34:10 +0800 Subject: [PATCH] (project): support static build. --- src/smtpexports.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/smtpexports.h b/src/smtpexports.h index 0c4919f..cfee5cd 100644 --- a/src/smtpexports.h +++ b/src/smtpexports.h @@ -3,8 +3,10 @@ #ifdef SMTP_BUILD #define SMTP_EXPORT Q_DECL_EXPORT -#else +#elseif SMTP_USE #define SMTP_EXPORT Q_DECL_IMPORT +#else +#define SMTP_EXPORT #endif #endif // SMTPEXPORTS_H