Files
libreoffice/external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0

12 lines
384 B
Plaintext
Raw Normal View History

--- 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