summaryrefslogtreecommitdiff
path: root/fixincludes/tests/base/complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'fixincludes/tests/base/complex.h')
-rw-r--r--fixincludes/tests/base/complex.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fixincludes/tests/base/complex.h b/fixincludes/tests/base/complex.h
index 9a54e8c0bda..b3fe27aca2e 100644
--- a/fixincludes/tests/base/complex.h
+++ b/fixincludes/tests/base/complex.h
@@ -33,3 +33,13 @@
#undef I
#define I _Complex_I
#endif /* SOLARIS_COMPLEX_CHECK */
+
+
+#if defined( SOLARIS_COMPLEX_CXX_CHECK )
+#ifdef __cplusplus
+extern "C" {
+#endif
+#ifdef __cplusplus
+}
+#endif
+#endif /* SOLARIS_COMPLEX_CXX_CHECK */