diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-24 11:20:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-24 11:20:02 (GMT) |
commit | 4cf671c58ed9eaf1c54eacf3b4851e383f45dbd9 (patch) | |
tree | 3b77bbfb0e57a5393bee2b0766ef796387a483ec | |
parent | 1d1739360c1e1f2f4b336f39fb461a4c4b6d27c3 (diff) | |
parent | 9a6255f6d57a73c34ec3aea41639481211b40440 (diff) | |
download | tcl-4cf671c58ed9eaf1c54eacf3b4851e383f45dbd9.zip tcl-4cf671c58ed9eaf1c54eacf3b4851e383f45dbd9.tar.gz tcl-4cf671c58ed9eaf1c54eacf3b4851e383f45dbd9.tar.bz2 |
Fix static build on MSVC
-rw-r--r-- | generic/tclZlib.c | 2 | ||||
-rw-r--r-- | win/makefile.vc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c index 58be086..d59dbde 100644 --- a/generic/tclZlib.c +++ b/generic/tclZlib.c @@ -16,7 +16,7 @@ #include "tclInt.h" #ifdef HAVE_ZLIB -#include <zlib.h> +#include "zlib.h" #include "tclIO.h" /* diff --git a/win/makefile.vc b/win/makefile.vc index 8c64c8a..8616d95 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -889,7 +889,7 @@ $(TMP_DIR)\tclUuid.h: $(ROOT)\manifest.uuid copy $(WIN_DIR)\tclUuid.h.in+$(ROOT)\manifest.uuid $(TMP_DIR)\tclUuid.h
$(TMP_DIR)\tclEvent.obj: $(GENERICDIR)\tclEvent.c $(TMP_DIR)\tclUuid.h
- $(cc32) $(pkgcflags) -I$(TMP_DIR) \
+ $(cc32) $(pkgcflags) -I$(COMPATDIR)\zlib -I$(TMP_DIR) \
-Fo$@ $(GENERICDIR)\tclEvent.c
$(TMP_DIR)\tclTest.obj: $(GENERICDIR)\tclTest.c $(TMP_DIR)\tclUuid.h
|