Using _EXPORT instead of __declspec(dllexport), fixes warning.

This commit is contained in:
plfiorini 2010-05-30 18:46:16 +00:00
parent 5cf1ffadfb
commit 068cd849ae
3 changed files with 18 additions and 9 deletions

View File

@ -6,11 +6,14 @@
* Pier Luigi Fiorini, pierluigi.fiorini@gmail.com * Pier Luigi Fiorini, pierluigi.fiorini@gmail.com
*/ */
#include <BeBuild.h>
#include "FacebookProtocol.h" #include "FacebookProtocol.h"
extern "C" __declspec(dllexport) CayaProtocol* protocol(); extern "C" _EXPORT CayaProtocol* protocol();
extern "C" __declspec(dllexport) const char* signature(); extern "C" _EXPORT const char* signature();
extern "C" __declspec(dllexport) const char* friendly_signature(); extern "C" _EXPORT const char* friendly_signature();
CayaProtocol* CayaProtocol*
protocol() protocol()

View File

@ -6,11 +6,14 @@
* Pier Luigi Fiorini, pierluigi.fiorini@gmail.com * Pier Luigi Fiorini, pierluigi.fiorini@gmail.com
*/ */
#include <BeBuild.h>
#include "GoogleTalkProtocol.h" #include "GoogleTalkProtocol.h"
extern "C" __declspec(dllexport) CayaProtocol* protocol(); extern "C" _EXPORT CayaProtocol* protocol();
extern "C" __declspec(dllexport) const char* signature(); extern "C" _EXPORT const char* signature();
extern "C" __declspec(dllexport) const char* friendly_signature(); extern "C" _EXPORT const char* friendly_signature();
CayaProtocol* CayaProtocol*
protocol() protocol()

View File

@ -6,11 +6,14 @@
* Pier Luigi Fiorini, pierluigi.fiorini@gmail.com * Pier Luigi Fiorini, pierluigi.fiorini@gmail.com
*/ */
#include <BeBuild.h>
#include "JabberProtocol.h" #include "JabberProtocol.h"
extern "C" __declspec(dllexport) CayaProtocol* protocol(); extern "C" _EXPORT CayaProtocol* protocol();
extern "C" __declspec(dllexport) const char* signature(); extern "C" _EXPORT const char* signature();
extern "C" __declspec(dllexport) const char* friendly_signature(); extern "C" _EXPORT const char* friendly_signature();
CayaProtocol* CayaProtocol*
protocol() protocol()