summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoneytest.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-03-18 04:07:25 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-03-20 18:51:06 +0100
commit2c0b8b6e8bebf4e8eabc5b0ff4104d4a3d30a608 (patch)
treec1ae92b234dee67c147861379e94442ea9701962 /kmymoney2/kmymoneytest.cpp
parent5ec229a4470f605eca53326853ff246a49e80189 (diff)
downloadkmymoney-2c0b8b6e8bebf4e8eabc5b0ff4104d4a3d30a608.tar.gz
kmymoney-2c0b8b6e8bebf4e8eabc5b0ff4104d4a3d30a608.zip
Fix building with hidden visibility.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 64d92fbade9e54ba8bb334b67ba541cea1f7ae9e)
Diffstat (limited to 'kmymoney2/kmymoneytest.cpp')
-rw-r--r--kmymoney2/kmymoneytest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/kmymoneytest.cpp b/kmymoney2/kmymoneytest.cpp
index 623a390..7d55794 100644
--- a/kmymoney2/kmymoneytest.cpp
+++ b/kmymoney2/kmymoneytest.cpp
@@ -222,11 +222,11 @@ void timetrace(const char *txt)
// these symbols are needed when linking with libofx because it requires
// these global symbols as part of its callback interface
extern "C" {
- void ofx_proc_security_cb() {}
- void ofx_proc_transaction_cb() {}
- void ofx_proc_statement_cb() {}
- void ofx_proc_status_cb() {}
- void ofx_proc_account_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_security_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_transaction_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_statement_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_status_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_account_cb() {}
}
#endif
#endif