diff options
author | jan Iversen <jani@libreoffice.org> | 2017-03-20 15:38:39 +0100 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2017-03-20 15:38:39 +0100 |
commit | 028ef4748e53aa8f72c6464ce6bbeeb28c61d30c (patch) | |
tree | c61aa198e3ceb7e5dd86c332fa70739f0b16a9ae /ios | |
parent | e5d8be3271eeb806bde0f1d5ecdb53256284e555 (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-x | ios/experimental/LibreOfficeLight/LibreOfficeLight/lokit.c | 2 |
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; |