summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-15 08:34:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-15 08:34:13 (GMT)
commit9daf0e2a9975554c4473e2233f05dac5131ff6cf (patch)
treeb4cb8b7cd3d41870b7536f6ea4f8b0fc0c3e49b8 /win
parent7e43689986f927f6c79310adbf63a7064d0ddd22 (diff)
parente7f2a43ec4ace15bc0e3baf0cf965132eee20632 (diff)
downloadtcl-9daf0e2a9975554c4473e2233f05dac5131ff6cf.zip
tcl-9daf0e2a9975554c4473e2233f05dac5131ff6cf.tar.gz
tcl-9daf0e2a9975554c4473e2233f05dac5131ff6cf.tar.bz2
Merge 8.7. Add builds with TCL_UTF_MAX=3 on github
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc3
-rw-r--r--win/rules.vc6
2 files changed, 5 insertions, 4 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 2687e1c..f9014e8 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -52,7 +52,7 @@
# turn on the 64-bit compiler, if your SDK has it.
#
# Basic macros and options usable on the commandline (see rules.vc for more info):
-# OPTS=nomsvcrt,noembed,nothreads,pdbs,profile,static,symbols,thrdalloc,unchecked,none
+# OPTS=nomsvcrt,noembed,nothreads,pdbs,profile,static,symbols,thrdalloc,unchecked,utf16,none
# Sets special options for the core. The default is for none.
# Any combination of the above may be used (comma separated).
# 'none' will over-ride everything to nothing.
@@ -78,6 +78,7 @@
# unchecked = Allows a symbols build to not use the debug
# enabled runtime (msvcrt.dll not msvcrtd.dll
# or libcmt.lib not libcmtd.lib).
+# utf16 = Forces a build using UTF-16 representation internally.
#
# STATS=compdbg,memdbg,none
# Sets optional memory and bytecode compiler debugging code added
diff --git a/win/rules.vc b/win/rules.vc
index 372d70a..713e7f9 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -884,9 +884,9 @@ USE_THREAD_ALLOC= 0
_USE_64BIT_TIME_T = 1
!endif
-!if [nmakehlp -f $(OPTS) "utfmax"]
-!message *** Force allowing 4-byte UTF-8 sequences internally
-TCL_UTF_MAX = 4
+!if [nmakehlp -f $(OPTS) "utf16"]
+!message *** Force UTF-16 internally
+TCL_UTF_MAX = 3
!endif
!endif