summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-07-08 12:17:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-07-08 12:17:30 (GMT)
commit3d82d5537cefbd3ebde9c2b10a06bcd25b968412 (patch)
treebdd0eeb99d7aa40024cd3093bc6b8ded2fa53984
parent5175765beb64d6ee5ddfb606b3855520e3b7e0b0 (diff)
downloadtcl-3d82d5537cefbd3ebde9c2b10a06bcd25b968412.zip
tcl-3d82d5537cefbd3ebde9c2b10a06bcd25b968412.tar.gz
tcl-3d82d5537cefbd3ebde9c2b10a06bcd25b968412.tar.bz2
Add \DUSE_NMAKE=1 to C-flags when nmake is used
-rw-r--r--win/rules.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index c24fce3..8a91b58 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -1344,7 +1344,7 @@ INCLUDE_INSTALL_DIR = $(_INSTALLDIR)\..\include
# baselibs - minimum Windows libraries required. Parent makefile can
# define PRJ_LIBS before including rules.rc if additional libs are needed
-OPTDEFINES = /DSTDC_HEADERS
+OPTDEFINES = /DSTDC_HEADERS /DUSE_NMAKE=1
!if $(VCVERSION) > 1600
OPTDEFINES = $(OPTDEFINES) /DHAVE_STDINT_H=1
!else