From 76ba3b557d375e15e5c5013bc3804133f2017268 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 9 Aug 2015 18:17:10 +0200 Subject: [PATCH] Fix compilation of servatrice with mdvc Should fix #1336 --- servatrice/src/smtp/qxtglobal.h | 1 + servatrice/src/smtp/qxtmailattachment.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/servatrice/src/smtp/qxtglobal.h b/servatrice/src/smtp/qxtglobal.h index a5744d88..51d374a7 100644 --- a/servatrice/src/smtp/qxtglobal.h +++ b/servatrice/src/smtp/qxtglobal.h @@ -30,6 +30,7 @@ #define QXT_VERSION 0x000602 #define QXT_VERSION_STR "0.6.2" +#define QXT_STATIC //--------------------------global macros------------------------------ diff --git a/servatrice/src/smtp/qxtmailattachment.h b/servatrice/src/smtp/qxtmailattachment.h index 8084bbec..23955ff9 100644 --- a/servatrice/src/smtp/qxtmailattachment.h +++ b/servatrice/src/smtp/qxtmailattachment.h @@ -34,7 +34,7 @@ #include #include -class QxtMailAttachmentPrivate; +struct QxtMailAttachmentPrivate; class QXT_NETWORK_EXPORT QxtMailAttachment { public: