From 657a5164e9a5b012487cafda6d95a6212a839d10 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 25 May 2015 17:07:47 +0200 Subject: [PATCH] Fix servatrice compilation with msvc --- servatrice/src/smtp/smtpexports.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/servatrice/src/smtp/smtpexports.h b/servatrice/src/smtp/smtpexports.h index 0c4919f3..c9234be5 100644 --- a/servatrice/src/smtp/smtpexports.h +++ b/servatrice/src/smtp/smtpexports.h @@ -1,10 +1,15 @@ #ifndef SMTPEXPORTS_H #define SMTPEXPORTS_H +/* #ifdef SMTP_BUILD #define SMTP_EXPORT Q_DECL_EXPORT #else #define SMTP_EXPORT Q_DECL_IMPORT #endif +*/ + +// Servatrice compiles this statically in, so there's no need to declare exports +#define SMTP_EXPORT #endif // SMTPEXPORTS_H