summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2018-01-12 14:03:55 +0100
committerjan Iversen <jani@libreoffice.org>2018-01-12 14:05:13 +0100
commit2a80ce62d373d734db26741858b4bee1c3994564 (patch)
treedf839c3909098ebbc0d89fc4f6d1b1200933675b /include/LibreOfficeKit
parente25d7cc9052cddbaed24cea8a2ea88d8d785d083 (diff)
Repair windows build break.
Forgot to isolate extern declaration, mac/linux had no problem, but windows breaks. Change-Id: Ib09119661225193d9cfb1cd9118b78cf7d9bd2f4
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitInit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index f33a9868cf26..69316f524130 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -244,8 +244,10 @@ typedef LibreOfficeKit *(LokHookFunction2)( const char *install_path, const char
typedef int (LokHookPreInit) ( const char *install_path, const char *user_profile_url );
+#if defined(IOS)
extern __attribute__ ((visibility("default")))
LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const char* user_profile_path);
+#endif
static LibreOfficeKit *lok_init_2( const char *install_path, const char *user_profile_url )
{