You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mi...@apache.org on 2020/04/26 18:52:57 UTC

[tomcat-native] 01/02: Incomplete name mangling fix for C++ compilers in tcn_api.h

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git

commit 06297abce69a7c6c7a52755dbb4ff2ce929bf154
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Apr 26 20:45:49 2020 +0200

    Incomplete name mangling fix for C++ compilers in tcn_api.h
---
 native/include/tcn_api.h          | 4 ++++
 xdocs/miscellaneous/changelog.xml | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/native/include/tcn_api.h b/native/include/tcn_api.h
index bacde64..db92c63 100644
--- a/native/include/tcn_api.h
+++ b/native/include/tcn_api.h
@@ -29,6 +29,10 @@
 #endif
 #include <jni.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @file tcn_api.h
  * @brief
diff --git a/xdocs/miscellaneous/changelog.xml b/xdocs/miscellaneous/changelog.xml
index af473b8..fe3077b 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -34,6 +34,13 @@
   This is the Changelog for Tomcat Native 1.2.
   </p>
 </section>
+<section name="Changes in 1.2.25">
+  <changelog>
+    <fix>
+      Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo)
+    </fix>
+  </changelog>
+</section>
 <section name="Changes in 1.2.24">
   <changelog>
     <fix>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org