summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit
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 /include/LibreOfficeKit
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 'include/LibreOfficeKit')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitInit.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index d19aa0fae9ef..ce8daaf28892 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -43,7 +43,7 @@ extern "C"
#define SEPARATOR '/'
#ifndef __OBJC__
-#ifdef __cplusplus
+#ifndef IOS_SWIFTCBRIDGE
inline
#endif
#endif
@@ -57,7 +57,7 @@ extern "C"
}
#ifndef __OBJC__
-#ifdef __cplusplus
+#ifndef IOS_SWIFTCBRIDGE
inline
#endif
#endif
@@ -67,7 +67,7 @@ extern "C"
}
#ifndef __OBJC__
-#ifdef __cplusplus
+#ifndef IOS_SWIFTCBRIDGE
inline
#endif
#endif
@@ -77,7 +77,7 @@ extern "C"
}
#ifndef __OBJC__
-#ifdef __cplusplus
+#ifndef IOS_SWIFTCBRIDGE
inline
#endif
#endif
@@ -87,7 +87,7 @@ extern "C"
}
#ifndef __OBJC__
-#ifdef __cplusplus
+#ifndef IOS_SWIFTCBRIDGE
inline
#endif
#endif