1
0
Fork 0
libreoffice/external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

11 lines
384 B
Text

--- include/cppunit/plugin/TestPlugIn.h
+++ include/cppunit/plugin/TestPlugIn.h
@@ -111,7 +111,7 @@
/*! \brief Type of the function exported by a plug-in.
* \ingroup WritingTestPlugIn
*/
-typedef CppUnitTestPlugIn *(*TestPlugInSignature)();
+extern "C" { typedef CppUnitTestPlugIn *(*TestPlugInSignature)(); }
/*! \brief Implements the function exported by the test plug-in