summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-02 21:40:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-02 21:40:45 (GMT)
commit3d55f5f6f09821cbdc9fd75500904b5864d0ba02 (patch)
tree31a2226a3cb9787ee33bd2831424140c4d211525 /win/rules.vc
parent2c327304a1fe9e05367e2845d7a53d7807325473 (diff)
parent67e037520d52c273bf697c5eb14217f675da6ba9 (diff)
downloadtcl-3d55f5f6f09821cbdc9fd75500904b5864d0ba02.zip
tcl-3d55f5f6f09821cbdc9fd75500904b5864d0ba02.tar.gz
tcl-3d55f5f6f09821cbdc9fd75500904b5864d0ba02.tar.bz2
Merge 8.7
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc17
1 files changed, 0 insertions, 17 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 8d0793c..f8e7173 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -1326,23 +1326,6 @@ OPTDEFINES = $(OPTDEFINES) /DTCL_UTF_MAX=4
# _ATL_XP_TARGETING - Newer SDK's need this to build for XP
COMPILERFLAGS = /D_ATL_XP_TARGETING
-# Following is primarily for the benefit of extensions. Tcl 8.5 builds
-# Tcl without /DUNICODE, while 8.6 builds with it defined. When building
-# an extension, it is advisable (but not mandated) to use the same Windows
-# API as the Tcl build. This is accordingly defaulted below. A particular
-# extension can override this by pre-definining USE_WIDECHAR_API.
-!ifndef USE_WIDECHAR_API
-!if $(TCL_VERSION) > 85
-USE_WIDECHAR_API = 1
-!else
-USE_WIDECHAR_API = 0
-!endif
-!endif
-
-!if $(USE_WIDECHAR_API)
-COMPILERFLAGS = $(COMPILERFLAGS) /DUNICODE /D_UNICODE
-!endif
-
# Like the TEA system only set this non empty for non-Tk extensions
# Note: some extensions use PACKAGE_NAME and others use PACKAGE_TCLNAME
# so we pass both