summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-03-20 15:38:39 +0100
committerjan Iversen <jani@libreoffice.org>2017-03-20 15:38:39 +0100
commit028ef4748e53aa8f72c6464ce6bbeeb28c61d30c (patch)
treec61aa198e3ceb7e5dd86c332fa70739f0b16a9ae /ios
parente5d8be3271eeb806bde0f1d5ecdb53256284e555 (diff)
LibreOfficeKitInit.h modified to avoid ODR.
As discussed in IRC, the prev. version would cause an ODR the use of _cplusplus have been changed to IOS_SWIFTCBRIDGE Change-Id: If18610858cb56780347bb28f909619db4aac85b0
Diffstat (limited to 'ios')
-rwxr-xr-xios/experimental/LibreOfficeLight/LibreOfficeLight/lokit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLight/lokit.c b/ios/experimental/LibreOfficeLight/LibreOfficeLight/lokit.c
index 748c601f268e..539713d95160 100755
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLight/lokit.c
+++ b/ios/experimental/LibreOfficeLight/LibreOfficeLight/lokit.c
@@ -7,7 +7,9 @@
//
#include <stdio.h>
#define LOK_USE_UNSTABLE_API
+#define IOS_SWIFTCBRIDGE
#include <LibreOfficeKit/LibreOfficeKitInit.h>
+#undef IOS_SWIFTCBRIDGE
// pointers to our instance
static LibreOfficeKit* kit;