From d79e44801f43f676ba506eec76a63cadcfd84cb6 Mon Sep 17 00:00:00 2001 From: Thomas Flueeli Date: Thu, 28 Oct 2010 16:02:14 +0200 Subject: [PATCH 5/5] add missing linkage macro to declaration These functions were defined using a different linkage than in its declarations. --- TelepathyQt4/types-internal.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TelepathyQt4/types-internal.h b/TelepathyQt4/types-internal.h index 4d3777f..1c0fc0f 100644 --- a/TelepathyQt4/types-internal.h +++ b/TelepathyQt4/types-internal.h @@ -44,13 +44,13 @@ struct SUSocketAddress uint port; }; -bool operator==(const SUSocketAddress& v1, const SUSocketAddress& v2); +TELEPATHY_QT4_EXPORT bool operator==(const SUSocketAddress& v1, const SUSocketAddress& v2); inline bool operator!=(const SUSocketAddress& v1, const SUSocketAddress& v2) { return !operator==(v1, v2); } -QDBusArgument& operator<<(QDBusArgument& arg, const SUSocketAddress& val); -const QDBusArgument& operator>>(const QDBusArgument& arg, SUSocketAddress& val); +TELEPATHY_QT4_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SUSocketAddress& val); +TELEPATHY_QT4_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SUSocketAddress& val); } // Tp -- 1.7.2.3