From f3b81a98544f960c966b75dadceb1096d01ebcd3 Mon Sep 17 00:00:00 2001 From: apnadkarni Date: Tue, 9 Aug 2022 16:07:24 +0000 Subject: Fix Windows Visual C++ build --- generic/tcl.h | 2 +- win/makefile.vc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/generic/tcl.h b/generic/tcl.h index 1fd694a..e867517 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -865,7 +865,7 @@ static inline void* Tcl_AbstractListGetTypeRep( /* Enforce type checking on supplied function pointers while isolating * internal struct details */ -int Tcl_AbstractListSetProc(Tcl_Obj *objPtr, Tcl_AbstractListProcType ptype, void *proc); +EXTERN int Tcl_AbstractListSetProc(Tcl_Obj *objPtr, Tcl_AbstractListProcType ptype, void *proc); static inline int Tcl_SetAbstractListNewProc(Tcl_Obj *objPtr, Tcl_ALNewObjProc *proc) { diff --git a/win/makefile.vc b/win/makefile.vc index 7c61580..a1b2e77 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -237,6 +237,7 @@ COREOBJS = \ $(TMP_DIR)\regerror.obj \ $(TMP_DIR)\regexec.obj \ $(TMP_DIR)\regfree.obj \ + $(TMP_DIR)\tclAbstractList.obj \ $(TMP_DIR)\tclAlloc.obj \ $(TMP_DIR)\tclAssembly.obj \ $(TMP_DIR)\tclAsync.obj \ -- cgit v0.12