diff --git a/protocols/xmpp/FacebookMain.cpp b/protocols/xmpp/FacebookMain.cpp index d168f97..3e8492c 100644 --- a/protocols/xmpp/FacebookMain.cpp +++ b/protocols/xmpp/FacebookMain.cpp @@ -6,11 +6,14 @@ * Pier Luigi Fiorini, pierluigi.fiorini@gmail.com */ +#include + #include "FacebookProtocol.h" -extern "C" __declspec(dllexport) CayaProtocol* protocol(); -extern "C" __declspec(dllexport) const char* signature(); -extern "C" __declspec(dllexport) const char* friendly_signature(); +extern "C" _EXPORT CayaProtocol* protocol(); +extern "C" _EXPORT const char* signature(); +extern "C" _EXPORT const char* friendly_signature(); + CayaProtocol* protocol() diff --git a/protocols/xmpp/GoogleTalkMain.cpp b/protocols/xmpp/GoogleTalkMain.cpp index 773d9af..bcf5bd7 100644 --- a/protocols/xmpp/GoogleTalkMain.cpp +++ b/protocols/xmpp/GoogleTalkMain.cpp @@ -6,11 +6,14 @@ * Pier Luigi Fiorini, pierluigi.fiorini@gmail.com */ +#include + #include "GoogleTalkProtocol.h" -extern "C" __declspec(dllexport) CayaProtocol* protocol(); -extern "C" __declspec(dllexport) const char* signature(); -extern "C" __declspec(dllexport) const char* friendly_signature(); +extern "C" _EXPORT CayaProtocol* protocol(); +extern "C" _EXPORT const char* signature(); +extern "C" _EXPORT const char* friendly_signature(); + CayaProtocol* protocol() diff --git a/protocols/xmpp/JabberMain.cpp b/protocols/xmpp/JabberMain.cpp index 61abfc8..7a4231a 100644 --- a/protocols/xmpp/JabberMain.cpp +++ b/protocols/xmpp/JabberMain.cpp @@ -6,11 +6,14 @@ * Pier Luigi Fiorini, pierluigi.fiorini@gmail.com */ +#include + #include "JabberProtocol.h" -extern "C" __declspec(dllexport) CayaProtocol* protocol(); -extern "C" __declspec(dllexport) const char* signature(); -extern "C" __declspec(dllexport) const char* friendly_signature(); +extern "C" _EXPORT CayaProtocol* protocol(); +extern "C" _EXPORT const char* signature(); +extern "C" _EXPORT const char* friendly_signature(); + CayaProtocol* protocol()