Skip to content

Commit 335ca95

Browse files
author
jan.nijtmans
committed
Fix static build on MSVC
2 parents 1f45329 + 191efca commit 335ca95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generic/tclZlib.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include "tclInt.h"
1818
#ifdef HAVE_ZLIB
19-
#include <zlib.h>
19+
#include "zlib.h"
2020
#include "tclIO.h"
2121

2222
/*

win/makefile.vc

+1-1
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ $(TMP_DIR)\tclUuid.h: $(ROOT)\manifest.uuid
889889
copy $(WIN_DIR)\tclUuid.h.in+$(ROOT)\manifest.uuid $(TMP_DIR)\tclUuid.h
890890

891891
$(TMP_DIR)\tclEvent.obj: $(GENERICDIR)\tclEvent.c $(TMP_DIR)\tclUuid.h
892-
$(cc32) $(pkgcflags) -I$(TMP_DIR) \
892+
$(cc32) $(pkgcflags) -I$(COMPATDIR)\zlib -I$(TMP_DIR) \
893893
-Fo$@ $(GENERICDIR)\tclEvent.c
894894

895895
$(TMP_DIR)\tclTest.obj: $(GENERICDIR)\tclTest.c $(TMP_DIR)\tclUuid.h

0 commit comments

Comments
 (0)