From a53a87a3eb482180950c93dd890cf3278afd5fa9 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Thu, 8 Oct 2020 15:58:29 +0200 Subject: [PATCH] Export the WordList functions Now that they are used from gui/ they need to be properly exported so that linking doesn't fail when visibility is activated (only on our Windows build it seems). Signed-off-by: Kevin Ottens --- src/libsync/wordlist.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libsync/wordlist.h b/src/libsync/wordlist.h index b8891640b..6e11787ca 100644 --- a/src/libsync/wordlist.h +++ b/src/libsync/wordlist.h @@ -4,10 +4,12 @@ #include #include +#include "owncloudlib.h" + namespace OCC { namespace WordList { - QStringList getRandomWords(int nr); - QString getUnifiedString(const QStringList& l); + OWNCLOUDSYNC_EXPORT QStringList getRandomWords(int nr); + OWNCLOUDSYNC_EXPORT QString getUnifiedString(const QStringList& l); } } -- 2.30.2