summaryrefslogtreecommitdiff
path: root/external/cppunit/CPPUNIT_PLUGIN_EXPORT.patch.0
blob: a764be95a895e99480e5b6e1fbf3a8d8df1ada87 (plain)
1
2
3
4
5
6
7
8
9
10
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