summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-02-10 21:13:56 +0100
committerjan iversen <jani@libreoffice.org>2017-02-16 13:00:24 +0000
commitdd18f8ae55901ca400cf99a804fda46e266588f1 (patch)
tree78b3130411a398c419a7be01dd8896f0184900e4 /include/LibreOfficeKit
parent55519a18be63be5a6ce955784f0d326fc6cabf9d (diff)
ios update to make TiledLibreOffice compile/link
changes needed to make TiledLibreOffice compile/link for ios-simulator. Remark: autogen.input need to have --disable-pdfium due to a missing <Carbon/Carbon.h> Change-Id: I3e1af26d99c35c3c552510f28e13a7e530fca09f Reviewed-on: https://gerrit.libreoffice.org/34145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@libreoffice.org>
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitInit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index 322ba8be9e4b..f4ab9cdf2082 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -42,7 +42,10 @@ extern "C"
#endif
#define SEPARATOR '/'
- inline void *lok_loadlib(const char *pFN)
+#ifndef __OBJC__
+ inline
+#endif
+ void *lok_loadlib(const char *pFN)
{
return dlopen(pFN, RTLD_LAZY
#if defined LOK_LOADLIB_GLOBAL