summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-23 13:30:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-23 13:30:01 (GMT)
commit5c8ce61f7963bdd41e0d7c9d18a7b4e5f918eb35 (patch)
treef6bba9b64f34a1b2b941103e05773ffe545c1e91 /generic/tclZipfs.c
parent06ea55d820a91810fe57afda632449d0bca2fe52 (diff)
parent4723df2a35ce7e7a2d460213d01c361be26a1772 (diff)
downloadtcl-5c8ce61f7963bdd41e0d7c9d18a7b4e5f918eb35.zip
tcl-5c8ce61f7963bdd41e0d7c9d18a7b4e5f918eb35.tar.gz
tcl-5c8ce61f7963bdd41e0d7c9d18a7b4e5f918eb35.tar.bz2
Merge 8.6. Fix Cygwin compile
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r--generic/tclZipfs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c
index 4c668b0..b45bdfe 100644
--- a/generic/tclZipfs.c
+++ b/generic/tclZipfs.c
@@ -3104,16 +3104,13 @@ ZipFSListObjCmd(
*-------------------------------------------------------------------------
*/
-#ifdef _WIN32
-#define LIBRARY_SIZE 64
-#endif /* _WIN32 */
-
Tcl_Obj *
TclZipfs_TclLibrary(void)
{
Tcl_Obj *vfsInitScript;
int found;
#if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(STATIC_BUILD)
+# define LIBRARY_SIZE 64
HMODULE hModule;
WCHAR wName[MAX_PATH + LIBRARY_SIZE];
char dllName[(MAX_PATH + LIBRARY_SIZE) * 3];