summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2025-06-27 10:50:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2025-06-27 10:50:43 (GMT)
commit3e78f23412a2bd1654ad40c85c4e4398986e8074 (patch)
treee28b55442f93c0291927f79db72e141ef7a41521 /unix
parent38ebfdf672a37bc2bf1de7f9a0db8ce651c59a5c (diff)
parent7128c54a02b3dda1c0063875a0c7abdbb7794c99 (diff)
downloadtcl-core-compile-uplevel.zip
tcl-core-compile-uplevel.tar.gz
tcl-core-compile-uplevel.tar.bz2
Diffstat (limited to 'unix')
-rw-r--r--unix/tclAppInit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index 6158c99..8d967e8 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -24,8 +24,14 @@
#endif
#ifdef TCL_TEST
+#ifdef __cplusplus
+extern "C" {
+#endif
extern Tcl_LibraryInitProc Tcltest_Init;
extern Tcl_LibraryInitProc Tcltest_SafeInit;
+#ifdef __cplusplus
+}
+#endif
#endif /* TCL_TEST */
#ifdef TCL_XT_TEST