diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-15 21:37:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-15 21:37:09 (GMT) |
commit | 0a6f1e351d4d49a2886153bf5fb4268175b5bb8a (patch) | |
tree | 874aaa6dd00505394bcfe23374031b2f7321845a /generic/tclZipfs.c | |
parent | 16105b98334db5910809fd5ead357bafe92bc6fe (diff) | |
download | tcl-0a6f1e351d4d49a2886153bf5fb4268175b5bb8a.zip tcl-0a6f1e351d4d49a2886153bf5fb4268175b5bb8a.tar.gz tcl-0a6f1e351d4d49a2886153bf5fb4268175b5bb8a.tar.bz2 |
Make tclZipfs.c compilable with a C++ compiler
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r-- | generic/tclZipfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c index c1ba395..c77e8db 100644 --- a/generic/tclZipfs.c +++ b/generic/tclZipfs.c @@ -3913,7 +3913,7 @@ TclZipfs_TclLibrary(void) } #elif !defined(NO_DLFCN_H) Dl_info dlinfo; - if (dladdr(TclZipfs_TclLibrary, &dlinfo) && (dlinfo.dli_fname != NULL) + if (dladdr((const void *)TclZipfs_TclLibrary, &dlinfo) && (dlinfo.dli_fname != NULL) && (ZipfsAppHookFindTclInit(dlinfo.dli_fname) == TCL_OK)) { return Tcl_NewStringObj(zipfs_literal_tcl_library, -1); } |