summaryrefslogtreecommitdiffstats
path: root/c++/test/ttypes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/ttypes.cpp')
-rw-r--r--c++/test/ttypes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/test/ttypes.cpp b/c++/test/ttypes.cpp
index 299c4e4..4e9faae 100644
--- a/c++/test/ttypes.cpp
+++ b/c++/test/ttypes.cpp
@@ -774,6 +774,9 @@ cerr << "all the way here?" << endl;
** test_types(): Main data types testing routine.
**
****************************************************************/
+#ifdef __cplusplus
+extern "C"
+#endif
void test_types(void)
{
// Output message about test being performed