summaryrefslogtreecommitdiffstats
path: root/external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0
diff options
context:
space:
mode:
Diffstat (limited to 'external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0')
-rw-r--r--external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.011
1 files changed, 11 insertions, 0 deletions
diff --git a/external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0 b/external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0
new file mode 100644
index 000000000..a764be95a
--- /dev/null
+++ b/external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0
@@ -0,0 +1,11 @@
+--- 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