summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
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 /win/tclAppInit.c
parent38ebfdf672a37bc2bf1de7f9a0db8ce651c59a5c (diff)
parent7128c54a02b3dda1c0063875a0c7abdbb7794c99 (diff)
downloadtcl-core-compile-uplevel.zip
tcl-core-compile-uplevel.tar.gz
tcl-core-compile-uplevel.tar.bz2
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r--win/tclAppInit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index 339d61e..c293952 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -26,8 +26,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 */
#if defined(STATIC_BUILD)